From: John Hodge Date: Sun, 25 Jul 2010 13:29:09 +0000 (+0800) Subject: Added -mno-red-zone X-Git-Tag: rel0.06~88 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=f87b0ab247466133ae7a6be7ac72b95462ab2b81;p=tpg%2Facess2.git Added -mno-red-zone --- 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