patches/binutils/2.19/160-use-new-ld-dtags.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 22 22:32:25 2011 +0100 (2011-01-22)
changeset 2268 1300e1714c13
permissions -rw-r--r--
libc/uClibc: move content of do_libc_headers into do_libc_start_files

It is unnecessary to split C library preparation into two steps, as only
one really makes sense. So, do_libc_headers is bound to be withdrawn
short-term, in favor of do_libc_start_files.

uClibc already had all its start files installation in do_libc_headers, and
do_libc_start_files was empty, just migrate the content of the former into
the latter.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@1069
     1
Original patch from Gentoo:
yann@1069
     2
gentoo/src/patchsets/binutils/2.19/76_all_use-new-ld-dtags.patch
yann@1069
     3
yann@1069
     4
diff -durN binutils-2.19.orig/ld/ldmain.c binutils-2.19/ld/ldmain.c
yann@1069
     5
--- binutils-2.19.orig/ld/ldmain.c	2008-11-23 16:54:42.000000000 +0100
yann@1069
     6
+++ binutils-2.19/ld/ldmain.c	2008-11-23 16:56:16.000000000 +0100
yann@1069
     7
@@ -262,6 +262,7 @@
yann@1069
     8
 
yann@1069
     9
   link_info.allow_undefined_version = TRUE;
yann@1069
    10
   link_info.keep_memory = TRUE;
yann@1069
    11
+  link_info.new_dtags = TRUE;
yann@1069
    12
   link_info.combreloc = TRUE;
yann@1069
    13
   link_info.strip_discarded = TRUE;
yann@1069
    14
   link_info.emit_hash = TRUE;