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>
This commit is contained in:
Yann E. MORIN" 2010-08-31 23:24:40 +02:00
parent af8ba5a075
commit 3478b5a0e8
2 changed files with 0 additions and 23 deletions

View File

@ -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

View File

@ -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;