From 70c44baa23fbf86a888f6f37a75bca10a631a01c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 20 Aug 2009 20:41:41 +0200 Subject: add eglibc support all three libraries tested with qemu-x86 --- toolchain/eglibc/patches/gcc_eh.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 toolchain/eglibc/patches/gcc_eh.patch (limited to 'toolchain/eglibc/patches') diff --git a/toolchain/eglibc/patches/gcc_eh.patch b/toolchain/eglibc/patches/gcc_eh.patch new file mode 100644 index 000000000..1635a7d66 --- /dev/null +++ b/toolchain/eglibc/patches/gcc_eh.patch @@ -0,0 +1,18 @@ +diff -Nur eglibc-2.10.orig/libc/Makeconfig eglibc-2.10/libc/Makeconfig +--- eglibc-2.10.orig/libc/Makeconfig 2009-08-13 13:26:57.000000000 +0200 ++++ eglibc-2.10/libc/Makeconfig 2009-08-18 23:03:50.000000000 +0200 +@@ -538,12 +538,12 @@ + libunwind = -lunwind + endif + ifneq ($(have-as-needed),yes) +- libgcc_eh := -lgcc_eh $(libunwind) ++ libgcc_eh := $(libunwind) + else + libgcc_eh := -Wl,--as-needed -lgcc_s$(libgcc_s_suffix) $(libunwind) -Wl,--no-as-needed + endif + gnulib := -lgcc $(libgcc_eh) +-static-gnulib := -lgcc -lgcc_eh $(libunwind) ++static-gnulib := -lgcc $(libunwind) + libc.so-gnulib := -lgcc + endif + ifeq ($(elf),yes) -- cgit v1.2.3