# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171549020 0
# Node ID 61de36b8be81a30bb10750e1ae6cde585fbc96f6
# Parent 477a3bde3b61d00ea7d5c2111b58322baec24679
Disable GCC stack protector for ROMBIOS.
Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>
---
tools/firmware/rombios/32bit/Makefile | 2 ++
tools/firmware/rombios/32bit/tcgbios/Makefile | 2 ++
2 files changed, 4 insertions(+)
diff -r 477a3bde3b61 -r 61de36b8be81 tools/firmware/rombios/32bit/Makefile
--- a/tools/firmware/rombios/32bit/Makefile Thu Feb 15 14:12:32 2007 +0000
+++ b/tools/firmware/rombios/32bit/Makefile Thu Feb 15 14:17:00 2007 +0000
@@ -9,6 +9,8 @@ TARGET = 32bitbios_flat.h
CFLAGS += -fno-builtin -O2 -msoft-float -nostdlib
CFLAGS += -I../ -DGCC_PROTOS
+CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
+CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
SUBDIRS = tcgbios
diff -r 477a3bde3b61 -r 61de36b8be81
tools/firmware/rombios/32bit/tcgbios/Makefile
--- a/tools/firmware/rombios/32bit/tcgbios/Makefile Thu Feb 15 14:12:32
2007 +0000
+++ b/tools/firmware/rombios/32bit/tcgbios/Makefile Thu Feb 15 14:17:00
2007 +0000
@@ -9,6 +9,8 @@ OBJECTS = $(foreach f,$(FILES),$(f).o)
OBJECTS = $(foreach f,$(FILES),$(f).o)
CFLAGS += -fno-builtin -O2 -msoft-float -nostdlib
+CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
+CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
CFLAGS += -I../ -I../../ -DGCC_PROTOS
.PHONY: all clean
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|