ia64/xen-unstable

changeset 13979:61de36b8be81

Disable GCC stack protector for ROMBIOS.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
author kfraser@localhost.localdomain
date Thu Feb 15 14:17:00 2007 +0000 (2007-02-15)
parents 477a3bde3b61
children 236687fb42d7
files tools/firmware/rombios/32bit/Makefile tools/firmware/rombios/32bit/tcgbios/Makefile
line diff
     1.1 --- a/tools/firmware/rombios/32bit/Makefile	Thu Feb 15 14:12:32 2007 +0000
     1.2 +++ b/tools/firmware/rombios/32bit/Makefile	Thu Feb 15 14:17:00 2007 +0000
     1.3 @@ -9,6 +9,8 @@ TARGET = 32bitbios_flat.h
     1.4  
     1.5  CFLAGS += -fno-builtin -O2 -msoft-float -nostdlib
     1.6  CFLAGS += -I../ -DGCC_PROTOS
     1.7 +CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
     1.8 +CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
     1.9  
    1.10  SUBDIRS = tcgbios
    1.11  
     2.1 --- a/tools/firmware/rombios/32bit/tcgbios/Makefile	Thu Feb 15 14:12:32 2007 +0000
     2.2 +++ b/tools/firmware/rombios/32bit/tcgbios/Makefile	Thu Feb 15 14:17:00 2007 +0000
     2.3 @@ -9,6 +9,8 @@ FILES   = tcgbios tpm_drivers
     2.4  OBJECTS = $(foreach f,$(FILES),$(f).o)
     2.5  
     2.6  CFLAGS += -fno-builtin -O2 -msoft-float -nostdlib
     2.7 +CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
     2.8 +CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
     2.9  CFLAGS += -I../ -I../../ -DGCC_PROTOS
    2.10  
    2.11  .PHONY: all clean