patches/binutils/2.20/190-use-new-ld-dtags.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>
     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;