]> 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 98d10c0b73a867867a91d7dae721a4425691c472..37a94aa88068dbb356d3dce403ee06100a3df13e 100644 (file)
@@ -1,3 +1,141 @@
+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