summaryrefslogtreecommitdiff
path: root/toolchain/eglibc/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-20 20:41:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-20 20:41:41 +0200
commit70c44baa23fbf86a888f6f37a75bca10a631a01c (patch)
treecf5d557fddf53ddb4851a0ae5db68c3ff9f5407e /toolchain/eglibc/patches
parentdd35f8739be06beda5a2e2d3f753056cf1fb724a (diff)
add eglibc support
all three libraries tested with qemu-x86
Diffstat (limited to 'toolchain/eglibc/patches')
-rw-r--r--toolchain/eglibc/patches/gcc_eh.patch18
1 files changed, 18 insertions, 0 deletions
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)