Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/binutils/dist/ld/emultempl Restore --copy-dt-n...



details:   https://anonhg.NetBSD.org/src/rev/03e7a6821567
branches:  trunk
changeset: 971171:03e7a6821567
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 16 15:47:19 2020 +0000

description:
Restore --copy-dt-needed as default. There is too much fallout in pkgsrc
mainly from -lcurses needing -lterminfo.

diffstat:

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

diffs (11 lines):

diff -r 2dff32833687 -r 03e7a6821567 external/gpl3/binutils/dist/ld/emultempl/elf.em
--- a/external/gpl3/binutils/dist/ld/emultempl/elf.em   Thu Apr 16 14:39:58 2020 +0000
+++ b/external/gpl3/binutils/dist/ld/emultempl/elf.em   Thu Apr 16 15:47:19 2020 +0000
@@ -79,6 +79,7 @@
 {
   ldfile_set_output_arch ("${OUTPUT_ARCH}", bfd_arch_`echo ${ARCH} | sed -e 's/:.*//'`);
   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`;
   link_info.check_relocs_after_open_input = TRUE;



Home | Main Index | Thread Index | Old Index