patches/binutils/2.20/210-generate-gnu-hash.patch
author Joachim Nilsson <jocke@vmlinux.org>
Thu Jan 07 01:08:08 2010 +0100 (2010-01-07)
changeset 1700 eccc37dd1a25
permissions -rw-r--r--
binutils/binultils: import binutils-2.20 patches from OE

This is a set of patches for binutils-2.20 that have been "ported", or rather
shamelessly stolen, from the OpenEmbedded project:

http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/binutils/binutils-2.20

Tried and tested on Arm (big-endian Xscale, and little-endian i.MX27) with GCC 4.4.2

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
yann@1614
     1
--- binutils/ld/ldmain.c
yann@1614
     2
+++ binutils/ld/ldmain.c
yann@1614
     3
@@ -273,2 +273,5 @@ main (int argc, char **argv)
yann@1614
     4
   link_info.emit_hash = TRUE;
yann@1614
     5
+#ifndef __mips__
yann@1614
     6
+  link_info.emit_gnu_hash = TRUE;
yann@1614
     7
+#endif
yann@1614
     8
   link_info.callbacks = &link_callbacks;