]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/ChangeLog
ld: optionally emit _etext last, before .data
[thirdparty/binutils-gdb.git] / ld / ChangeLog
index 6aeafe69d76c16caae0625f4e9d2877dbe371abf..37a94aa88068dbb356d3dce403ee06100a3df13e 100644 (file)
@@ -1,3 +1,986 @@
+2020-07-19  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * scripttempl/elf.sc (ETEXT_LAST_IN_RODATA_SEGMENT): New variable.
+       * emulparams/elf64mmix.sh (ETEXT_LAST_IN_RODATA_SEGMENT): Define.
+       * testsuite/ld-mmix/sec-1.d: Adjust.
+
+2020-07-19  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/ppc64elf.em (power10-stubs): Accept optional "auto" arg.
+       * ld.texi (power10-stubs): Update.
+       * testsuite/ld-powerpc/callstub-1.d: Force --power10-stubs.
+       * testsuite/ld-powerpc/callstub-2.d: Relax branch offset comparison.
+       * testsuite/ld-powerpc/callstub-4.d: New test.
+       * testsuite/ld-powerpc/notoc.d: Force --no-power10-stubs.
+       * testsuite/ld-powerpc/notoc3.d,
+       * testsuite/ld-powerpc/notoc3.s,
+       * testsuite/ld-powerpc/notoc3.wf: New test.
+       * testsuite/ld-powerpc/powerpc.exp: Run new tests.  Pass
+       --no-power10-stubs for notoc link.
+
+2020-07-17  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * scripttempt/mmo.sc: Move .init first in .text output section.
+       * testsuite/ld-mmix/bpo-9m.d: Adjust accordingly.
+
+2020-07-15  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/ld-i386/ibt-plt-1.d, testsuite/ld-i386/ibt-plt-2a.d,
+       testsuite/ld-i386/ibt-plt-2c.d, testsuite/ld-i386/ibt-plt-3a.d,
+       testsuite/ld-i386/ibt-plt-3c.d, testsuite/ld-i386/plt-pic.pd,
+       testsuite/ld-i386/plt-pic2.dd, testsuite/ld-i386/plt.pd,
+       testsuite/ld-i386/plt2.dd, testsuite/ld-i386/pr19636-1d.d,
+       testsuite/ld-i386/pr19636-1l.d, testsuite/ld-i386/pr19636-2c.d,
+       testsuite/ld-i386/pr20830.d, testsuite/ld-i386/vxworks1-lib.dd,
+       testsuite/ld-i386/vxworks1.dd,
+       testsuite/ld-ifunc/ifunc-2-i386-now.d,
+       testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
+       testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d,
+       testsuite/ld-ifunc/ifunc-2-x86-64-now.d,
+       testsuite/ld-ifunc/ifunc-21-x86-64.d,
+       testsuite/ld-ifunc/ifunc-22-x86-64.d,
+       testsuite/ld-ifunc/pr17154-i386-now.d,
+       testsuite/ld-ifunc/pr17154-i386.d,
+       testsuite/ld-ifunc/pr17154-x86-64-now.d,
+       testsuite/ld-ifunc/pr17154-x86-64.d,
+       testsuite/ld-x86-64/align-branch-1.d,
+       testsuite/ld-x86-64/bnd-branch-1-now.d,
+       testsuite/ld-x86-64/bnd-branch-1.d,
+       testsuite/ld-x86-64/bnd-ifunc-1-now.d,
+       testsuite/ld-x86-64/bnd-ifunc-1.d,
+       testsuite/ld-x86-64/bnd-ifunc-2-now.d,
+       testsuite/ld-x86-64/bnd-ifunc-2.d,
+       testsuite/ld-x86-64/bnd-plt-1-now.d,
+       testsuite/ld-x86-64/bnd-plt-1.d,
+       testsuite/ld-x86-64/call1a.d, testsuite/ld-x86-64/call1b.d,
+       testsuite/ld-x86-64/call1d.d, testsuite/ld-x86-64/call1e.d,
+       testsuite/ld-x86-64/call1f.d, testsuite/ld-x86-64/call1g.d,
+       testsuite/ld-x86-64/call1h.d, testsuite/ld-x86-64/call1i.d,
+       testsuite/ld-x86-64/gotpcrel1.dd,
+       testsuite/ld-x86-64/hidden2.d,
+       testsuite/ld-x86-64/ibt-plt-1-x32.d,
+       testsuite/ld-x86-64/ibt-plt-1.d,
+       testsuite/ld-x86-64/ibt-plt-2a-x32.d,
+       testsuite/ld-x86-64/ibt-plt-2a.d,
+       testsuite/ld-x86-64/ibt-plt-2c-x32.d,
+       testsuite/ld-x86-64/ibt-plt-2c.d,
+       testsuite/ld-x86-64/ibt-plt-3a-x32.d,
+       testsuite/ld-x86-64/ibt-plt-3a.d,
+       testsuite/ld-x86-64/ibt-plt-3c-x32.d,
+       testsuite/ld-x86-64/ibt-plt-3c.d,
+       testsuite/ld-x86-64/libno-plt-1b.dd,
+       testsuite/ld-x86-64/mpx3.dd, testsuite/ld-x86-64/mpx3n.dd,
+       testsuite/ld-x86-64/mpx4.dd, testsuite/ld-x86-64/mpx4n.dd,
+       testsuite/ld-x86-64/no-plt-1a.dd,
+       testsuite/ld-x86-64/no-plt-1b.dd,
+       testsuite/ld-x86-64/no-plt-1c.dd,
+       testsuite/ld-x86-64/no-plt-1d.dd,
+       testsuite/ld-x86-64/no-plt-1e.dd,
+       testsuite/ld-x86-64/no-plt-1f.dd,
+       testsuite/ld-x86-64/no-plt-1g.dd,
+       testsuite/ld-x86-64/plt-main-bnd.dd,
+       testsuite/ld-x86-64/plt-main-ibt-x32.dd,
+       testsuite/ld-x86-64/plt-main-ibt.dd,
+       testsuite/ld-x86-64/plt.pd, testsuite/ld-x86-64/plt2.dd,
+       testsuite/ld-x86-64/pr19609-5a.d,
+       testsuite/ld-x86-64/pr19609-5b.d,
+       testsuite/ld-x86-64/pr19609-5c.d,
+       testsuite/ld-x86-64/pr19609-5e.d,
+       testsuite/ld-x86-64/pr19609-7b.d,
+       testsuite/ld-x86-64/pr19609-7d.d,
+       testsuite/ld-x86-64/pr19636-2d.d,
+       testsuite/ld-x86-64/pr19636-2l.d,
+       testsuite/ld-x86-64/pr20253-1b.d,
+       testsuite/ld-x86-64/pr20253-1d.d,
+       testsuite/ld-x86-64/pr20253-1f.d,
+       testsuite/ld-x86-64/pr20253-1h.d,
+       testsuite/ld-x86-64/pr20253-1j.d,
+       testsuite/ld-x86-64/pr20253-1l.d,
+       testsuite/ld-x86-64/pr20830a-now.d,
+       testsuite/ld-x86-64/pr20830a.d,
+       testsuite/ld-x86-64/pr20830b-now.d,
+       testsuite/ld-x86-64/pr20830b.d,
+       testsuite/ld-x86-64/pr21038a-now.d,
+       testsuite/ld-x86-64/pr21038a.d,
+       testsuite/ld-x86-64/pr21038b-now.d,
+       testsuite/ld-x86-64/pr21038b.d,
+       testsuite/ld-x86-64/pr21038c-now.d,
+       testsuite/ld-x86-64/pr21038c.d,
+       testsuite/ld-x86-64/pr23930-x32.d,
+       testsuite/ld-x86-64/pr23930.d,
+       testsuite/ld-x86-64/pr25416-1a.d,
+       testsuite/ld-x86-64/pr25416-2a.d,
+       testsuite/ld-x86-64/pr26018.d,
+       testsuite/ld-x86-64/protected2-k1om.d,
+       testsuite/ld-x86-64/protected2-l1om.d,
+       testsuite/ld-x86-64/protected2.d,
+       testsuite/ld-x86-64/protected3.d,
+       testsuite/ld-x86-64/protected8.d,
+       testsuite/ld-x86-64/tlsbin.dd, testsuite/ld-x86-64/tlsbin2.dd,
+       testsuite/ld-x86-64/tlsbindesc.dd,
+       testsuite/ld-x86-64/tlsdesc.dd,
+       testsuite/ld-x86-64/tlsdesc.pd,
+       testsuite/ld-x86-64/tlsgd10.dd,
+       testsuite/ld-x86-64/tlsgd7.dd, testsuite/ld-x86-64/tlsgd8.dd,
+       testsuite/ld-x86-64/tlsgd9.dd,
+       testsuite/ld-x86-64/tlsgdesc.dd,
+       testsuite/ld-x86-64/tlsld3.dd, testsuite/ld-x86-64/tlsld4.dd,
+       testsuite/ld-x86-64/tlspic.dd, testsuite/ld-x86-64/tlspic2.dd,
+       testsuite/ld-x86-64/tlspie2b.d, testsuite/ld-x86-64/tlspie2c.d:
+       Adjust expectations.
+
+2020-07-15  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * testsuite/ld-mmix/undef-1.d, testsuite/ld-mmix/undef-1m.d,
+       testsuite/ld-mmix/undef-2.d, testsuite/ld-mmix/undef-2m.d: Add
+       start- and end-anchors to error-string to match just a
+       single-line error-message.
+
+2020-07-13  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/default-script1.d: Don't skip, xfail
+       using is_pecoff_format.
+       * testsuite/ld-scripts/default-script2.d: Likewise.
+       * testsuite/ld-scripts/default-script3.d: Likewise.
+       * testsuite/ld-scripts/default-script4.d: Likewise.
+       * testsuite/ld-scripts/pr20302.d: Remove x86_64-*-cygwin from notarget.
+       * testsuite/ld-scripts/provide-6.d: Remove x86_64-*-cygwin from xfail.
+       * testsuite/ld-scripts/provide-8.d: Likewise.
+
+2020-07-10  Alan Modra  <amodra@gmail.com>
+
+       * ld.texi (PowerPC64 ELF64): Document --no-inline-optimize,
+       --power10-stubs and --no-power10-stubs.
+
+2020-07-10  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/ppc64elf.em (params): Init new field.
+       (enum ppc64_opt): Add OPTION_POWER10_STUBS and OPTION_NO_POWER10_STUBS.
+       (PARSE_AND_LIST_LONGOPTS): Support --power10-stubs and
+       --no-power10-stubs.
+       (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
+       * testsuite/ld-powerpc/callstub-3.d: New test.
+       * testsuite/ld-powerpc/powerpc.exp: Run it.
+
+2020-07-09  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/ppcpe.sh: Delete.
+       * scripttempl/ppcpe.sc: Delete.
+       * emulparams/ppclynx.sh: Delete.
+       * Makefile.am (ALL_EMULATION_SOURCES): Remove ppc PE and lynxos.
+       * configure.tgt: Likewise.
+       * emultempl/beos.em: Remove powerpc PE support.
+       * emultempl/pe.em: Likewise.
+       * po/BLD-POTFILES.in: Regenerate.
+       * Makefile.in: Regenerate.
+
+2020-07-09  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-gc/gc.exp: Don't set -mminimal-toc for powerpc64,
+       and remove powerpc64 xfail.  Use -fno-PIE for ppc32.
+
+2020-07-09  Alan Modra  <amodra@gmail.com>
+
+       PR 18841
+       * testsuite/ld-ifunc/ifunc.exp: Run pr18841 tests non-pie.
+
+2020-07-08  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (ar_simple_create): Pass options before
+       ar command.
+       * testsuite/ld-powerpc/aix52.exp: Run for rs6000-aix5.2.  Update
+       match files.
+       * testsuite/ld-powerpc/aix-abs-branch-1.dd: Update.
+       * testsuite/ld-powerpc/aix-core-sec-1.hd: Update.
+       * testsuite/ld-powerpc/aix-gc-1-32.dd: Update.
+       * testsuite/ld-powerpc/aix-gc-1-64.dd: Update.
+       * testsuite/ld-powerpc/aix-glink-1-32.dd: Update.
+       * testsuite/ld-powerpc/aix-glink-1-64.dd: Update.
+       * testsuite/ld-powerpc/aix-glink-2-32.dd: Update.
+       * testsuite/ld-powerpc/aix-glink-2-64.dd: Update.
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-rel.rd: Update.
+       * testsuite/ld-powerpc/aix-ref-1-32.od: Update.
+       * testsuite/ld-powerpc/aix-ref-1-64.od: Update.
+       * testsuite/ld-powerpc/aix-toc-1-32.dd: Update.
+       * testsuite/ld-powerpc/aix-toc-1-64.dd: Update.
+       * testsuite/ld-powerpc/aix-weak-3-32.dd: Update.
+       * testsuite/ld-powerpc/aix-weak-3-64.dd: Update.
+       * testsuite/ld-powerpc/aix-abs-branch-1.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-abs-branch-1-32.nd,
+       * testsuite/ld-powerpc/aix-abs-branch-1-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-abs-reloc-1.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-abs-reloc-1-32.nd,
+       * testsuite/ld-powerpc/aix-abs-reloc-1-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-abs-reloc-1.od: Delete, replace with..
+       * testsuite/ld-powerpc/aix-abs-reloc-1-32.od,
+       * testsuite/ld-powerpc/aix-abs-reloc-1-64.od: ..these new files.
+       * testsuite/ld-powerpc/aix-export-1-all.dd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-export-1-all-32.dd,
+       * testsuite/ld-powerpc/aix-export-1-all-64.dd: ..these new files.
+       * testsuite/ld-powerpc/aix-export-1-full.dd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-export-1-full-32.dd,
+       * testsuite/ld-powerpc/aix-export-1-full-64.dd: ..these new files.
+       * testsuite/ld-powerpc/aix-export-2.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-export-2-32.nd,
+       * testsuite/ld-powerpc/aix-export-2-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-gc-1.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-gc-1-32.nd,
+       * testsuite/ld-powerpc/aix-gc-1-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-glink-3.dd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-glink-3-32.dd,
+       * testsuite/ld-powerpc/aix-glink-3-64.dd: ..these new files.
+       * testsuite/ld-powerpc/aix-lineno-1a.dd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-lineno-1a-32.dd,
+       * testsuite/ld-powerpc/aix-lineno-1a-64.dd: ..these new files.
+       * testsuite/ld-powerpc/aix-lineno-1a.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-lineno-1a-32.nd,
+       * testsuite/ld-powerpc/aix-lineno-1a-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-lineno-1b.dd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-lineno-1b-32.dd,
+       * testsuite/ld-powerpc/aix-lineno-1b-64.dd: ..these new files.
+       * testsuite/ld-powerpc/aix-lineno-1b.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-lineno-1b-32.nd,
+       * testsuite/ld-powerpc/aix-lineno-1b-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso.dnd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-32.dnd,
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-64.dnd: ..these new files.
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso.drd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-32.drd,
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-64.drd: ..these new files.
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-32.nd,
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso.rd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-32.rd,
+       * testsuite/ld-powerpc/aix-no-dup-syms-1-dso-64.rd: ..these new files.
+       * testsuite/ld-powerpc/aix-weak-1-dso.dnd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-weak-1-dso-32.dnd,
+       * testsuite/ld-powerpc/aix-weak-1-dso-64.dnd: ..these new files.
+       * testsuite/ld-powerpc/aix-weak-1-dso.hd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-weak-1-dso-32.hd,
+       * testsuite/ld-powerpc/aix-weak-1-dso-64.hd: ..these new files.
+       * testsuite/ld-powerpc/aix-weak-1-dso.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-weak-1-dso-32.nd,
+       * testsuite/ld-powerpc/aix-weak-1-dso-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-weak-1-gcdso.dnd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-weak-1-gcdso-32.dnd,
+       * testsuite/ld-powerpc/aix-weak-1-gcdso-64.dnd: ..these new files.
+       * testsuite/ld-powerpc/aix-weak-1-gcdso.hd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-weak-1-gcdso-32.hd,
+       * testsuite/ld-powerpc/aix-weak-1-gcdso-64.hd: ..these new files.
+       * testsuite/ld-powerpc/aix-weak-1-gcdso.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-weak-1-gcdso-32.nd,
+       * testsuite/ld-powerpc/aix-weak-1-gcdso-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-weak-2a.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-weak-2a-32.nd,
+       * testsuite/ld-powerpc/aix-weak-2a-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-weak-2b.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-weak-2b-32.nd,
+       * testsuite/ld-powerpc/aix-weak-2b-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-weak-2c.nd: Delete, replace with..
+       * testsuite/ld-powerpc/aix-weak-2c-32.nd,
+       * testsuite/ld-powerpc/aix-weak-2c-64.nd: ..these new files.
+       * testsuite/ld-powerpc/aix-weak-2c.od: Delete, replace with..
+       * testsuite/ld-powerpc/aix-weak-2c-32.od,
+       * testsuite/ld-powerpc/aix-weak-2c-64.od: ..these new files.
+
+2020-07-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/section-match-1.d: xfail h8300.
+
+2020-07-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/align.exp: Don't exclude xcoff.  Pass
+       -bnogc ld option for xcoff.
+       * testsuite/ld-scripts/provide.exp: Likewise.
+       * testsuite/ld-scripts/data.exp: Pass -bnogc ld option for xcoff.
+       * testsuite/ld-scripts/default-script.exp: Likewise.
+       * testsuite/ld-scripts/defined.exp: Likewise.
+       * testsuite/ld-scripts/empty-address.exp: Likewise.
+       * testsuite/ld-scripts/expr.exp: Likewise.
+       * testsuite/ld-scripts/include.exp: Likewise.
+       * testsuite/ld-scripts/script.exp: Likewise.
+       * testsuite/ld-scripts/assign-loc.d: Don't exclude xcoff.
+       * testsuite/ld-scripts/defined3.d: Likewise.
+       * testsuite/ld-scripts/defined4.d: Likewise.
+       * testsuite/ld-scripts/pr18963.d: Likewise.
+       * testsuite/ld-scripts/sane1.d: Likewise.
+       * testsuite/ld-scripts/segment-start.d: Likewise.
+       * testsuite/ld-scripts/include-1.d: Likewise, and relax text vma.
+       * testsuite/ld-scripts/defined5.d: Update xfail and comment.
+       * testsuite/ld-scripts/defined5.s: Tweak "defined" to be at
+       non-zero section offset.
+       * testsuite/ld-scripts/fill16.d: xfail for xcoff.
+       * testsuite/ld-scripts/provide-2.d: Accept more symbols.
+       * testsuite/ld-scripts/provide-4.d: Likewise.
+       * testsuite/ld-scripts/provide-5.d: Likewise.
+       * testsuite/ld-scripts/provide-6.d: Likewise.
+       * testsuite/ld-scripts/provide-7.d: Likewise.
+       * testsuite/ld-scripts/align.t: Accept xcoff mapped .text and .data.
+       * testsuite/ld-scripts/defined3.t: Likewise.
+       * testsuite/ld-scripts/defined4.t: Likewise.
+       * testsuite/ld-scripts/defined5.t: Likewise.
+       * testsuite/ld-scripts/fill.t: Likewise.
+       * testsuite/ld-scripts/include-subdata.t: Likewise.
+       * testsuite/ld-scripts/provide-1.t: Likewise.
+       * testsuite/ld-scripts/provide-2.t: Likewise.
+       * testsuite/ld-scripts/provide-3.t: Likewise.
+       * testsuite/ld-scripts/provide-4.t: Likewise.
+       * testsuite/ld-scripts/provide-5.t: Likewise.
+       * testsuite/ld-scripts/provide-6.t: Likewise.
+       * testsuite/ld-scripts/provide-7.t: Likewise.
+       * testsuite/ld-scripts/provide-8.t: Likewise.
+       * testsuite/ld-scripts/assign-loc.t: Add required xcoff sections.
+       * testsuite/ld-scripts/sizeof.t: Likewise.
+       * testsuite/ld-scripts/align2.t: Likewise, and mapped sections.
+       * testsuite/ld-scripts/align5.t: Likewise.
+       * testsuite/ld-scripts/default-script.t: Likewise.
+       * testsuite/ld-scripts/empty-address-1.t: Likewise.
+       * testsuite/ld-scripts/empty-address-2a.t: Likewise.
+       * testsuite/ld-scripts/empty-address-2b.t: Likewise.
+       * testsuite/ld-scripts/empty-address-3a.t: Likewise.
+       * testsuite/ld-scripts/empty-address-3b.t: Likewise.
+       * testsuite/ld-scripts/empty-address-3c.t: Likewise.
+       * testsuite/ld-scripts/include-sections.t: Likewise.
+       * testsuite/ld-scripts/pr14962.t: Likewise.
+       * testsuite/ld-scripts/sane1.t: Likewise.
+
+2020-07-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/align.exp: Use is_pecoff_format.
+       * testsuite/ld-scripts/defined.exp: Likewise.
+       * testsuite/ld-scripts/provide.exp: Likewise.
+       * testsuite/ld-scripts/weak.exp: Likewise.
+       * testsuite/ld-scripts/empty-address.exp: Likewise.  Reset LDFLAGS
+       on exit.
+       * testsuite/ld-scripts/expr.exp: Set LDFLAGS earlier, and with
+       --image-base for PE.
+       * testsuite/ld-scripts/include.exp: Set LDFLAGS for PE.
+       * testsuite/ld-scripts/script.exp: Use is_pecoff_format, and
+       set LDFLAGS as well as flags.
+
+2020-07-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-checks/checks.exp: Use is_xcoff_format.
+       * testsuite/ld-powerpc/powerpc.exp: Likewise.
+       * testsuite/ld-scripts/print-memory-usage.exp: Likewise.
+       * testsuite/ld-srec/srec.exp: Likewise.
+       * testsuite/ld-undefined/require-defined.exp: Likewise.
+       * testsuite/ld-scripts/expr2.d: Likewise.
+       * testsuite/ld-scripts/section-match-1.d: Only run for ELF.
+       * testsuite/ld-elfvers/vers.exp: Delete dead code.
+       * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
+       * testsuite/ld-elfweak/elfweak.exp: Likewise.
+
+2020-07-07  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/aix.em (gld${EMULATION_NAME}_find_exp_assignment): Handle
+       etree_provided.
+
+2020-07-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-sh/vxworks1-lib.rd: Update expected output.
+       * testsuite/ld-sh/vxworks4.d: Likewise.
+
+2020-07-06  Yuri Chornoivan  <yurchor@ukr.net>
+
+       PR 26204
+       * lexsup.c: Fix spelling mistake.
+       * po/ld.pot: Regenerate.
+
+2020-07-06  Nick Clifton  <nickc@redhat.com>
+
+       * po/bg.po: Updated Bulgarian translation.
+       * po/fr.po: Updated French translation.
+       * po/pt_BR.po: Updated Brazilian Portuguese translation.
+       * po/uk.po: Updated Ukranian translation.
+
+2020-07-04  Nick Clifton  <nickc@redhat.com>
+
+       * configure: Regenerate.
+
+2020-07-04  Nick Clifton  <nickc@redhat.com>
+
+       Binutils 2.35 branch created.
+
+2020-07-03  Alan Modra  <amodra@gmail.com>
+
+       PR 26028
+       * testsuite/ld-arm/arm-elf.exp (vxworks1): Pass --wide to readelf
+       when dumping relocs.
+       * testsuite/ld-i386/i386.exp (vxworks1): Likewise.
+       * testsuite/ld-sh/sh-vxworks.exp (vxworks1): Likewise.
+       * testsuite/ld-sparc/sparc.exp (vxworks1): Likewise.
+       * testsuite/ld-arm/vxworks1.rd: Adjust to suit.
+       * testsuite/ld-i386/vxworks1.rd: Adjust.
+       * testsuite/ld-sh/vxworks1.rd: Adjust.
+       * testsuite/ld-sparc/vxworks1.rd: Adjust.
+
+2020-07-02  Nick Clifton  <nickc@redhat.com>
+
+       PR 26028
+       * testsuite/ld-powerpc/powerpc.exp: Add -T option to readelf
+       command line when running some tests.
+       * testsuite/ld-arm/arm-elf.exp: Likewise.
+       * testsuite/ld-mips-elf/mips-elf.exp: Likewise.
+       * testsuite/ld-mmix/local1.d: Likewise.
+       * testsuite/ld-mmix/local3.d: Likewise.
+       * testsuite/ld-mmix/local5.d: Likewise.
+       * testsuite/ld-mmix/local7.d: Likewise.
+       * testsuite/ld-powerpc/powerpc.exp: Likewise.
+
+2020-06-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_nacl.c,
+       eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c.
+       Remove x86 NaCl dep files.
+       * NEWS: Mention x86 NaCl target support removal.
+       * configure.tgt: Remove x86 NaCl target support.
+       * testsuite/ld-elf/binutils.exp: Likewise.
+       * testsuite/ld-elf/elf.exp: Likewise.
+       * testsuite/ld-elfvers/vers.exp: Likewise.
+       * testsuite/ld-i386/align-branch-1.d: Likewise.
+       * testsuite/ld-i386/export-class.exp: Likewise.
+       * testsuite/ld-i386/i386.exp: Likewise.
+       * testsuite/ld-i386/load1.d: Likewise.
+       * testsuite/ld-i386/pie1.d: Likewise.
+       * testsuite/ld-i386/pr12570a.d: Likewise.
+       * testsuite/ld-i386/pr12570b.d: Likewise.
+       * testsuite/ld-i386/pr19636-1d.d: Likewise.
+       * testsuite/ld-i386/pr19636-1l.d: Likewise.
+       * testsuite/ld-i386/pr19636-2c.d: Likewise.
+       * testsuite/ld-i386/pr19636-2d.d: Likewise.
+       * testsuite/ld-i386/pr19636-2e.d: Likewise.
+       * testsuite/ld-i386/pr20244-1a.d: Likewise.
+       * testsuite/ld-i386/pr20244-1b.d: Likewise.
+       * testsuite/ld-i386/pr20244-2a.d: Likewise.
+       * testsuite/ld-i386/pr20244-2b.d: Likewise.
+       * testsuite/ld-i386/pr20244-2c.d: Likewise.
+       * testsuite/ld-i386/pr20244-4a.d: Likewise.
+       * testsuite/ld-i386/pr20244-4b.d: Likewise.
+       * testsuite/ld-i386/pr21884.d: Likewise.
+       * testsuite/ld-ifunc/binutils.exp: Likewise.
+       * testsuite/ld-ifunc/ifunc-10-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-10-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-11-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-11-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-12-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-12-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14a-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14a-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14b-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14b-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14c-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14c-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14d-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14d-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14e-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14e-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14f-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-14f-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-16-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-16-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-17a-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-17a-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-17b-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-17b-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-19a-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-19a-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-19b-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-19b-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-2-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-2-local-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-20-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-20-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-5a-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-5a-local-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-5a-local-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-5a-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-5b-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-5b-local-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-5b-local-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-5b-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-5r-local-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-6a-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-6a-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-6b-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-6b-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-7a-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-7a-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-7b-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-7b-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-8-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-8-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-9-i386.d: Likewise.
+       * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise.
+       * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
+       * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
+       * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
+       * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
+       * testsuite/ld-plugin/lto.exp: Likewise.
+       * testsuite/ld-x86-64/align-branch-1.d: Likewise.
+       * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
+       * testsuite/ld-x86-64/line.exp: Likewise.
+       * testsuite/ld-x86-64/load1a.d: Likewise.
+       * testsuite/ld-x86-64/load1b.d: Likewise.
+       * testsuite/ld-x86-64/load1c.d: Likewise.
+       * testsuite/ld-x86-64/load1d.d: Likewise.
+       * testsuite/ld-x86-64/pie3.d: Likewise.
+       * testsuite/ld-x86-64/pr18160.d: Likewise.
+       * testsuite/ld-x86-64/pr19013-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr19013.d: Likewise.
+       * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
+       * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
+       * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
+       * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
+       * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
+       * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
+       * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
+       * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
+       * testsuite/ld-x86-64/pr21884.d: Likewise.
+       * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
+       * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
+       * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
+       * testsuite/ld-x86-64/tlsgd5.dd: Likewise.
+       * testsuite/ld-x86-64/tlsgd8.dd: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * emulparams/elf32_x86_64_nacl.sh: Removed.
+       * emulparams/elf_i386_nacl.sh: Likewise.
+       * emulparams/elf_x86_64_nacl.sh: Likewise.
+       * testsuite/ld-i386/emit-relocs-nacl.rd: Likewise.
+       * testsuite/ld-i386/load1-nacl.d: Likewise.
+       * testsuite/ld-i386/pie1-nacl.d: Likewise.
+       * testsuite/ld-i386/plt-nacl.pd: Likewise.
+       * testsuite/ld-i386/plt-pic-nacl.pd: Likewise.
+       * testsuite/ld-i386/pr17709-nacl.rd: Likewise.
+       * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
+       * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
+       * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
+       * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
+       * testsuite/ld-i386/pr19827-nacl.rd: Likewise.
+       * testsuite/ld-i386/pr21884-nacl.d: Likewise.
+       * testsuite/ld-i386/pr21884-nacl.t: Likewise.
+       * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
+       * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
+       * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
+       * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
+       * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
+       * testsuite/ld-x86-64/pie3-nacl.d: Likewise.
+       * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
+       * testsuite/ld-x86-64/pr17709-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/pr19013-nacl.d: Likewise.
+       * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
+       * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/pr21884-nacl.d: Likewise.
+       * testsuite/ld-x86-64/pr21884-nacl.t: Likewise.
+       * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlsdesc-nacl.pd: Likewise.
+       * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
+       * Makefile.in: Regenerated.
+       * po/BLD-POTFILES.in: Likewise.
+
+2020-06-30  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/group1.d: Don't xfail all solaris targets, just
+       ix86 and x86_64.
+
+2020-06-30  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/reloc-discard.d: Don't xfail nds32.
+
+2020-06-30  Alan Modra  <amodra@gmail.com>
+
+       * scripttempl/elfmicroblaze.sc (.data): Add .data.* entry.
+       * testsuite/ld-elf/var1.d: Don't xfail microblaze.
+
+2020-06-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-tic6x/shlib-1.rd: Move C6000_DSBT_BASE,
+       C6000_DSBT_SIZE and C6000_DSBT_INDEX dynamic tags to the last.
+       * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
+
+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/rdynamic-1.rd: Likewise.
+       * testsuite/ld-elf/pr9676.rd: Likewise.
+       * 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>
+
+       * emultempl/elf.em (gld${EMULATION_NAME}_handle_option): Omit
+       -z relro and -z norelro when target support for GNU_RELRO is lacking.
+       (gld${EMULATION_NAME}_before_parse): Ignore RELRO default too.
+       * emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse): Ignore
+       RELRO default when target support for GNU_RELRO is lacking.
+       * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
+       * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Likewise.
+       * emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
+       * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
+       * testsuite/ld-elf/pr16322.d: xfail when no relro support.
+       * testsuite/ld-elf/pr22393-1a.d: Likewise.
+       * testsuite/ld-elf/pr22393-1b.d: Likewise.
+       * testsuite/ld-elf/shared.exp (pr20995-2.so, pr20995-2): Likewise.
+       * testsuite/lib/ld-lib.exp (run_ld_link_tests): Use check_relro_support
+       to decide whether to pass extra ld option "-z norelro".
+
+2020-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Append "-w"
+       to cflags.
+
+2020-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/linux-x86.exp: Require GCC 5 for Build
+       pr25749-1b (-pie -fPIE).
+
+2020-06-16  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/pr23428.c: Define _DEFAULT_SOURCE.
+       * testsuite/ld-elf/indirect1b.c: Replace asm with __asm__.
+       * testsuite/ld-elf/indirect2.c: Likewise.
+       * testsuite/ld-elf/indirect3b.c: Likewise.
+       * testsuite/ld-elf/indirect4b.c: Likewise.
+       * testsuite/ld-elf/pr14323-2.c: Likewise.
+       * testsuite/ld-elf/pr18720b.c: Likewise.
+       * testsuite/ld-elf/pr19553c.c: Likewise.
+       * testsuite/ld-elf/pr23428.c: Likewise.
+       * testsuite/ld-elfvers/vers27b.c: Likewise.
+       * testsuite/ld-elfvsb/common.c: Likewise.
+       * testsuite/ld-elfvsb/main.c: Likewise.
+       * testsuite/ld-elfvsb/sh1.c: Likewise.
+       * testsuite/ld-elfvsb/test.c: Likewise.
+       * testsuite/ld-pe/aligncomm-1.c: Likewise.
+       * testsuite/ld-pe/aligncomm-2.c: Likewise.
+       * testsuite/ld-pe/aligncomm-3.c: Likewise.
+       * testsuite/ld-pe/aligncomm-4.c: Likewise.
+       * testsuite/ld-plugin/pr23958.c: Likewise.
+       * testsuite/ld-size/size-1b.c: Likewise.
+       * testsuite/ld-size/size-2b.c: Likewise.
+       * testsuite/ld-size/size-3a.c: Likewise.
+       * testsuite/ld-size/size-3b.c: Likewise.
+       * testsuite/ld-size/size-3c.c: Likewise.
+       * testsuite/ld-size/size-4b.c: Likewise.
+       * testsuite/ld-size/size-5b.c: Likewise.
+       * testsuite/ld-size/size-6a.c: Likewise.
+       * testsuite/ld-size/size-7a.c: Likewise.
+       * testsuite/ld-size/size-8a.c: Likewise.
+       * testsuite/ld-size/size-9b.c: Likewise.
+       * testsuite/ld-size/size-10b.c: Likewise.
+
+2020-06-16  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/tic30aout.sh: Delete file.
+       * scripttempl/tic30aout.sc: Delete file.
+       * Makefile.am: Remove etic30aout.c from ALL_EMULATION_SOURCES and
+       delete dependency.
+       * configure.tgt: Delete tic30-*-*aout* entry.
+       * testsuite/ld-scripts/sane1.d: Delete tic30-*-aout mention.
+       * testsuite/ld-scripts/segment-start.d: Likewise.
+       * Makefile.in: Regenerate.
+       * po/BLD-POTFILES.in: Regenerate.
+
+2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * emultempl/xtensaelf.em (XSHAL_ABI): Remove macro definition.
+       (XTHAL_ABI_UNDEFINED, XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New
+       macros.
+       (elf32xtensa_abi): New declaration.
+       (xt_config_info_unpack_and_check): Set elf32xtensa_abi if it is
+       undefined.  Use xtensa_abi_choice instead of XSHAL_ABI to test
+       ABI tag consistency.
+       (xtensa_add_config_info): Use xtensa_abi_choice instead of
+       XSHAL_ABI to format ABI tag.
+       (PARSE_AND_LIST_PROLOGUE): Define OPTION_ABI_WINDOWED,
+       OPTION_ABI_CALL0 and declare elf32xtensa_abi.
+       (PARSE_AND_LIST_LONGOPTS): Add entries for --abi-windowed and
+       --abi-call0.
+       (PARSE_AND_LIST_OPTIONS): Add help text for --abi-windowed and
+       --abi-call0.
+       (PARSE_AND_LIST_ARGS_CASES): Add handlers for --abi-windowed and
+       --abi-call0.
+       * ld.texi: Add description for options --abi-windowed and
+       --abi-call0.
+
+2020-06-15  Roland McGrath  <mcgrathr@google.com>
+
+       * NEWS: Mention -z start-stop-visibility=... option for ELF.
+       * ld.texi (Options): Document -z start-stop-visibility=... option.
+       * ldmain.c (main): Initialize link_info.start_stop_visibility.
+       * emultempl/elf.em (gld${EMULATION_NAME}_handle_option):
+       Parse -z start-stop-visibility=... option.
+
+2020-06-15  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-scripts/include.exp: Don't load ld-lib.exp.
+       * testsuite/ld-scripts/phdrs3.exp: Likewise.
+       * testsuite/ld-scripts/rgn-at.exp: Likewise.
+       * testsuite/ld-scripts/rgn-over.exp: Likewise.
+       * testsuite/ld-scripts/sort.exp: Likewise.
+       * testsuite/ld-discard/discard.exp: Likewise.  Use is_elf_format.
+
+2020-06-15  Alan Modra  <amodra@gmail.com>
+
+       PR 26103
+       * testsuite/ld-linkonce/ref1.s,
+       * testsuite/ld-linkonce/ref2.s,
+       * testsuite/ld-linkonce/sym1.s,
+       * testsuite/ld-linkonce/sym2.s,
+       * testsuite/ld-linkonce/sym3.s: New test files.
+       * testsuite/ld-linkonce/linkonce.exp: Run tests for PE too.
+       Add pr26103 test.  Remove unnecessary load_lib.
+
 2020-06-15  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-linkonce/zeroeh_x.s: Rename from x.s.