[gentoo] / src / patchsets / binutils / 2.17.50.0.10 / 77_all_generate-gnu-hash.patch Project Root:

GentooDiff of /src/patchsets/binutils/2.17.50.0.10/77_all_generate-gnu-hash.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph

version 1.1, Sat Jan 27 20:01:08 2007 UTC version 1.2, Wed Aug 20 03:52:54 2008 UTC
Line 1 
Line 1 
 --- binutils/ld/ldmain.c  --- binutils/ld/ldmain.c
 +++ binutils/ld/ldmain.c  +++ binutils/ld/ldmain.c
 @@ -306,7 +306,7 @@ main (int argc, char **argv)  @@ -306,7 +306,9 @@ main (int argc, char **argv)
    link_info.gc_sym_list = NULL;     link_info.gc_sym_list = NULL;
    link_info.base_file = NULL;     link_info.base_file = NULL;
    link_info.emit_hash = TRUE;     link_info.emit_hash = TRUE;
 -  link_info.emit_gnu_hash = FALSE;  -  link_info.emit_gnu_hash = FALSE;
   +#ifndef __mips__
 +  link_info.emit_gnu_hash = TRUE;  +  link_info.emit_gnu_hash = TRUE;
   +#endif
    /* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init     /* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
       and _fini symbols.  We are compatible.  */        and _fini symbols.  We are compatible.  */
    link_info.init_function = "_init";     link_info.init_function = "_init";

Generate output suitable for use with a patch program
Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

www@gentoo.org

Powered by ViewCVS 1.0_pre20050929

ViewCVS and CVS Help