patches/binutils/2.20.1a/190-use-new-ld-dtags.patch
author Johannes Stezenbach <js@sig21.net>
Tue Oct 30 00:36:20 2012 +0000 (2012-10-30)
changeset 3096 d1766c2273d1
parent 2088 4f21ba5f8e91
permissions -rw-r--r--
scripts/functions: use patch -i instead of IO redirection

This makes the patch name show up on the command line
logged by CT_DoExecLog so it's easier to see
what is going on. The -i for patch is specified
by Posix and supported by GNU patch and busybox patch.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: remove now-useless debug message]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <20121030103620.GB8303@sig21.net>
Patchwork-Id: 195418
yann@2088
     1
yann@2088
     2
yann@2088
     3
diff -durN binutils-2.20.1.orig/ld/ldmain.c binutils-2.20.1/ld/ldmain.c
yann@2088
     4
--- binutils-2.20.1.orig/ld/ldmain.c	2010-08-17 19:32:13.000000000 +0200
yann@2088
     5
+++ binutils-2.20.1/ld/ldmain.c	2010-08-17 19:32:15.000000000 +0200
yann@2088
     6
@@ -262,6 +262,7 @@
yann@1614
     7
 
yann@1614
     8
   link_info.allow_undefined_version = TRUE;
yann@1614
     9
   link_info.keep_memory = TRUE;
yann@1614
    10
+  link_info.new_dtags = TRUE;
yann@1614
    11
   link_info.combreloc = TRUE;
yann@1614
    12
   link_info.strip_discarded = TRUE;
yann@2088
    13
   link_info.emit_hash = TRUE;