From 1ecaba192cef7fbdfb28504275d9396af7e4da36 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 31 Mar 2009 11:36:11 +0100 Subject: 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" Signed-off-by: Samuel Thibault --- stubdom/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'stubdom/Makefile') 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 -- cgit v1.2.3