+2020-11-26 Alan Modra <amodra@gmail.com>
+
+ PR 26936
+ * testsuite/ld-elf/pr26936.d: Pass --gen-debug to gas rather than -g.
+ Only run when -shared -z options are supported.
+ * testsuite/ld-elf/pr26936b.s: Define more entry symbols.
+
+2020-11-25 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26936
+ * testsuite/ld-elf/pr26936.d: New file.
+ * testsuite/ld-elf/pr26936a.s: Likewise.
+ * testsuite/ld-elf/pr26936b.s: Likewise.
+ * testsuite/ld-elf/pr26936c.s: Likewise.
+
+2020-11-25 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (lang_output_section_statement_lookup): Change "create"
+ parameter to a tristate, if 2 then always create a new output
+ section statement. Update all callers, with
+ lang_enter_output_section_statement using "2".
+ (map_input_to_output_sections): Don't ignore SPECIAL constraint
+ here.
+ * ldlang.h (lang_output_section_statement_type): Update prototype.
+ (lang_output_section_find): Update.
+
+2020-11-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gold/26939
+ * testsuite/ld-x86-64/pr26939-x32.d: New file.
+ * testsuite/ld-x86-64/pr26939.d: Likewise.
+ * testsuite/ld-x86-64/pr26939.s: Likewise.
+ * testsuite/ld-x86-64/x86-64.exp: Run PR gold/26939 tests.
+
+2020-11-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26918
+ * testsuite/ld-s390/pr26918-1.d: New file.
+ * testsuite/ld-s390/pr26918-1.s: Likewise.
+ * testsuite/ld-s390/s390.exp: Run all *.d tests.
+
+2020-11-23 Shahab Vahedi <shahab@synopsys.org>
+
+ * testsuite/ld-arc/tls_ie-01.d: Use a more general pattern.
+
+2020-11-21 Nelson Chu <nelson.chu@sifive.com>
+
+ * emultempl/riscvelf.em (riscv_elf_before_allocation): Change
+ link_info.relax_pass from 3 to 4.
+ * testsuite/ld-riscv-elf/pcgp-relax.d: New testcase.
+ * testsuite/ld-riscv-elf/pcgp-relax.s: Likewise.
+ * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
+
+2020-11-20 Nick Alcock <nick.alcock@oracle.com>
+
+ * testsuite/ld-ctf/data-func-conflicted.d: Shrink the expected
+ size of the type section now that function types are being
+ deduplicated properly.
+
+2020-11-20 Nick Alcock <nick.alcock@oracle.com>
+
+ * testsuite/ld-ctf/array.d: Adjust for nonzero flags word and
+ public symbols in the data section rather than variables: use
+ sysv hash style to keep test results the same on non-GNU targets.
+ * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
+ * testsuite/ld-ctf/diag-cuname.d: Likewise.
+ * testsuite/ld-ctf/diag-parlabel.d: Likewise.
+ * testsuite/ld-ctf/slice.d: Likewise.
+ * testsuite/ld-ctf/function.d: Likewise, but in the function section.
+ * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Adjust for nonzero
+ flags word.
+ * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
+ * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
+ * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
+ * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
+ * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
+ * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
+ * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
+ * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
+ * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
+ * testsuite/ld-ctf/cycle-1.d: Likewise.
+ * testsuite/ld-ctf/cycle-2.A.d: Likewise.
+ * testsuite/ld-ctf/cycle-2.B.d: Likewise.
+ * testsuite/ld-ctf/cycle-2.C.d: Likewise.
+ * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
+ * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
+ * testsuite/ld-ctf/data-func-1.c: New test.
+ * testsuite/ld-ctf/data-func-2.c: Likewise.
+ * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
+
+2020-11-20 Nick Alcock <nick.alcock@oracle.com>
+
+ * ldelfgen.c (struct ctf_strsym_iter_cb_arg): Rename to...
+ (struct ctf_strtab_iter_cb_arg): ... this, changing fields:
+ <syms>: Remove.
+ <symcount>: Remove.
+ <symstrtab>: Rename to...
+ <strtab>: ... this.
+ (ldelf_ctf_strtab_iter_cb): Adjust.
+ (ldelf_ctf_symbols_iter_cb): Remove.
+ (ldelf_new_dynsym_for_ctf): New, tell libctf about a single
+ symbol.
+ (ldelf_examine_strtab_for_ctf): Rename to...
+ (ldelf_acquire_strings_for_ctf): ... this, only doing the strtab
+ portion and not symbols.
+ * ldelfgen.h: Adjust declarations accordingly.
+ * ldemul.c (ldemul_examine_strtab_for_ctf): Rename to...
+ (ldemul_acquire_strings_for_ctf): ... this.
+ (ldemul_new_dynsym_for_ctf): New.
+ * ldemul.h: Adjust declarations accordingly.
+ * ldlang.c (ldlang_ctf_apply_strsym): Rename to...
+ (ldlang_ctf_acquire_strings): ... this.
+ (ldlang_ctf_new_dynsym): New.
+ (lang_write_ctf): Call ldemul_new_dynsym_for_ctf with NULL to do
+ the actual symbol shuffle.
+ * ldlang.h (struct elf_strtab_hash): Adjust accordingly.
+ * ldmain.c (bfd_link_callbacks): Wire up new/renamed callbacks.
+
+ * emultempl/aix.em: Adjust for emulation changes:
+ ldemul_examine_strtab_for_ctf renamed to
+ ldemul_acquire_strings_for_ctf, new ldemul_new_dynsym_for_ctf.
+ * emultempl/armcoff.em: Likewise.
+ * emultempl/beos.em: Likewise.
+ * emultempl/elf.em: Likewise.
+ * emultempl/elf-generic.em: Likewise.
+ * emultempl/linux.em: Likewise.
+ * emultempl/msp430.em: Likewise.
+ * emultempl/pe.em: Likewise.
+ * emultempl/pep.em: Likewise.
+ * emultempl/ticoff.em: Likewise.
+ * emultempl/vanilla.em: Likewise.
+
+2020-11-20 Nick Alcock <nick.alcock@oracle.com>
+
+ * ldlang.c (ctf_output): This is a ctf_dict_t now.
+ (lang_ctf_errs_warnings): Rename ctf_file_t to ctf_dict_t.
+ (ldlang_open_ctf): Adjust comment.
+ (lang_merge_ctf): Use ctf_dict_close, not ctf_file_close.
+ * ldelfgen.h (ldelf_examine_strtab_for_ctf): Rename ctf_file_t to
+ ctf_dict_t. Change opaque declaration accordingly.
+ * ldelfgen.c (ldelf_examine_strtab_for_ctf): Adjust.
+ * ldemul.h (examine_strtab_for_ctf): Likewise.
+ (ldemul_examine_strtab_for_ctf): Likewise.
+ * ldeuml.c (ldemul_examine_strtab_for_ctf): Likewise.
+
+2020-11-20 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * testsuite/ld-elf/retain3.s: Move symbolic reference into writeable
+ .data section from read-only .text section.
+ * testsuite/ld-elf/retain5.d: Don't pass --print-gc-sections for test
+ that doesn't require it.
+ * testsuite/ld-elf/retain6a.d: Adjust test.
+ * testsuite/ld-elf/retain6main.s: Move symbolic reference into writeable
+ .data section from read-only .text section.
+
+2020-11-18 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-powerpc/group1.d,
+ * testsuite/ld-powerpc/group1.s,
+ * testsuite/ld-powerpc/group1.sym,
+ * testsuite/ld-powerpc/group2.d,
+ * testsuite/ld-powerpc/group2.s,
+ * testsuite/ld-powerpc/group2.sym,
+ * testsuite/ld-powerpc/group3.s,
+ * testsuite/ld-powerpc/group3.sym: New test files.
+ * testsuite/ld-powerpc/powerpc.exp: Run new tests.
+
+2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * NEWS: Announce support for SHF_GNU_RETAIN.
+ * ld.texi (garbage collection): Document SHF_GNU_RETAIN.
+ (Output Section Discarding): Likewise.
+ * testsuite/ld-elf/elf.exp: Run new tests.
+ * testsuite/ld-elf/retain1.s: New test.
+ * testsuite/ld-elf/retain1a.d: New test.
+ * testsuite/ld-elf/retain1b.d: New test.
+ * testsuite/ld-elf/retain2.d: New test.
+ * testsuite/ld-elf/retain2.ld: New test.
+ * testsuite/ld-elf/retain2.map: New test.
+ * testsuite/ld-elf/retain3.d: New test.
+ * testsuite/ld-elf/retain3.s: New test.
+ * testsuite/ld-elf/retain4.d: New test.
+ * testsuite/ld-elf/retain4.s: New test.
+ * testsuite/ld-elf/retain5.d: New test.
+ * testsuite/ld-elf/retain5.map: New test.
+ * testsuite/ld-elf/retain5lib.s: New test.
+ * testsuite/ld-elf/retain5main.s: New test.
+ * testsuite/ld-elf/retain6a.d: New test.
+ * testsuite/ld-elf/retain6b.d: New test.
+ * testsuite/ld-elf/retain6lib.s: New test.
+ * testsuite/ld-elf/retain6main.s: New test.
+
+2020-11-17 Alan Modra <amodra@gmail.com>
+
+ PR 26882
+ * testsuite/ld-powerpc/dotsym3.d: Add "-z notext" to ld options.
+ * testsuite/ld-powerpc/dotsym4.d: Likewise.
+ * testsuite/ld-powerpc/ppc476-shared.d: Likewise.
+ * testsuite/ld-powerpc/ppc476-shared2.d: Likewise.
+ * testsuite/ld-powerpc/powerpc.exp: Likewise for various tests.
+ * testsuite/ld-undefined/weak-fundef.s: Add BLPLT variant.
+ * testsuite/ld-undefined/weak-undef.exp: Define BLPLT for ppc32.
+
+2020-11-16 Nick Clifton <nickc@redhat.com>
+
+ * po/es.po: Updated Spanish translation.
+
+2020-11-16 Shahab Vahedi <shahab@synopsys.org>
+
+ * testsuite/ld-arc/tls_ie-01.d: Update the dump command.
+
+2020-11-14 Borislav Petkov <bp@suse.de>
+
+ * testsuite/ld-x86-64/pe-x86-64-4.od: Adjust regexes.
+ * testsuite/ld-x86-64/tlsld3.dd: Likewise.
+ * testsuite/ld-x86-64/tlsld4.dd: Likewise.
+
+2020-11-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26869
+ * ldelf.c (ldelf_before_allocation): Set rel_from_abs to 1 for
+ __ehdr_start.
+ * testsuite/ld-i386/i386.exp: Run pr26869.
+ * testsuite/ld-i386/pr26869.d: New file.
+ * testsuite/ld-i386/pr26869.s: Likewise.
+
+2020-11-09 Andreas Schwab <schwab@linux-m68k.org>
+
+ * Makefile.am (development.exp): Fix regexp.
+ * Makefile.in: Regenerate.
+
+2020-11-06 Nick Clifton <nickc@redhat.com>
+
+ * lexsup.c (parse_args): Add more checks of the mapfile. If it is
+ a directory use the basename of the output file as the file
+ component. If the % character is present, replace it with the
+ full output filepath.
+ * testsuite/ld-scripts/map-address.exp: Add test of %
+ functionality.
+ * ld.texi: Document the new behaviour.
+
+2020-11-06 Nick Clifton <nickc@redhat.com>
+
+ * po/sr.po: Updated Serbian translation.
+
+2020-11-03 Nick Clifton <nickc@redhat.com>
+
+ * emulparams/x86-64-level.sh
+ (PARSE_AND_LIST_ARGS_CASE_Z_X86_64_LEVEL): Fix indentation.
+
+2020-11-02 Alan Modra <amodra@gmail.com>
+
+ PR 26806
+ * testsuite/ld-plugin/lto-19.h,
+ * testsuite/ld-plugin/lto-19a.c,
+ * testsuite/ld-plugin/lto-19b.c,
+ * testsuite/ld-plugin/lto-19c.c: New test.
+ * testsuite/ld-plugin/pr26806.c,
+ * testsuite/ld-plugin/pr26806.d: New test.
+ * testsuite/ld-plugin/lto.exp: Run them.
+
+2020-10-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/26703
+ * NEWS: Mention -z x86-64-baseline.
+ * ld.texi: Document -z x86-64-baseline.
+ * emulparams/x86-64-level.sh: Handle -z x86-64-baseline.
+ * 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-isa1.d: Likewise.
+ * testsuite/ld-i386/property-x86-isa2.d: Likewise.
+ * testsuite/ld-i386/property-x86-isa3.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-x32.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-isa1-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-isa1.d: 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/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-isa4.
+ * testsuite/ld-i386/property-x86-isa4.d: New file.
+ * testsuite/ld-x86-64/property-x86-isa4-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-isa4.d: Likewise.
+ * ld/testsuite/ld-x86-64/x86-64.exp: Run property-x86-isa4
+ and property-x86-isa4-x32.
+
+2020-10-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elfweak/elfweak.exp: Pass $NOLTO_CFLAGS to CC.
+
+2020-10-26 Nick Clifton <nickc@redhat.com>
+
+ PR 26626
+ * ldmain.c (undefined_symbol): Use the keyword undefined-symbol
+ when invoking the error handling script for undefined symbols.
+ * ld.texi: Update documentation.
+
+2020-10-26 Cooper Qu <cooper.qu@linux.alibaba.com>
+
+ * emulparams/cskyelf.sh (TEXT_START_ADDR): Change to 0x60000000.
+ (DATA_ADDR) : Define.
+ (OTHER_SYMBOLS) : Define.
+ (OTHER_BSS_SYMBOLS) : Set symbol __sbss__.
+ (OTHER_BSS_END_SYMBOLS) : Set symbol __ebss__.
+ * ld/emulparams/cskyelf_linux.sh : Don't include cskyelf.sh.
+ * testsuite/ld-csky/data.d : Fix '/s*' to match spaces.
+ * testsuite/ld-csky/hilo16.d : Likewise.
+
+2020-10-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/config/default.exp (plug_opt): Set only if compiler
+ is available.
+
+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