ld: Skip bootstrap tests for -fprofile-generate=
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 3131c687d09772be7ab31dda6c5271af989c365c..540ebae7930816ca7ebb4fa3a899445dc0362513 100644 (file)
@@ -1,3 +1,783 @@
+2020-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-plugin/lto.exp (plug_opt): Moved to ...
+       * testsuite/config/default.exp (plug_opt): Here.  New.
+       * testsuite/ld-bootstrap/bootstrap.exp: Skip when linker is
+       compiled with -fprofile-generate=.
+
+2020-10-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/config/default.exp (NOLTO_CFLAGS): New.
+       * ld/testsuite/ld-elfcomm/elfcomm.exp: Add $NOLTO_CFLAGS to CC.
+       * testsuite/ld-elfvers/vers.exp: Likewise.
+       * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
+       * testsuite/ld-gc/gc.exp: Likewise.
+       * testsuite/ld-plugin/plugin.exp: Likewise.
+       * testsuite/ld-scripts/crossref.exp: Likewise.
+       * testsuite/ld-selective/selective.exp: Likewise.
+       * testsuite/ld-undefined/undefined.exp: Likewise.
+       * testsuite/ld-srec/srec.exp: Add $NOLTO_CFLAGS to CC.  Override
+       CXXFLAGS.
+       * testsuite/lib/ld-lib.exp (run_ld_link_tests): Prepend -fno-lto
+       to cflags.
+
+2020-10-19  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/config/default.exp: Provide dummy libraries for
+       alpha-dec-vms.
+       (compiler_supports): New proc.  Use it for compiler tests.
+       * testsuite/lib/ld-lib.exp (default_ld_assemble): Don't die if
+       subdir not set.
+       (run_ld_link_tests): Pass LDFLAGS to ld.
+       * testsuite/ld-checks/checks.exp (section_check): Likewise.
+       * testsuite/ld-scripts/assert.exp: Likewise.
+       * testsuite/ld-scripts/extern.exp: Likewise.
+       * testsuite/ld-scripts/log2.exp: Likewise.
+       * testsuite/ld-scripts/map-address.exp: Likewise.
+       * testsuite/ld-scripts/script.exp: Likewise.
+       * testsuite/ld-scripts/sizeof.exp: Likewise.
+
+2020-10-16  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ldlang.c (lang_process): Add extra call to
+       lang_do_memory_regions, and pass parameter.
+       (lang_do_memory_regions): Add parameter, only define origin and
+       length when requested.  Reindent.
+       * testsuite/ld-scripts/provide-10.d: New file.
+       * testsuite/ld-scripts/provide-10.map: New file.
+       * testsuite/ld-scripts/provide-11.d: New file.
+       * testsuite/ld-scripts/provide-11.map: New file.
+       * testsuite/ld-scripts/provide-12.d: New file.
+       * testsuite/ld-scripts/provide-12.map: New file.
+       * testsuite/ld-scripts/provide-9.d: New file.
+       * testsuite/ld-scripts/provide-9.map: New file.
+       * testsuite/ld-scripts/provide-9.t: New file.
+
+2020-10-16  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld.texi (Options): Extend the description of --defsym.
+
+2020-10-16  Nick Clifton  <nickc@redhat.com>
+
+       PR 26626
+       * ldmain.c (undefined_symbol): If an error handlign script is
+       available, call it.
+       * ldfile.c  (error_handling_script): Declare.
+       (ldfile_open_file): If a library cannot be found and an error
+       handling script is available, call it.
+       * ldmain.h  (error_handling_script): Prototype.
+       * ldlex.h (OPTION_ERROR_HANDLING_SCRIPT): Define.
+       * lexsup.c (ld_options): Add --error-handling-script.
+       (parse_args): Add support for --errror-handling-script.
+       * ld.texi: Document the new feature.
+       * configure.ac: Add --error-handling-script option to disable
+       support for the new feature.
+       * NEWS: Mention the new feature.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2020-10-16  Nelson Chu  <nelson.chu@sifive.com>
+
+       * testsuite/ld-riscv-elf/ifunc-plt-got-overwrite.s: New testcase.
+       * testsuite/ld-riscv-elf/ifunc-plt-got-overwrite.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-got-overwrite-exe.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-got-overwrite-pic.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-got-overwrite-pie.rd: Likewise.
+       * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
+
+2020-10-16  Nelson Chu  <nelson.chu@sifive.com>
+
+       * emulparams/elf32lriscv-defs.sh: Add IREL_IN_PLT.
+       * testsuite/ld-ifunc/ifunc.exp: Enable ifunc tests for RISC-V.
+       * testsuite/ld-riscv-elf/ld-riscv-elf.exp (run_dump_test_ifunc):
+       New dump test for ifunc.  There are two arguments, 'target` and
+       `output`.  The `target` is rv32 or rv64, and the `output` is used
+       to choose which output you want to test (exe, pie or .so).
+       * testsuite/ld-riscv-elf/ifunc-reloc-call-01.s: New testcase.
+       * testsuite/ld-riscv-elf/ifunc-reloc-call-01.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-call-01-exe.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-call-01-pic.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-call-01-pie.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-call-02.s: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-call-02.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-call-02-exe.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-call-02-pic.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-call-02-pie.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-data.s: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-data.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-data-exe.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-data-pic.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-data-pie.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-got.s: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-got.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-got-exe.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-got-pic.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-got-pie.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-pcrel.s: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-pcrel.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-pcrel-exe.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-pcrel-pic.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-reloc-pcrel-pie.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-nonplt.s: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-nonplt.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-nonplt-exe.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-nonplt-pic.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-nonplt-pie.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-01.s: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-01.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-01-exe.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-01-pic.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-01-pie.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-02.s: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-02.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-02-exe.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-02-pic.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-plt-02-pie.rd: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-seperate-resolver.s: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-seperate-caller.s: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-seperate-exe.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-seperate-pic.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-seperate-pie.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-seperate-caller-pcrel.s: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-seperate-pcrel-pic.d: Likewise.
+       * testsuite/ld-riscv-elf/ifunc-seperate-pcrel-pie.d: Likewise.
+
+2020-10-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26703
+       * NEWS: Mention -z x86-64-v[234].
+       * ld.texi: Document -z x86-64-v[234].
+       * emulparams/elf32_x86_64.sh: Use x86-64-level.sh.
+       * emulparams/elf_i386.sh: Likewise.
+       * emulparams/elf_x86_64.sh: Likewise.
+       * emulparams/x86-64-level.sh: New file.
+       * testsuite/ld-elf/x86-feature-1a.rd: Update.
+       * testsuite/ld-elf/x86-feature-1b.rd: Likewise.
+       * testsuite/ld-elf/x86-feature-1c.rd: Likewise.
+       * testsuite/ld-elf/x86-feature-1d.rd: Likewise.
+       * testsuite/ld-elf/x86-feature-1e.rd: Likewise.
+       * testsuite/ld-i386/pr23372c.d: Likewise.
+       * testsuite/ld-i386/pr23486c.d: Likewise.
+       * testsuite/ld-i386/pr23486d.d: Likewise.
+       * testsuite/ld-i386/pr24322a.d: Likewise.
+       * testsuite/ld-i386/pr24322b.d: Likewise.
+       * testsuite/ld-i386/property-1a.r: Likewise.
+       * testsuite/ld-i386/property-2a.r: Likewise.
+       * testsuite/ld-i386/property-3.r: Likewise.
+       * testsuite/ld-i386/property-3a.r: Likewise.
+       * testsuite/ld-i386/property-4.r: Likewise.
+       * testsuite/ld-i386/property-4a.r: Likewise.
+       * testsuite/ld-i386/property-5.r: Likewise.
+       * testsuite/ld-i386/property-5a.r: Likewise.
+       * testsuite/ld-i386/property-7a.r: Likewise.
+       * testsuite/ld-i386/property-x86-3.d: Likewise.
+       * testsuite/ld-i386/property-x86-4a.d: Likewise.
+       * testsuite/ld-i386/property-x86-5.d: Likewise.
+       * testsuite/ld-i386/property-x86-cet1.d: Likewise.
+       * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
+       * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
+       * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
+       * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23372c.d: Likewise.
+       * testsuite/ld-x86-64/pr23486c.d: Likewise.
+       * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486d.d: Likewise.
+       * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24322a.d: Likewise.
+       * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24322b.d: Likewise.
+       * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24458a.d: Likewise.
+       * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24458b.d: Likewise.
+       * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr24458c.d: Likewise.
+       * testsuite/ld-x86-64/property-1a.r: Likewise.
+       * testsuite/ld-x86-64/property-2a.r: Likewise.
+       * testsuite/ld-x86-64/property-3.r: Likewise.
+       * testsuite/ld-x86-64/property-3a.r: Likewise.
+       * testsuite/ld-x86-64/property-4.r: Likewise.
+       * testsuite/ld-x86-64/property-4a.r: Likewise.
+       * testsuite/ld-x86-64/property-5.r: Likewise.
+       * testsuite/ld-x86-64/property-5a.r: Likewise.
+       * testsuite/ld-x86-64/property-7a.r: Likewise.
+       * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-3.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-5.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
+       * testsuite/ld-i386/i386.exp: Run property-x86-6,
+       property-x86-isa1, property-x86-isa2 and property-x86-isa3.
+       * testsuite/ld-i386/property-x86-1.S: Updated to the current
+       GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
+       values.
+       * testsuite/ld-i386/property-x86-2.S: Likewise.
+       * testsuite/ld-i386/property-x86-3.s: Likewise.
+       * testsuite/ld-x86-64/pr23372d.s: Likewise.
+       * testsuite/ld-x86-64/pr23372e.s: Likewise.
+       * testsuite/ld-x86-64/pr23372f.s: Likewise.
+       * testsuite/ld-x86-64/pr23486c.s: Likewise.
+       * testsuite/ld-x86-64/pr23486d.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-1.S: Likewise.
+       * testsuite/ld-x86-64/property-x86-2.S: Likewise.
+       * testsuite/ld-x86-64/property-x86-3.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-5a.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-5b.s: Likewise.
+       * testsuite/ld-i386/property-x86-6.d: New file.
+       * testsuite/ld-i386/property-x86-isa1.d: Likewise.
+       * testsuite/ld-i386/property-x86-isa2.d: Likewise.
+       * testsuite/ld-i386/property-x86-isa3.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-6-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-6.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-6.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa1-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa1.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa1.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa2-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa2.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa3-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-isa3.d: Likewise.
+       * testsuite/ld-x86-64/simple.s: Likewise.
+       * ld/testsuite/ld-x86-64/x86-64.exp: Run property-x86-6,
+       property-x86-6-x32, property-x86-isa1, property-x86-isa1-x32,
+       property-x86-isa2, property-x86-isa2-x32, property-x86-isa3-x32
+       and property-x86-isa3.
+
+2020-10-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-i386/property-3.r: Updated for Fedora binary
+       annotation plugin for GCC.
+       * testsuite/ld-i386/property-4.r: Likewise.
+       * testsuite/ld-i386/property-5.r: Likewise.
+       * testsuite/ld-x86-64/property-3.r: Likewise.
+       * testsuite/ld-x86-64/property-4.r: Likewise.
+       * testsuite/ld-x86-64/property-5.r: Likewise.
+
+2020-10-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26711
+       * testsuite/ld-i386/i386.exp: Run ld/26711 tests.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-i386/pr26711-1.d: Likewise.
+       * testsuite/ld-i386/pr26711-2.d: Likewise.
+       * testsuite/ld-i386/pr26711-3.d: Likewise.
+       * testsuite/ld-x86-64/pr26711-1-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr26711-1.d: Likewise.
+       * testsuite/ld-x86-64/pr26711-2-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr26711-2.d: Likewise.
+       * testsuite/ld-x86-64/pr26711-3-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr26711-3.d: Likewise.
+       * testsuite/ld-x86-64/pr26711.s: Likewise.
+
+2020-10-06  Brandon Bergren  <bdragon@FreeBSD.org>
+
+       * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64lppc_fbsd.c.
+       Include $(DEPDIR)/eelf64lppc_fbsd.Pc.
+       * configure.tgt: Add powerpc64le-*-freebsd*.
+       * emulparams/elf64lppc_fbsd.sh: New file.
+       * Makefile.in: Regenerate.
+       * po/BLD-POTFILES.in: Regenerate.
+
+2020-10-05  T.K. Chia  <u1049321969@caramail.com>
+
+       PR gas/26694
+       * testsuite/ld-i386/ljmp.s,
+       * testsuite/ld-i386/ljmp1.d,
+       * testsuite/ld-i386/ljmp1.s,
+       * testsuite/ld-i386/ljmp2.d,
+       * testsuite/ld-i386/ljmp2.s,
+       * testsuite/ld-x86-64/ljmp1.d,
+       * testsuite/ld-x86-64/ljmp2.d: New testcases.
+       * testsuite/ld-i386/i386.exp,
+       * testsuite/ld-x86-64/x86-64.exp: Run them.
+
+2020-10-05  Nick Clifton  <nickc@redhat.com>
+
+       * lexsup.c (parse_args): Generate an error or warning message when
+       multiple short options are used together.
+
+2020-10-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 26681
+       * testsuite/ld-elf/pr26681.s: New test.
+       * testsuite/ld-elf/pr26681.d: New test driver.
+       * testsuite/ld-elf/pr26681.l: New test output.
+
+2020-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26675
+       * plugin.c (plugin_notice): Override the IR definition before
+       all LTO symbols have been read for non-ELF targets.
+
+2020-09-30  Jeremy Drake  <sourceware-bugzilla@jdrake.com>
+
+       PR 26588
+       * emultempl/pe.em (_finish): Generate an import library for DLLs,
+       even if they have no exports.
+       * emultempl/pep.em (_finish): Likewise.
+
+2020-09-28  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/tlsget.d,
+       * testsuite/ld-powerpc/tlsget.s,
+       * testsuite/ld-powerpc/tlsget.wf,
+       * testsuite/ld-powerpc/tlsget2.d.
+       * testsuite/ld-powerpc/tlsget2.wf: New testcases.
+       * testsuite/ld-powerpc/powerpc.exp: Run them.
+
+2020-09-26  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/elfv2so.d,
+       * testsuite/ld-powerpc/notoc2.d,
+       * testsuite/ld-powerpc/tlsdesc.wf,
+       * testsuite/ld-powerpc/tlsdesc2.d,
+       * testsuite/ld-powerpc/tlsdesc2.wf,
+       * testsuite/ld-powerpc/tlsopt5.d,
+       * testsuite/ld-powerpc/tlsopt5.wf,
+       * testsuite/ld-powerpc/tlsopt6.d,
+       * testsuite/ld-powerpc/tlsopt6.wf: Update __glink_PLTresolve.
+
+2020-09-24  Alan Modra  <amodra@gmail.com>
+
+       PR 26655
+       * emultempl/ppc64elf.em (params): Add ppc_edit.
+       (ppc_before_allocation): Split off some edit functions to..
+       (ppc_edit): ..this, new function.
+
+2020-09-22  Frediano Ziglio  <fziglio@redhat.com>
+
+       * emultempl/pe.em (set_entry_point): Only use the DLL entry point
+       for DLLs.
+       * emultempl/pep.em (set_entry_point): Likewise.
+
+2020-09-16  Mikael Pettersson  <mikpelinux@gmail.com>
+
+       * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIE on sparc.
+       * testsuite/ld-elf/tls.exp: Add -Av9 to AFLAGS_PIC on sparc.
+
+2020-09-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26583
+       * testsuite/ld-x86-64/pe-x86-64-1.od: New file.
+       * testsuite/ld-x86-64/pe-x86-64-1a.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-1b.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-1c.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-2a.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-2b.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-2c.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-3a.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-3b.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-3c.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-3d.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-4a.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-4b.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-4c.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64-4d.obj.bz2: Likewise.
+       * testsuite/ld-x86-64/pe-x86-64.exp: Likewise.
+       * testsuite/lib/ld-lib.exp (run_ld_link_tests): Handle bz2 binary
+       inputs.
+
+2020-09-16  Alan Modra  <amodra@gmail.com>
+
+       * plugin.c (asymbol_from_plugin_symbol): Adjust elf_symbol_from
+       invocation.
+
+2020-09-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldelf.c (ldelf_after_open): Check bfd_target_elf_flavour first.
+
+2020-09-15  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR ld/26589
+       * testsuite/ld-elf/pr26589.d, testsuite/ld-elf/locref3.s: New test.
+
+2020-09-13  Alan Modra  <amodra@gmail.com>
+
+       PR 26391
+       * testsuite/ld-elf/pr26391.nd: Adjust to match powerpc64 function
+       descriptors.
+
+2020-09-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26391
+       * NEWS: Mention "-z unique-symbol".
+       * emultempl/elf.em (gld${EMULATION_NAME}_handle_option): Handle
+       "-z unique-symbol" and "-z nounique-symbol".
+       * ld.texi: Document "-z unique-symbol" and "-z nounique-symbol".
+       * lexsup.c (elf_static_list_options): Add "-z unique-symbol" and
+       "-z nounique-symbol".
+       * testsuite/ld-elf/elf.exp: Add PR ld/26391 tests.
+       * testsuite/ld-elf/pr26391.nd: New file.
+       * testsuite/ld-elf/pr26391.out: Likewise.
+       * testsuite/ld-elf/pr26391a.c: Likewise.
+       * testsuite/ld-elf/pr26391b.c: Likewise.
+       * testsuite/ld-elf/pr26391c.c: Likewise.
+       * testsuite/ld-elf/pr26391d.c: Likewise.
+
+2020-09-11  Jeremy Drake  <sourceware-bugzilla@jdrake.com>
+
+       PR 26588
+       * emultempl/pe.em (_finish): Only generate a import library if not
+       exporting relocs.
+       * emultempl/pep.em: Likewise.
+
+2020-09-10  Siddhesh Poyarekar  <siddesh.poyarekar@arm.com>
+
+       * testsuite/ld-aarch64/emit-relocs-560.d: Expect error instead
+       of valid output.
+
+2020-09-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26590
+       * testsuite/ld-elf/pr26590.err: New file.
+       * testsuite/ld-elf/pr26590a.c: Likewise.
+       * testsuite/ld-elf/pr26590b.c: Likewise.
+       * testsuite/ld-elf/pr26590c.c: Likewise.
+       * testsuite/ld-elf/pr26590d.c: Likewise.
+       * testsuite/ld-elf/shared.exp: Run ld/26590 tests.
+
+2020-09-10  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/pr26580-2.sd: Accept undefined symbol.
+
+2020-09-10  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-plugin/lto-18b.c (select): Remove.
+       * testsuite/ld-plugin/lto-18c.c (select): Remove.
+       * testsuite/ld-plugin/lto.exp: Build archives for lto-18 too,
+       and run static versions of the test.
+
+2020-09-09  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-plugin/lto-18a.c,
+       * testsuite/ld-plugin/lto-18b.c,
+       * testsuite/ld-plugin/lto-18c.c,
+       * testsuite/ld-plugin/lto-18d.c,
+       * testsuite/ld-plugin/lto-18.out: New test.
+       * testsuite/ld-plugin/lto.exp: Run it.
+
+2020-09-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * testsuite/ld-msp430-elf/msp430-elf.exp: Run new tests.
+       * testsuite/ld-msp430-elf/uleb128.s: New test.
+       * testsuite/ld-msp430-elf/uleb128_430.d: New test.
+       * testsuite/ld-msp430-elf/uleb128_430x.d: New test.
+
+2020-09-08  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/pr26580-a.s,
+       * testsuite/ld-elf/pr26580-b.s,
+       * testsuite/ld-elf/pr26580-1.sd,
+       * testsuite/ld-elf/pr26580-2.sd: New tests
+       * testsuite/ld-elf/comm-data.exp: Run new tests.
+       * testsuite/ld-elf/pr26580-a.c,
+       * testsuite/ld-elf/pr26580-b.c,
+       * testsuite/ld-elf/pr26580-3.out,
+       * testsuite/ld-elf/pr26580-4.out: New tests.
+       * testsuite/ld-elf/shared.exp: Run new tests.
+
+2020-09-04  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-plugin/lto.exp: Don't run pr15146 tests.
+       * testsuite/ld-plugin/pr15146.d: Delete.
+       * testsuite/ld-plugin/pr15146a.c: Delete.
+       * testsuite/ld-plugin/pr15146b.c: Delete.
+       * testsuite/ld-plugin/pr15146c.c: Delete.
+       * testsuite/ld-plugin/pr15146d.c: Delete.
+
+2020-09-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/config/default.exp: Change NOSANTIZE_CFLAGS to
+       NOSANITIZE_CFLAGS.
+       * testsuite/ld-elf/dwarf.exp: Likewise.
+       * testsuite/ld-elf/indirect.exp: Likewise.
+       * testsuite/ld-elf/linux-x86.exp: Likewise.
+       * testsuite/ld-elf/shared.exp: Likewise.
+       * testsuite/ld-elf/tls.exp: Likewise.
+       * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
+       * testsuite/ld-elfvers/vers.exp: Likewise.
+       * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
+       * testsuite/ld-elfweak/elfweak.exp: Likewise.
+       * testsuite/ld-gc/gc.exp: Likewise.
+       * testsuite/ld-plugin/lto.exp: Likewise.
+       * testsuite/ld-plugin/plugin.exp: Likewise.
+       * testsuite/ld-scripts/crossref.exp: Likewise.
+       * testsuite/ld-selective/selective.exp: Likewise.
+       * testsuite/ld-shared/shared.exp: Likewise.
+       * testsuite/ld-size/size.exp: Likewise.
+       * testsuite/ld-srec/srec.exp: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+
+2020-09-03  Nelson Chu  <nelson.chu@sifive.com>
+
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Remove
+       the useless `warnings` keywords.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
+
+2020-09-03  Nelson Chu  <nelson.chu@sifive.com>
+
+       * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update the
+       message from error to warning.
+       * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: New testcases.
+       * testsuite/ld-riscv-elf/attr-merge-arch-failed-02a.s: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-arch-failed-02b.s: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-arch-failed-02c.s: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-arch-failed-02d.s: Likewise.
+       * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
+
+2020-09-03  Kito Cheng  <kito.cheng@sifive.com>
+
+       * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Updated.
+       * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
+       * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
+
+2020-09-03  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/sysroot-prefix.exp (single_sysroot_prefix_test):
+       Log $scriptname.
+
+2020-08-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/dwarf.exp: Append $NOSANTIZE_CFLAGS to CFLAGS.
+       * testsuite/ld-elf/shared.exp: Likewise.
+       * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
+       * testsuite/ld-shared/shared.exp: Likewise.
+       * testsuite/ld-size/size.exp: Likewise.
+
+2020-08-28  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * emultempl/msp430.em (input_section_exists): New.
+       (check_array_section_alignment): New.
+       (gld${EMULATION_NAME}_finish): New.
+       * scripttempl/elf32msp430.sc: Add ALIGN directives before the
+       definition of __*_array_start symbols.
+       * testsuite/ld-msp430-elf/finiarray-warn.ld: New test.
+       * testsuite/ld-msp430-elf/finiarray-warn.r: New test.
+       * testsuite/ld-msp430-elf/initarray-nowarn.ld: New test.
+       * testsuite/ld-msp430-elf/initarray-warn.ld: New test.
+       * testsuite/ld-msp430-elf/initarray-warn.r: New test.
+       * testsuite/ld-msp430-elf/initarray.s: New test.
+       * testsuite/ld-msp430-elf/msp430-elf.exp: Run new tests.
+       * testsuite/ld-msp430-elf/preinitarray-warn.ld: New test.
+       * testsuite/ld-msp430-elf/preinitarray-warn.r: New test.
+
+2020-08-28  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * ldmisc.c (vfinfo): Support new "%pU" format specifier.
+
+2020-08-28  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * emulparams/cskyelf.sh: Support attribute section.
+       * testsuite/ld-csky/tls-le-v1.d: Match .csky.attributes section.
+       * ld/testsuite/ld-csky/tls-le.d: Likewise.
+       * testsuite/ld-elf/non-contiguous.ld: Ignore .csky.attributes
+       section.
+
+2020-08-28  Nick Clifton  <nickc@redhat.com>
+
+       PR 19011
+       * testsuite/lib/ld-lib.exp (ld_link_defsyms): For PE based targets
+       define the __main and ___main symbols in terms of the main symbol.
+
+2020-08-28  Alan Modra  <amodra@gmail.com>
+
+       PR 19011
+       * testsuite/ld-plugin/plugin.exp: Use modified CFLAGS throughout
+       file.  Add --image-base for pecoff.
+
+2020-08-28  Nelson Chu  <nelson.chu@sifive.com>
+
+       testsuite/ld-riscv-elf/lib-nopic-01a.s: Use R_RISCV_JAL rather
+       than R_RISCV_CALL.
+       testsuite/ld-riscv-elf/lib-nopic-01b.d: Likewise.
+       testsuite/ld-riscv-elf/lib-nopic-01b.s: Likewise.
+
+2020-08-27  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * emultempl/msp430.em: Remove unused variable "buf".
+
+2020-08-27  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ldlang.c (dump_ctf_errs): Unquote CTF error messages.
+       (ldlang_open_ctf): Likewise.
+       (lang_merge_ctf): Likewise.
+       (lang_write_ctf): Likewise.
+       * testsuite/ld-ctf/diag-ctf-version-f.d: Adjust.
+       * testsuite/ld-ctf/diag-cttname-invalid.d: Adjust.
+       * testsuite/ld-ctf/diag-decompression-failure.d: Adjust.
+       * testsuite/ld-ctf/diag-parname.d: Adjust.
+       * testsuite/ld-ctf/diag-unsupported-flag.d: Adjust.
+       * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Adjust.
+       * testsuite/ld-ctf/diag-wrong-magic-number.d: Adjust.
+
+2020-08-27  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ldlang.c (lang_ctf_errs_warnings): Support calls with NULL fp.
+       Adjust for new err parameter to ctf_errwarning_next.  Only
+       check for assertion failures when fp is non-NULL.
+       (ldlang_open_ctf): Call it on open errors.
+       * testsuite/ld-ctf/ctf.exp: Always use the C locale to avoid
+       breaking the diags tests.
+
+2020-08-27  Jeremy Drake  <sourceware-bugzilla@jdrake.com>
+
+       PR 19011
+       * emultempl/pe.em (DEFAULT_DLL_CHARACTERISTICS): Define.
+       (pe_dll_characteristics): Initialise to DEFAULT_DLL_CHARACTERISTICS.
+       (add_options): Add options to disable DLL characteristics.
+       (list_options): List the new options.
+       (handle_options): Handle the new options.
+       * emultempl/pep.em: Similar changes to above.
+       (NT_EXE_IMAGE_BASE): Default to an address above 4G.
+       (NT_DLL_IMAGE_BASE, NT_DLL_AUTO_IMAGE_BASE,
+       (NT_DLL_AUTO_IMAGE_MASK): Likewise.
+       * ld.texi: Document the new options.
+       * pe-dll.c (pe_dll_enable_reloc_section): Change to default to
+       true.
+       (generate_reloc): Do nothing if there is no reloc section.
+       (pe_exe_fill_sections): Only assign the reloc section contents if
+       the section exists.
+       * testsuite/ld-pe/pe.exp: Add the --disable-reloc-section flag to
+       the .secrel32 tests.
+       * testsuite/ld-scripts/provide-8.d: Expect for fail on PE targets.
+       * NEWS: Mention the change in DLL generation.
+
+2020-08-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/indirect.exp: Append $NOSANTIZE_CFLAGS to CC.
+       * testsuite/ld-elf/shared.exp: Likewise.
+       * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
+       * testsuite/ld-elfvers/vers.exp: Likewise.
+       * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
+       * testsuite/ld-elfweak/elfweak.exp: Likewise.
+       * testsuite/ld-plugin/lto.exp: Likewise.
+       * testsuite/ld-plugin/plugin.exp: Likewise.
+       * testsuite/ld-scripts/crossref.exp: Likewise.
+
+2020-08-26  Alan Modra  <amodra@gmail.com>
+
+       PR 26499
+       * emultempl/spuelf.em (spu_elf_relink): Check for NULL tmp_file_list.
+
+2020-08-26  Alan Modra  <amodra@gmail.com>
+
+       PR 26431
+       * pe-dll.c (auto_export): Don't call bsearch with zero count.
+
+2020-08-25  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-libs/libs.exp: Don't run on sh-pe, tic30 or tic54x.
+       * testsuite/ld-scripts/data.d: xfail tic4x and tic54x.
+       * testsuite/ld-scripts/empty-address-2a.d: xfail tic54x.
+       * testsuite/ld-scripts/empty-address-2b.d: Likewise.
+       * testsuite/ld-scripts/include-1.d: xfail tic4x and tic54x.
+       * testsuite/ld-scripts/provide-1.d: xfail tic54x.
+       * testsuite/ld-scripts/provide-2.d: Likewise.
+       * testsuite/ld-scripts/provide-4.d: Likewise.
+
+2020-08-24  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-sparc/tlssunbin32.rd: Update for new readelf output.
+       * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
+
+2020-08-24  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/tls32.d: Update for TPREL_HA/LO optimisation.
+       * testsuite/ld-powerpc/tlsexe32.d: Likewise.
+       * testsuite/ld-powerpc/tlsldopt32.d: Likewise.
+       * testsuite/ld-powerpc/tlsmark32.d: Likewise.
+       * testsuite/ld-powerpc/tlsopt4_32.d: Likewise.
+       * testsuite/ld-powerpc/tprel.s,
+       * testsuite/ld-powerpc/tprel.d,
+       * testsuite/ld-powerpc/tprel32.d: New tests.
+       * testsuite/ld-powerpc/tprelbad.s,
+       * testsuite/ld-powerpc/tprelbad.d: New test.
+       * testsuite/ld-powerpc/powerpc.exp: Run them.
+
+2020-08-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/26382
+       * testsuite/ld-elf/pr26302.nd: Updated.
+       * testsuite/ld-elf/pr26302.rd: New file.
+       * testsuite/ld-elf/shared.exp: Add a test for readelf -sW.
+
+2020-08-20  Nick Clifton  <nickc@redhat.com>
+
+       PR 26428
+       * testsuite/ld-elf/zlibbegin.rS: Update expected output.
+       * testsuite/ld-elf/zlibnormal.rS: Likewise.
+
+2020-08-16  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/inline.s,
+       * testsuite/ld-powerpc/inline-1.d,
+       * testsuite/ld-powerpc/inline-2.d,
+       * testsuite/ld-powerpc/inline-3.d,
+       * testsuite/ld-powerpc/inline-4.d,
+       * testsuite/ld-powerpc/inlinepcrel.s,
+       * testsuite/ld-powerpc/inlinepcrel-1.d,
+       * testsuite/ld-powerpc/inlinepcrel-2.d,
+       * testsuite/ld-powerpc/inlinepcrel-3.d: New tests.
+       * testsuite/ld-powerpc/powerpc.exp: Run them.
+
 2020-08-16  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR binutils/26389
This page took 0.029646 seconds and 4 git commands to generate.