diff --git a/gcc46-no-add-needed.patch b/gcc46-no-add-needed.patch index debd655..8aac209 100644 --- a/gcc46-no-add-needed.patch +++ b/gcc46-no-add-needed.patch @@ -2,7 +2,7 @@ * config/rs6000/sysv4.h (LINK_EH_SPEC): Pass --no-add-needed to the linker. - * config/linux.h (LINK_EH_SPEC): Likewise. + * config/gnu-user.h (LINK_EH_SPEC): Likewise. * config/alpha/elf.h (LINK_EH_SPEC): Likewise. * config/ia64/linux.h (LINK_EH_SPEC): Likewise. @@ -28,10 +28,10 @@ #define MD_UNWIND_SUPPORT "config/ia64/linux-unwind.h" ---- gcc/config/linux.h.jj 2011-01-03 12:53:03.739057299 +0100 -+++ gcc/config/linux.h 2011-01-04 18:14:10.932814884 +0100 -@@ -102,7 +102,7 @@ see the files COPYING3 and COPYING.RUNTI - } while (0) +--- gcc/config/gnu-user.h.jj 2011-01-03 12:53:03.739057299 +0100 ++++ gcc/config/gnu-user.h 2011-01-04 18:14:10.932814884 +0100 +@@ -82,7 +82,7 @@ see the files COPYING3 and COPYING.RUNTI + #define LIB_SPEC GNU_USER_TARGET_LIB_SPEC #if defined(HAVE_LD_EH_FRAME_HDR) -#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "