summaryrefslogtreecommitdiff
path: root/debian/patches/gcc-no-add-needed.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/gcc-no-add-needed.diff')
-rw-r--r--debian/patches/gcc-no-add-needed.diff18
1 files changed, 13 insertions, 5 deletions
diff --git a/debian/patches/gcc-no-add-needed.diff b/debian/patches/gcc-no-add-needed.diff
index 1c846fe..5d24b54 100644
--- a/debian/patches/gcc-no-add-needed.diff
+++ b/debian/patches/gcc-no-add-needed.diff
@@ -8,9 +8,11 @@
* 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
-@@ -836,7 +836,7 @@
+@@ -820,7 +820,7 @@
#if defined(HAVE_LD_EH_FRAME_HDR)
# undef LINK_EH_SPEC
@@ -19,6 +21,8 @@
#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 @@
@@ -32,9 +36,11 @@
#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
-@@ -438,7 +438,7 @@
+@@ -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)
@@ -43,14 +49,16 @@
#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
-@@ -82,7 +82,7 @@
+@@ -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 "
- #define MD_UNWIND_SUPPORT "config/ia64/linux-unwind.h"
-
+ /* Put all *tf routines in libgcc. */
+ #undef LIBGCC2_HAS_TF_MODE