patches/binutils/2.20.1/210-generate-gnu-hash.patch
changeset 2088 4f21ba5f8e91
parent 1614 3f76cdbceb6e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/binutils/2.20.1/210-generate-gnu-hash.patch	Tue Aug 17 19:48:49 2010 +0200
     1.3 @@ -0,0 +1,15 @@
     1.4 +
     1.5 +
     1.6 +diff -durN binutils-2.20.1.orig/ld/ldmain.c binutils-2.20.1/ld/ldmain.c
     1.7 +--- binutils-2.20.1.orig/ld/ldmain.c	2010-08-17 19:32:15.000000000 +0200
     1.8 ++++ binutils-2.20.1/ld/ldmain.c	2010-08-17 19:32:17.000000000 +0200
     1.9 +@@ -266,6 +266,9 @@
    1.10 +   link_info.combreloc = TRUE;
    1.11 +   link_info.strip_discarded = TRUE;
    1.12 +   link_info.emit_hash = TRUE;
    1.13 ++#ifndef __mips__
    1.14 ++  link_info.emit_gnu_hash = TRUE;
    1.15 ++#endif
    1.16 +   link_info.callbacks = &link_callbacks;
    1.17 +   link_info.input_bfds_tail = &link_info.input_bfds;
    1.18 +   /* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init