WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Disable GCC stack protector for ROMBIOS.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Disable GCC stack protector for ROMBIOS.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Feb 2007 12:15:21 -0800
Delivery-date: Fri, 16 Feb 2007 12:15:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Disable GCC stack protector for ROMBIOS., Xen patchbot-unstable <=