From d6e220d66c18fe46217c74b815c37adacaae3445 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 24 Sep 2013 11:13:47 +0000 Subject: main/libc0.9.32: use ucontext upstream git master it includes the definitions in the ucontext.h file. We also need set ASFLAGS to be re-entrant. --- main/libc0.9.32/ucontext-reentrant.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main/libc0.9.32/ucontext-reentrant.patch (limited to 'main/libc0.9.32/ucontext-reentrant.patch') diff --git a/main/libc0.9.32/ucontext-reentrant.patch b/main/libc0.9.32/ucontext-reentrant.patch new file mode 100644 index 0000000000..2417e15a48 --- /dev/null +++ b/main/libc0.9.32/ucontext-reentrant.patch @@ -0,0 +1,12 @@ +diff --git a/libc/sysdeps/linux/i386/Makefile.arch b/libc/sysdeps/linux/i386/Makefile.arch +index b47f5a0..8b1edc2 100644 +--- a/libc/sysdeps/linux/i386/Makefile.arch ++++ b/libc/sysdeps/linux/i386/Makefile.arch +@@ -18,4 +18,7 @@ endif + + ifeq ($(UCLIBC_HAS_CONTEXT_FUNCS),y) + SSRC += makecontext.S setcontext.S getcontext.S swapcontext.S ++ASFLAGS-setcontext.S := -D_LIBC_REENTRANT ++ASFLAGS-getcontext.S := -D_LIBC_REENTRANT ++ASFLAGS-swapcontext.S := -D_LIBC_REENTRANT + endif -- cgit v1.2.3