aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom/Makefile
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-03-31 11:36:11 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-03-31 11:36:11 +0100
commit1ecaba192cef7fbdfb28504275d9396af7e4da36 (patch)
treeda998805cae9d6a4a7322cecc0ee104bd2d404d0 /stubdom/Makefile
parent49986faf5d961b5b3730c8791bc9b8d6fd811903 (diff)
downloadxen-1ecaba192cef7fbdfb28504275d9396af7e4da36.tar.gz
xen-1ecaba192cef7fbdfb28504275d9396af7e4da36.tar.bz2
xen-1ecaba192cef7fbdfb28504275d9396af7e4da36.zip
minios: _chk_fail and _chk canaries for minios and newlib
Add __stack_chk_fail to mini-os and __sprintf_chk __fprintf_chk to newlib, to cope with ocaml runtimes compiled with -fstack-protector. From: "George S. Coker, II" <gscoker@alpha.ncsc.mil> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'stubdom/Makefile')
-rw-r--r--stubdom/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/stubdom/Makefile b/stubdom/Makefile
index dcb614fc85..fabb6908de 100644
--- a/stubdom/Makefile
+++ b/stubdom/Makefile
@@ -91,6 +91,7 @@ newlib-$(NEWLIB_VERSION).tar.gz:
newlib-$(NEWLIB_VERSION): newlib-$(NEWLIB_VERSION).tar.gz
tar xzf $<
patch -d $@ -p0 < newlib.patch
+ patch -d $@ -p0 < newlib-chk.patch
touch $@
NEWLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libc.a