Added -mno-red-zone
authorJohn Hodge <[email protected]>
Sun, 25 Jul 2010 13:29:09 +0000 (21:29 +0800)
committerJohn Hodge <[email protected]>
Sun, 25 Jul 2010 13:29:09 +0000 (21:29 +0800)
Makefile.x86_64.cfg

index 3116e74..0c32d71 100644 (file)
@@ -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
 

UCC git Repository :: git.ucc.asn.au