patches/binutils/2.20/190-use-new-ld-dtags.patch
author Titus von Boxberg <titus@v9g.de>
Sun Aug 21 17:54:12 2011 +0200 (2011-08-21)
branch1.12
changeset 2635 daa630f28c05
permissions -rw-r--r--
complibs/libelf: use target ranlib

For portability, the right ranlib for the target must be passed to
libelf's configure.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from e4a6fefcb0f5ecbcade3ae5edbe609560843aed1)
     1 --- binutils/ld/ldmain.c
     2 +++ binutils/ld/ldmain.c
     3 @@ -296,6 +296,7 @@ main (int argc, char **argv)
     4  
     5    link_info.allow_undefined_version = TRUE;
     6    link_info.keep_memory = TRUE;
     7 +  link_info.new_dtags = TRUE;
     8    link_info.combreloc = TRUE;
     9    link_info.strip_discarded = TRUE;
    10    link_info.callbacks = &link_callbacks;