summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-08-31 21:24:40 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-08-31 21:24:40 (GMT)
commit3478b5a0e850e93e0612e009f1bfc7085c2fcc96 (patch)
treed48cd74615501a7320436bf504a0db0ca49a4a15
parentaf8ba5a07543f2ff5cb59fd6515600488f1c204e (diff)
binutils/binutils: remove faulty patch
The added code should be conditinal to the target system being !MIPS, but is based on the host system being !MIPS. This is plain wrong, and had not been noticed until now as I never used those binutils versions on MIPS. See: http://sourceware.org/ml/crossgcc/2010-08/msg00192.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
-rw-r--r--patches/binutils/2.20.1/210-generate-gnu-hash.patch15
-rw-r--r--patches/binutils/2.20/210-generate-gnu-hash.patch8
2 files changed, 0 insertions, 23 deletions
diff --git a/patches/binutils/2.20.1/210-generate-gnu-hash.patch b/patches/binutils/2.20.1/210-generate-gnu-hash.patch
deleted file mode 100644
index da458ae..0000000
--- a/patches/binutils/2.20.1/210-generate-gnu-hash.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-diff -durN binutils-2.20.1.orig/ld/ldmain.c binutils-2.20.1/ld/ldmain.c
---- binutils-2.20.1.orig/ld/ldmain.c 2010-08-17 19:32:15.000000000 +0200
-+++ binutils-2.20.1/ld/ldmain.c 2010-08-17 19:32:17.000000000 +0200
-@@ -266,6 +266,9 @@
- link_info.combreloc = TRUE;
- link_info.strip_discarded = TRUE;
- link_info.emit_hash = TRUE;
-+#ifndef __mips__
-+ link_info.emit_gnu_hash = TRUE;
-+#endif
- link_info.callbacks = &link_callbacks;
- link_info.input_bfds_tail = &link_info.input_bfds;
- /* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
diff --git a/patches/binutils/2.20/210-generate-gnu-hash.patch b/patches/binutils/2.20/210-generate-gnu-hash.patch
deleted file mode 100644
index b427c89..0000000
--- a/patches/binutils/2.20/210-generate-gnu-hash.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- binutils/ld/ldmain.c
-+++ binutils/ld/ldmain.c
-@@ -273,2 +273,5 @@ main (int argc, char **argv)
- link_info.emit_hash = TRUE;
-+#ifndef __mips__
-+ link_info.emit_gnu_hash = TRUE;
-+#endif
- link_info.callbacks = &link_callbacks;