PR25993, read of freed memory
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 84f8babfbc98a7e0c818f91793c8b39cf3131201..b4ee76c2606d490d2f68a119f0045e33ceb25adb 100644 (file)
@@ -1,3 +1,123 @@
+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
This page took 0.024256 seconds and 4 git commands to generate.