+2020-06-29 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-x86-64/abs-k1om.d: Run only on x86_64-*-linux*.
+ * testsuite/ld-x86-64/protected2-k1om.d: Likewise.
+ * testsuite/ld-x86-64/protected3-k1om.d: Likewise.
+
+2020-06-26 Nick Alcock <nick.alcock@oracle.com>
+
+ * configure.ac [--enable-libctf]: New, default yes.
+ Set ENABLE_LIBCTF accordingly.
+ * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF.
+ * configure: Regenerate.
+ * config.in: Regenerate.
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Regenerate.
+ * ldlang.c (ctf_output): Conditionalize on ENABLE_LIBCTF.
+ (ldlang_open_ctf): Likewise.
+ (lang_merge_ctf): Likewise.
+ (ldlang_ctf_apply_strsym): Likewise.
+ (lang_write_ctf): Likewise.
+ (ldlang_write_ctf_late): Likewise.
+ (ldlang_open_ctf) [!ENABLE_LIBCTF]: Warn about the presence of CTF
+ sections.
+ (lang_merge_ctf) [!ENABLE_LIBCTF]: New stub.
+ (ldlang_ctf_apply_strsym) [!ENABLE_LIBCTF]: Likewise.
+ (lang_write_ctf) [!ENABLE_LIBCTF]: Likewise.
+ (ldlang_write_ctf_late) [!ENABLE_LIBCTF]: Likewise.
+ * ldelfgen.c (ldelf_emit_ctf_early): Conditionalize on
+ ENABLE_LIBCTF.
+ (struct ctf_strsym_iter_cb_arg): Likewise.
+ (ldelf_ctf_strtab_iter_cb): Likewise.
+ (ldelf_ctf_symbols_iter_cb): Likewise.
+ (ldelf_examine_strtab_for_ctf): Likewise.
+ (ldelf_emit_ctf_early) [!ENABLE_LIBCTF]: New stub.
+ (ldelf_examine_strtab_for_ctf) [!ENABLE_LIBCTF]: New stub.
+
+2020-06-26 Jan Beulich <jbeulich@suse.com>
+
+ * testsuite/ld-x86-64/x86-64.exp: Run K1OM tests.
+
+2020-06-26 Pat Bernardi <bernardi@adacore.com>
+
+ * testsuite/ld-m68k/attr-gnu-4-0.s: New file.
+ * testsuite/ld-m68k/attr-gnu-4-1.s: Likewise.
+ * testsuite/ld-m68k/attr-gnu-4-2.s: Likewise.
+ * testsuite/ld-m68k/attr-gnu-4-00.d: Likewise.
+ * testsuite/ld-m68k/attr-gnu-4-01.d: Likewise.
+ * testsuite/ld-m68k/attr-gnu-4-02.d: Likewise.
+ * testsuite/ld-m68k/attr-gnu-4-10.d: Likewise.
+ * testsuite/ld-m68k/attr-gnu-4-11.d: Likewise.
+ * testsuite/ld-m68k/attr-gnu-4-12.d: Likewise.
+ * testsuite/ld-m68k/attr-gnu-4-20.d: Likewise.
+ * testsuite/ld-m68k/attr-gnu-4-21.d: Likewise.
+ * testsuite/ld-m68k/attr-gnu-4-22.d: Likewise.
+ * testsuite/ld-m68k/m68k.exp: Run the new tests.
+
+2020-06-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26165
+ * lexsup.c (ld_options): Correct --dependency-file order.
+
+2020-06-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26083
+ * testsuite/ld-csky/tls-ie-v1.d: Updated.
+ * testsuite/ld-csky/tls-ie.d: Likewise.
+
+2020-06-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26083
+ * testsuite/ld-cris/libdso-15b.d: Updated.
+ * testsuite/ld-cris/libdso-1c.d: Likewise.
+ * testsuite/ld-cris/libdso-1d.d: Likewise.
+ * testsuite/ld-cris/libdso-15c.d: New file.
+
+2020-06-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/26163
+ * ldexp.c (exp_fold_tree_1): Set non_ir_ref_regular on the source
+ for assignment.
+ * testsuite/ld-plugin/lto.exp: Run ld/26163 test.
+ * testsuite/ld-plugin/pr26163a.c: New file.
+ * testsuite/ld-plugin/pr26163b.c: Likewise.
+
+2020-06-24 Alan Modra <amodra@gmail.com>
+
+ * lexsup.c (elf_shlib_list_options): Properly format help message.
+ (elf_plt_unwind_list_options): Likewise.
+ * emultempl/cskyelf.em (PARSE_AND_LIST_OPTIONS): Likewise.
+
+2020-06-23 Roland McGrath <mcgrathr@google.com>
+
+ PR 22843
+ * NEWS: Note --dependency-file.
+ * ld.texi (Options): Document --dependency-file.
+ * ldlex.h (enum option_values): Add OPTION_DEPENDENCY_FILE.
+ * ld.h (ld_config_type): New member dependency_file.
+ * lexsup.c (ld_options, parse_args): Parse --dependency-file.
+ * ldmain.c (struct dependency_file): New type.
+ (dependency_files, dependency_files_tail): New static variables.
+ (track_dependency_files): New function.
+ (write_dependency_file): New function.
+ (main): Call it when --dependency-file was passed.
+ * ldfile.c (ldfile_try_open_bfd): Call track_dependency_files.
+ (ldfile_open_command_file_1): Likewise.
+ * ldelf.c (ldelf_try_needed): Likewise.
+ * pe-dll.c (pe_implied_import_dll): Likewise.
+
+2020-06-23 Alan Modra <amodra@gmail.com>
+
+ PR 26150
+ * ldlang.c (ldlang_add_file): Assert that we aren't adding the
+ current end of link.next list again too.
+ * ldmain.c (add_archive_element): Don't load archive elements
+ again that have already been loaded.
+
+2020-06-23 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-elf/shared.exp (pr14170): Clear xfail for
+ bfin-*-linux*.
+ (pr17068, symbolic-func.so, pr22374): Likewise.
+
+2020-06-22 Nelson Chu <nelson.chu@sifive.com>
+
+ * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
+ * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Updated.
+ * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Updated.
+ * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Updated.
+ * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Updated.
+ * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Updated.
+
+2020-06-21 Alan Modra <amodra@gmail.com>
+
+ * ldfile.c: Replace uses of ENABLE_PLUGINS with BFD_SUPPORTS_PLUGINS.
+ * ldlang.c: Likewise.
+ * ldlang.h: Likewise.
+ * ldlex.h: Likewise.
+ * ldmain.c: Likewise.
+ * lexsup.c: Likewise.
+ * plugin.c: Wrap body of file in #if BFD_SUPPORTS_PLUGINS.
+ * testplug.c: Likewise.
+ * testplug2.c: Likewise.
+ * testplug3.c: Likewise.
+ * testplug4.c: Likewise.
+ * configure.ac (ENABLE_PLUGINS): Don't define AM_CONTITIONAL.
+ * Makefile.am: Remove ENABLE_PLUGINS conditionals.
+ (PLUGIN_CFLAGS): Don't define.
+ (PLUGIN_C, PLUGIN_H, PLUGIN_OBJECT): Likewise. Substitute all
+ uses with plugin file name.
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+
+2020-06-20 Alan Modra <amodra@gmail.com>
+
+ * testsuite/lib/ld-lib.exp (default_ld_compile): Don't perror on
+ a compiler error.
+ (default_ld_assemble): Similarly for an assembler error.
+ (default_ld_nm): Similarly for an nm error.
+ (run_ld_link_tests): Report ld_assemble errors as a fail.
+ (check_as_cfi): Remove now unnecessary perror substitution.
+ * testsuite/ld-elf/exclude.exp: Report ld_nm error return as test
+ fails rather then unresolved.
+ * testsuite/ld-gc/gc.exp: Likewise.
+ * testsuite/ld-scripts/alignof.exp: Likewise.
+ * testsuite/ld-scripts/defined.exp: Likewise.
+ * testsuite/ld-scripts/script.exp: Likewise.
+ * testsuite/ld-scripts/sizeof.exp: Likewise.
+ * testsuite/ld-selective/selective.exp: Likewise.
+ * testsuite/ld-scripts/extern.exp: Likewise. Return on ld_link
+ failure.
+ * testsuite/ld-elfweak/elfweak.exp: Report compiler errors as
+ test unresolved.
+ * testsuite/ld-fastcall/fastcall.exp: Report assember errors as
+ test fails.
+ * testsuite/ld-i386/i386.exp (iamcu_tests): Likewise.
+ * testsuite/ld-ia64/line.exp: Likewise.
+ * testsuite/ld-mep/mep.exp: Likewise.
+ * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
+ * testsuite/ld-nios2/nios2.exp: Likewise.
+ * testsuite/ld-scripts/alignof.exp: Likewise.
+ * testsuite/ld-x86-64/line.exp: Likewise.
+ * testsuite/ld-x86-64/x86-64.exp: Likewise.
+ * testsuite/ld-scripts/log2.exp: Formatting.
+ * testsuite/ld-tic6x/tic6x.exp: Report ld_link errors as a test fail.
+
+2020-06-20 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-alpha/alpha.exp: Exclude *ecoff targets.
+ * testsuite/ld-elf/binutils.exp: Likewise.
+ * testsuite/ld-elf/tls.exp: Likewise.
+ * testsuite/ld-elf/tls_common.exp: Likewise.
+ * testsuite/ld-scripts/phdrs2.exp: Likewise.
+
+2020-06-20 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-sh/sh.exp: Don't run relax tests for non-ELF.
+ Fail when ld_assemble fails. Use elseif to reduce indentation.
+
2020-06-19 Alan Modra <amodra@gmail.com>
* testsuite/ld-elf/dynamic-1.rd: Accept st_other notations.
* testsuite/ld-elf/pr9679.rd: Likewise.
* testsuite/ld-elfvers/vers30.dsym: Likewise.
* testsuite/ld-elfvers/vers31.dsym: Likewise.
+ * testsuite/ld-plugin/pr22983.1.d: Likewise.
+ * testsuite/ld-plugin/pr22983.2.d: Likewise.
* testsuite/ld-plugin/pr22983.3.d: Likewise.
+ * testsuite/ld-plugin/pr22983.4.d: Likewise.
* testsuite/ld-ifunc/ifunc.exp: Exclude alpha.
2020-06-19 Alan Modra <amodra@gmail.com>