Browse Source

glibc: rediffed patch for not linking against libgcc_eh

user/karasz/firmware
Christian Wiese 12 years ago
parent
commit
38893da5cf
  1. 19
      base/glibc/gcc_eh.patch.cross

19
base/glibc/gcc_eh.patch.cross

@ -2,6 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../glibc/gcc_eh.patch.cross
# Copyright (C) 2012 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -20,20 +21,14 @@ book about release management ...).
- Rene Rebe <rene@exactcode.de>
--- libc/Makeconfig.orig 2004-12-31 20:33:44.918457704 +0100
+++ libc/Makeconfig 2004-12-31 20:55:54.452337832 +0100
@@ -514,12 +514,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
--- glibc-2.16.0/Makeconfig.orig 2012-08-05 02:05:17.000000000 +0200
+++ glibc-2.16.0/Makeconfig.new 2012-08-05 02:11:01.949334945 +0200
@@ -523,7 +523,7 @@
endif
libgcc_eh := -Wl,--as-needed -lgcc_s $(libunwind) -Wl,--no-as-needed
gnulib := -lgcc $(libgcc_eh)
-static-gnulib := -lgcc -lgcc_eh $(libunwind)
+static-gnulib := -lgcc $(libunwind)
+static-gnulib := -lgcc $(libunwind)
libc.so-gnulib := -lgcc
endif
ifeq ($(elf),yes)
+preinit = $(addprefix $(csu-objpfx),crti.o)

Loading…
Cancel
Save