From f87b0ab247466133ae7a6be7ac72b95462ab2b81 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 25 Jul 2010 21:29:09 +0800 Subject: [PATCH] Added -mno-red-zone --- Makefile.x86_64.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.x86_64.cfg b/Makefile.x86_64.cfg index 3116e74d..0c32d718 100644 --- a/Makefile.x86_64.cfg +++ b/Makefile.x86_64.cfg @@ -3,8 +3,8 @@ CC = x86_64-none-elf-gcc LD = x86_64-none-elf-ld DISASM = x86_64-none-elf-objdump -d -M x86-64 -KERNEL_CFLAGS := -mcmodel=kernel -nostdlib -DYNMOD_CFLAGS := -mcmodel=small -fPIC +KERNEL_CFLAGS := -mcmodel=kernel -nostdlib -mno-red-zone +DYNMOD_CFLAGS := -mcmodel=small -fPIC -mno-red-zone ARCHDIR = x86_64 -- 2.20.1