Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/external/gpl3/binutils/dist/ld/emultempl Pull up followin...



details:   https://anonhg.NetBSD.org/src/rev/15da6b38c3f3
branches:  netbsd-7
changeset: 799010:15da6b38c3f3
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Feb 21 13:55:08 2015 +0000

description:
Pull up following revision(s) (requested by joerg in ticket #533):
        external/gpl3/binutils/dist/ld/emultempl/armelf.em: revision 1.2
        external/gpl3/binutils/dist/ld/emultempl/aarch64elf.em: revision 1.2
Apply elf32.em r1.8 to the corresponding sections of armelf.em and
aarch64elf.em. Original commit message:
Recursively add DT_NEEDED entries from shared libraries if symbols are
used indirectly. This is more in line with the old GNU ld behavior, but
not exactly the desired semantic.

diffstat:

 external/gpl3/binutils/dist/ld/emultempl/aarch64elf.em |  1 +
 external/gpl3/binutils/dist/ld/emultempl/armelf.em     |  1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r e72c4273bd92 -r 15da6b38c3f3 external/gpl3/binutils/dist/ld/emultempl/aarch64elf.em
--- a/external/gpl3/binutils/dist/ld/emultempl/aarch64elf.em    Sat Feb 21 13:47:00 2015 +0000
+++ b/external/gpl3/binutils/dist/ld/emultempl/aarch64elf.em    Sat Feb 21 13:55:08 2015 +0000
@@ -38,6 +38,7 @@
   ldfile_set_output_arch ("`echo ${ARCH}`", bfd_arch_unknown);
 #endif /* not TARGET_ */
   input_flags.dynamic = ${DYNAMIC_LINK-TRUE};
+  input_flags.add_DT_NEEDED_for_dynamic = TRUE;
   config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
   config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo TRUE ; else echo FALSE ; fi`;
 }
diff -r e72c4273bd92 -r 15da6b38c3f3 external/gpl3/binutils/dist/ld/emultempl/armelf.em
--- a/external/gpl3/binutils/dist/ld/emultempl/armelf.em        Sat Feb 21 13:47:00 2015 +0000
+++ b/external/gpl3/binutils/dist/ld/emultempl/armelf.em        Sat Feb 21 13:55:08 2015 +0000
@@ -51,6 +51,7 @@
   ldfile_set_output_arch ("`echo ${ARCH}`", bfd_arch_unknown);
 #endif /* not TARGET_ */
   input_flags.dynamic = ${DYNAMIC_LINK-TRUE};
+  input_flags.add_DT_NEEDED_for_dynamic = TRUE;
   config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`;
   config.separate_code = `if test "x${SEPARATE_CODE}" = xyes ; then echo TRUE ; else echo FALSE ; fi`;
 }



Home | Main Index | Thread Index | Old Index