patches/binutils/2.20/190-use-new-ld-dtags.patch
author Esben Haabendal <eha@doredevelopment.dk>
Sat Aug 14 23:21:06 2010 +0200 (2010-08-14)
changeset 2085 198c99380191
permissions -rw-r--r--
libc/mingw: use pre-set headers dir

There is a variable that contains the headers directory,
so there's no need to re-compute it again.

[Yann E. MORIN: split the original patch]
     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;