From 3478b5a0e850e93e0612e009f1bfc7085c2fcc96 Mon Sep 17 00:00:00 2001
From: "Yann E. MORIN\"" <yann.morin.1998@anciens.enib.fr>
Date: Tue, 31 Aug 2010 23:24:40 +0200
Subject: [PATCH] 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>
---
 .../binutils/2.20.1/210-generate-gnu-hash.patch   | 15 ---------------
 patches/binutils/2.20/210-generate-gnu-hash.patch |  8 --------
 2 files changed, 23 deletions(-)
 delete mode 100644 patches/binutils/2.20.1/210-generate-gnu-hash.patch
 delete mode 100644 patches/binutils/2.20/210-generate-gnu-hash.patch

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 da458aea..00000000
--- 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 b427c897..00000000
--- 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;