ld: Add -Bsymbolic-functions tests
[deliverable/binutils-gdb.git] / ld / ChangeLog
index dd5628283b89df142d03c68b4f414f2ccbc7c629..0a2efa13053e63fb010597c8818ef03bc6bb86af 100644 (file)
@@ -1,3 +1,274 @@
+2020-05-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26018
+       * testsuite/ld-i386/i386.exp: Add a -Bsymbolic-functions test.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-i386/pr26018.d: New file.
+       * testsuite/ld-x86-64/pr26018.d: Likewise.
+       * testsuite/ld-x86-64/pr26018.s: Likewise.
+
+2020-05-21  Alan Modra  <amodra@gmail.com>
+
+       * deffilep.y: Replace "if (x) free (x)" with "free (x)" thoughout.
+       * emultempl/elf.em: Likewise.
+       * emultempl/msp430.em: Likewise.
+       * emultempl/pe.em: Likewise.
+       * emultempl/pep.em: Likewise.
+       * emultempl/ppc64elf.em: Likewise.
+       * emultempl/xtensaelf.em: Likewise.
+       * ldelf.c: Likewise.
+       * ldfile.c: Likewise.
+       * ldmain.c: Likewise.
+       * ldmisc.c: Likewise.
+       * lexsup.c: Likewise.
+       * pe-dll.c: Likewise.
+
+2020-05-20  Nelson Chu  <nelson.chu@sifive.com>
+
+       * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Updated
+        priv attributes according to the -mpriv-spec option.
+       * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
+
+2020-05-20  Alan Modra  <amodra@gmail.com>
+
+       PR 25993
+       * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't copy
+       other_bfd_filename for bfd_set_filename, and test result of
+       bfd_set_filename call.  Don't create a new is->filename, simply
+       copy from bfd filename.  Free new_name after bfd_set_filename.
+       * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
+
+2020-05-19  Siddhesh Poyarekar  <siddesh.poyarekar@arm.com>
+
+       * testsuite/ld-aarch64/aarch64-elf.exp: New test
+       emit-relocs-560.
+       * testsuite/ld-aarch64/emit-relocs-560.d: New file.
+       * testsuite/ld-aarch64/emit-relocs-560.s: New file.
+
+2020-05-19  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/beos.em (sort_by_file_name): Use bfd_get_filename
+       rather than accessing bfd->filename directly.
+       * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
+       * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
+       * emultempl/spuelf.em (embedded_spu_file): Likewise.
+       * ldlang.c (input_statement_is_archive_path, wild_sort),
+       (check_excluded_libs): Likewise.
+       * ldmain.c (add_archive_element): Likewise.
+       * ldmisc.c (vfinfo): Likewise.
+       * pe-dll.c (auto_export, generate_edata, pe_create_import_fixup),
+       (pe_dll_generate_implib, pe_process_import_defs): Likewise.
+       * plugin.c (plugin_object_p): Likewise.
+
+2020-05-18  Douglas B Rupp  <rupp@adacore.com>
+
+       * ldemul.h (ldemul_print_symbol): New.
+       (ld_emulation_xfer_type) <print_symbol): Likewise.
+       * ldemul.c (ldemul_print_symbol): New.
+       * ldlang.c (SECTION_NAME_MAP_LANGTH): Move to ...
+       (print_one_symbol): Make global and move declaration to ...
+       (print_all_symbols): Rename print_one_symbol to ldemul_print_symbol
+       (print_input_section): Likewise
+       * ldlang.h: ... here.
+       * emultempl/aix.em (gld${EMULATION_NAME}_print_symbol): New.
+       (ld_emulation_xfer_struct): Use it.
+       * emultempl/armcoff.em (ld_emulation_xfer_struct): Add print_symbol
+       and default to NULL.
+       * emultempl/beos.em (ld_emulation_xfer_struct): Likewise
+       * emultempl/elf.em (ld_emulation_xfer_struct): Likewise
+       * emultempl/generic.em (ld_emulation_xfer_struct): Likewise
+       * emultempl/linux.em (ld_emulation_xfer_struct): Likewise
+       * emultempl/msp430.em (ld_emulation_xfer_struct): Likewise
+       * emultempl/pe.em (ld_emulation_xfer_struct): Likewise
+       * emultempl/pep.em (ld_emulation_xfer_struct): Likewise
+       * emultempl/ticoff.em (ld_emulation_xfer_struct): Likewise
+       * emultempl/vanilla.em (ld_emulation_xfer_struct): Likewise
+
+2020-05-18  Sergei Trofimovich  <siarheit@google.com>
+
+       * ldmain.c (add_archive_element): Fix s/claimi/claim/ typo
+       in info message.
+
+2020-05-18  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Update Swedish translation.
+
+2020-05-18  Nick Clifton  <nickc@redhat.com>
+
+       PR 25993
+       * emultempl/pe.em (_after_open): Check for duplicate filename
+       pointers before renaming the dll.
+       * emultempl/pep.em (_after_open): Likewise.
+
+2020-05-13  Nick Clifton  <nickc@redhat.com>
+
+       PR 25979
+       * lexsup.c (elf_shlib_list_options): Include the default value for
+       the hash style in the output text.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/pcrelopt.s: Add lxvp and stxvp.
+       * testsuite/ld-powerpc/pcrelopt.d: Update.
+
+2020-05-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/callstub-1.d: Use -mpower10/-Mpower10 in
+       place of -mfuture/-Mfuture.
+       * testsuite/ld-powerpc/notoc2.d: Likewise.
+       * testsuite/ld-powerpc/powerpc.exp: Likewise.
+       * testsuite/ld-powerpc/tlsgd.d: Likewise.
+       * testsuite/ld-powerpc/tlsie.d: Likewise.
+       * testsuite/ld-powerpc/tlsld.d: Likewise.
+
+2020-05-11  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2020-05-01  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       PR ld/25665
+       * testsuite/ld-aarch64/farcall-group.s: New large group test.
+       * testsuite/ld-aarch64/farcall-group.d: New test driver.
+       * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
+
+2020-05-01  Alan Modra  <amodra@gmail.com>
+
+       PR 25882
+       * ldlang.c (lang_check): Call bfd_merge_private_bfd_data for
+       shared libraries.
+
+2020-05-01  Alan Modra  <amodra@gmail.com>
+
+       * po/BLD-POTFILES.in: Regenerate.
+
+2020-04-30  Alex Coplan  <alex.coplan@arm.com>
+
+       * testsuite/ld-aarch64/erratum843419_tls_ie.d: Use udf in disassembly.
+       * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
+       * testsuite/ld-aarch64/farcall-back.d: Likewise.
+       * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
+
+2020-04-30  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does
+       not support the -shared command line option.
+       * /ld-elf/compressed1c.d: Likewise.
+       * /ld-elf/compressed1e.d: Likewise.
+       * /ld-elf/dynamic1.d: Likewise.
+       * /ld-elf/dynsym1.d: Likewise.
+       * /ld-elf/ehdr_start-shared.d: Likewise.
+       * /ld-elf/exclude3b.d: Likewise.
+       * /ld-elf/global1.d: Likewise.
+       * /ld-elf/hash.d: Likewise.
+       * /ld-elf/local1.d: Likewise.
+       * /ld-elf/mbind1b.d: Likewise.
+       * /ld-elf/now-1.d: Likewise.
+       * /ld-elf/now-2.d: Likewise.
+       * /ld-elf/now-3.d: Likewise.
+       * /ld-elf/now-4.d: Likewise.
+       * /ld-elf/pr12975.d: Likewise.
+       * /ld-elf/pr13177.d: Likewise.
+       * /ld-elf/pr13195.d: Likewise.
+       * /ld-elf/pr16322.d: Likewise.
+       * /ld-elf/pr16498a.d: Likewise.
+       * /ld-elf/pr16498b.d: Likewise.
+       * /ld-elf/pr17615.d: Likewise.
+       * /ld-elf/pr19162.d: Likewise.
+       * /ld-elf/pr19698.d: Likewise.
+       * /ld-elf/pr20513c.d: Likewise.
+       * /ld-elf/pr20513d.d: Likewise.
+       * /ld-elf/pr21389a.d: Likewise.
+       * /ld-elf/pr21389b.d: Likewise.
+       * /ld-elf/pr21389c.d: Likewise.
+       * /ld-elf/pr21562a.d: Likewise.
+       * /ld-elf/pr21562b.d: Likewise.
+       * /ld-elf/pr21562c.d: Likewise.
+       * /ld-elf/pr21562d.d: Likewise.
+       * /ld-elf/pr21562e.d: Likewise.
+       * /ld-elf/pr21562f.d: Likewise.
+       * /ld-elf/pr21562g.d: Likewise.
+       * /ld-elf/pr21562h.d: Likewise.
+       * /ld-elf/pr21562i.d: Likewise.
+       * /ld-elf/pr21562j.d: Likewise.
+       * /ld-elf/pr21562k.d: Likewise.
+       * /ld-elf/pr21562l.d: Likewise.
+       * /ld-elf/pr21562m.d: Likewise.
+       * /ld-elf/pr21562n.d: Likewise.
+       * /ld-elf/pr21903a.d: Likewise.
+       * /ld-elf/pr21903b.d: Likewise.
+       * /ld-elf/pr22269b.d: Likewise.
+       * /ld-elf/pr22393-1a.d: Likewise.
+       * /ld-elf/pr22393-1b.d: Likewise.
+       * /ld-elf/pr23658-1c.d: Likewise.
+       * /ld-elf/pr25708.d: Likewise.
+       * /ld-elf/rpath-1.d: Likewise.
+       * /ld-elf/rpath-2.d: Likewise.
+       * /ld-elf/runpath-1.d: Likewise.
+       * /ld-elf/runpath-2.d: Likewise.
+       * /ld-elf/sizeofb.d: Likewise.
+       * /ld-elf/startofb.d: Likewise.
+       * /ld-elf/strtab.d: Likewise.
+       * /ld-elf/textaddr2.d: Likewise.
+       * /ld-elf/textaddr5.d: Likewise.
+       * /ld-elf/textaddr6.d: Likewise.
+       * /ld-elf/unknown2.d: Likewise.
+       * /ld-undefined/entry-3.d: Likewise.
+       * /ld-undefined/entry-4.d: Likewise.
+       * /ld-elf/mbind1c.d: XFAIL if the target linker does not support
+       the -pie option.
+       * /ld-elf/pie.d: Likewise.
+       * /ld-elf/pr19539.d: Likewise.
+       * /ld-elf/pr21903d.d: Likewise.
+       * /ld-elf/pr22269a.d: Likewise.
+       * /ld-elf/pr22393-1c.d: Likewise.
+       * /ld-elf/pr22393-1d.d: Likewise.
+       * /ld-elf/pr22423.d: Likewise.
+       * /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target.
+       * /ld-elf/loadaddr2.d: Likewise.
+       * /ld-elf/pr22393-1e.d: Likewise.
+       * /ld-elf/pr22393-1f.d: Likewise.
+       * /ld-elf/textaddr1.d: Likewise.
+       * /ld-elf/textaddr4.d: Likewise.
+
+2020-04-30  Yoshinori Sato <ysato@users.sourceforge.jp>
+
+       * emulparams/elf32rx_linux.sh: New rx-linux emulation.
+       * emultempl/rxlinux.em: New.
+       * configure.tgt: Add rx-linux.
+       * Makefile.am: Add eelf32rx_linux.c
+       * Makefile.in: Regenerate.
+
+2020-04-29  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * testsuite/ld-xtensa/relax-diff1.d: New test definition.
+       * testsuite/ld-xtensa/relax-diff1.s: New test source.
+       * testsuite/ld-xtensa/relax-ndiff.d: New test definition.
+       * testsuite/ld-xtensa/relax-ndiff.s: New test source.
+       * testsuite/ld-xtensa/xtensa.exp: (relax-diff1)
+       (relax-ndiff): New tests.
+
+2020-04-29  Stephen Casner  <casner@acm.org>
+
+       PR 25829
+       * testsuite/ld-scripts/default-script.exp: Add --image-base=0 to
+       LDFLAGS for targets *-*-mingw64 x86_64-*-cygwin.
+       * testsuite/ld-scripts/default-script1.d: No longer have to skip
+       test for those targets.
+       * testsuite/ld-scripts/default-script2.d: Likewise.
+       * testsuite/ld-scripts/default-script3.d: Likewise.
+       * testsuite/ld-scripts/default-script4.d: Likewise.
+
 2020-04-27  Tamar Christina  <tamar.christina@arm.com>
 
        * pe-dll.c (pe_detail_list):  Add pe-bigobj-i386.
This page took 0.026391 seconds and 4 git commands to generate.