summaryrefslogtreecommitdiff
path: root/debian/patches/gcc-no-add-needed.diff
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-11-20 15:45:48 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-11-20 15:45:48 +0000
commitae9e8f57f851fa2945e06b6fdea463964df7cdd1 (patch)
treef8d83d22ed0bf01c82cb82fb7534834ec28f7441 /debian/patches/gcc-no-add-needed.diff
parent3ce0b66ffc4e50c0b7309cf1f1011506652df792 (diff)
downloadgcc-47-ae9e8f57f851fa2945e06b6fdea463964df7cdd1.tar.gz
* Drop the gcc-no-add-needed patch, depend on binutils 2.22 instead.
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.7@6273 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/patches/gcc-no-add-needed.diff')
-rw-r--r--debian/patches/gcc-no-add-needed.diff64
1 files changed, 0 insertions, 64 deletions
diff --git a/debian/patches/gcc-no-add-needed.diff b/debian/patches/gcc-no-add-needed.diff
deleted file mode 100644
index 5d24b54..0000000
--- a/debian/patches/gcc-no-add-needed.diff
+++ /dev/null
@@ -1,64 +0,0 @@
-# DP: On linux targets pass --no-add-needed to the linker.
-
-2010-02-08 Roland McGrath <roland@redhat.com>
-
- * config/rs6000/sysv4.h (LINK_EH_SPEC): Pass --no-add-needed to the
- linker.
- * config/linux.h (LINK_EH_SPEC): Likewise.
- * config/alpha/elf.h (LINK_EH_SPEC): Likewise.
- * config/ia64/linux.h (LINK_EH_SPEC): Likewise.
-
-Index: b/src/gcc/config/rs6000/sysv4.h
-===================================================================
---- a/src/gcc/config/rs6000/sysv4.h
-+++ b/src/gcc/config/rs6000/sysv4.h
-@@ -820,7 +820,7 @@
-
- #if defined(HAVE_LD_EH_FRAME_HDR)
- # undef LINK_EH_SPEC
--# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
-+# define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
- #endif
-
- #define CPP_OS_LINUX_SPEC "-D__unix__ -D__gnu_linux__ -D__linux__ \
-Index: b/src/gcc/config/gnu-user.h
-===================================================================
---- a/src/gcc/config/gnu-user.h
-+++ b/src/gcc/config/gnu-user.h
-@@ -82,7 +82,9 @@
- #define LIB_SPEC GNU_USER_TARGET_LIB_SPEC
-
- #if defined(HAVE_LD_EH_FRAME_HDR)
--#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
-+#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
-+#else
-+#define LINK_EH_SPEC "--no-add-needed "
- #endif
-
- #undef LINK_GCC_C_SEQUENCE_SPEC
-Index: b/src/gcc/config/alpha/elf.h
-===================================================================
---- a/src/gcc/config/alpha/elf.h
-+++ b/src/gcc/config/alpha/elf.h
-@@ -440,7 +440,7 @@
- I imagine that other systems will catch up. In the meantime, it
- doesn't harm to make sure that the data exists to be used later. */
- #if defined(HAVE_LD_EH_FRAME_HDR)
--#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
-+#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
- #endif
-
- /* A C statement (sans semicolon) to output to the stdio stream STREAM
-Index: b/src/gcc/config/ia64/linux.h
-===================================================================
---- a/src/gcc/config/ia64/linux.h
-+++ b/src/gcc/config/ia64/linux.h
-@@ -75,7 +75,7 @@
- Signalize that because we have fde-glibc, we don't need all C shared libs
- linked against -lgcc_s. */
- #undef LINK_EH_SPEC
--#define LINK_EH_SPEC ""
-+#define LINK_EH_SPEC "--no-add-needed "
-
- /* Put all *tf routines in libgcc. */
- #undef LIBGCC2_HAS_TF_MODE