ld: Add -Bsymbolic-functions tests
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 154ead75210496630366d66025d6d73088d5b994..0a2efa13053e63fb010597c8818ef03bc6bb86af 100644 (file)
@@ -1,3 +1,104 @@
+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.
This page took 0.026764 seconds and 4 git commands to generate.