summaryrefslogtreecommitdiffstats
path: root/toolchain-layer/recipes-devtools/gcc/gcc-4.5/fedora/gcc45-no-add-needed.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.5/fedora/gcc45-no-add-needed.patch')
-rw-r--r--toolchain-layer/recipes-devtools/gcc/gcc-4.5/fedora/gcc45-no-add-needed.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/fedora/gcc45-no-add-needed.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.5/fedora/gcc45-no-add-needed.patch
deleted file mode 100644
index bf03c27852..0000000000
--- a/toolchain-layer/recipes-devtools/gcc/gcc-4.5/fedora/gcc45-no-add-needed.patch
+++ /dev/null
@@ -1,60 +0,0 @@
12010-02-08 Roland McGrath <roland@redhat.com>
2
3 * config/rs6000/sysv4.h (LINK_EH_SPEC): Pass --no-add-needed to the
4 linker.
5 * config/linux.h (LINK_EH_SPEC): Likewise.
6 * config/alpha/elf.h (LINK_EH_SPEC): Likewise.
7 * config/ia64/linux.h (LINK_EH_SPEC): Likewise.
8
9Index: gcc/config/alpha/elf.h
10===================================================================
11--- gcc/config/alpha/elf.h.orig 2011-06-16 17:58:47.000000000 -0700
12+++ gcc/config/alpha/elf.h 2011-09-17 11:04:57.033298875 -0700
13@@ -441,7 +441,7 @@ extern int alpha_this_gpdisp_sequence_nu
14 I imagine that other systems will catch up. In the meantime, it
15 doesn't harm to make sure that the data exists to be used later. */
16 #if defined(HAVE_LD_EH_FRAME_HDR)
17-#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
18+#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
19 #endif
20
21 /* A C statement (sans semicolon) to output to the stdio stream STREAM
22Index: gcc/config/ia64/linux.h
23===================================================================
24--- gcc/config/ia64/linux.h.orig 2011-09-17 11:03:19.000000000 -0700
25+++ gcc/config/ia64/linux.h 2011-09-17 11:04:57.033298875 -0700
26@@ -80,7 +80,7 @@ do { \
27 Signalize that because we have fde-glibc, we don't need all C shared libs
28 linked against -lgcc_s. */
29 #undef LINK_EH_SPEC
30-#define LINK_EH_SPEC ""
31+#define LINK_EH_SPEC "--no-add-needed "
32
33 #define MD_UNWIND_SUPPORT "config/ia64/linux-unwind.h"
34
35Index: gcc/config/linux.h
36===================================================================
37--- gcc/config/linux.h.orig 2011-09-17 11:03:38.000000000 -0700
38+++ gcc/config/linux.h 2011-09-17 11:04:57.033298875 -0700
39@@ -101,7 +101,7 @@ see the files COPYING3 and COPYING.RUNTI
40 } while (0)
41
42 #if defined(HAVE_LD_EH_FRAME_HDR)
43-#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
44+#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
45 #endif
46
47 /* Define this so we can compile MS code for use with WINE. */
48Index: gcc/config/rs6000/sysv4.h
49===================================================================
50--- gcc/config/rs6000/sysv4.h.orig 2011-09-17 11:03:41.000000000 -0700
51+++ gcc/config/rs6000/sysv4.h 2011-09-17 11:05:58.653298861 -0700
52@@ -908,7 +908,7 @@ SVR4_ASM_SPEC \
53
54 #if defined(HAVE_LD_EH_FRAME_HDR)
55 # undef LINK_EH_SPEC
56-# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
57+# define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
58 #endif
59
60 #define CPP_OS_LINUX_SPEC "-D__unix__ -D__gnu_linux__ -D__linux__ \