X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=361eef39999f61cd585d85db345e8d5916210822;hb=8b8c7c9f49992750f66f81b4601d593a3858d98c;hp=5a2df38689f4be9caf405632db4c4aade52c4531;hpb=ca62bc4a869267105a4b492223ed46d59e04c27c;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 5a2df38689..361eef3999 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,1218 @@ +2016-06-16 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl. + * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets. + Remove .rel.plt section. + * testsuite/ld-i386/pr19636-2e-nacl.d: New file. + +2016-06-15 H.J. Lu + + * testsuite/ld-i386/no-plt-check1a.S (check): Test static + function pointer. + * testsuite/ld-i386/no-plt-check1b.S (check): Likewise. + * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise. + * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static + function pointer. + * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise. + * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise. + * testsuite/ld-i386/no-plt-1a.dd: Updated. + * testsuite/ld-i386/no-plt-1b.dd: Likewise. + * testsuite/ld-i386/no-plt-1c.dd: Likewise. + * testsuite/ld-i386/no-plt-1d.dd: Likewise. + * testsuite/ld-i386/no-plt-1e.dd: Likewise. + * testsuite/ld-i386/no-plt-1f.dd: Likewise. + * testsuite/ld-i386/no-plt-1g.dd: Likewise. + * testsuite/ld-i386/no-plt-1h.dd: Likewise. + * testsuite/ld-i386/no-plt-1i.dd: Likewise. + * testsuite/ld-i386/no-plt-1j.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1a.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1b.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1c.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1d.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1e.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1f.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1g.dd: Likewise. + +2016-06-14 Senthil Kumar Selvaraj + + PR ld/20254 + * testsuite/ld-avr/avr-prop-6.d: New test. + * testsuite/ld-avr/avr-prop-6.s: New test. + +2016-06-14 Alan Modra + + * ldbuildid.c: Formatting. + * ldcref.c: Formatting. + * ldctor.c: Formatting. + * ldemul.c: Formatting. + * ldexp.c: Formatting. + * ldfile.c: Formatting. + * ldlang.c: Formatting. + * ldmain.c: Formatting. + * ldwrite.c: Formatting. + +2016-06-14 Alan Modra + + * ldlang.c: Expand uses of bfd_my_archive. + * ldmain.c: Likewise. + * ldmisc.c: Likewise. + * plugin.c: Likewise. + +2016-06-14 Alan Modra + + PR ld/20241 + * ldmain.c (add_archive_element): Just print file name of file within + thin archives. + * ldmisc.c (vfinfo): Likewise. + * plugin.c (plugin_object_p): Open file within thin archives. + (plugin_maybe_claim): Expand comment. + +2016-06-13 H.J. Lu + + PR ld/20244 + * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b, + pr20244-2c and pr20244-2d. + * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b. + * testsuite/ld-i386/pr20244-2.s: New file. + * 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-2d.d: Likewise. + * testsuite/ld-i386/pr20244-3a.c: Likewise. + * testsuite/ld-i386/pr20244-3b.S: Likewise. + * testsuite/ld-i386/pr20244-3c.S: Likewise. + * testsuite/ld-i386/pr20244-3d.S: Likewise. + +2016-06-13 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b. + * testsuite/ld-i386/ifunc-1a.c: New file. + * testsuite/ld-i386/ifunc-1b.S: Likewise. + * testsuite/ld-i386/ifunc-1c.S: Likewise. + * testsuite/ld-i386/ifunc-1d.S: Likewise. + +2016-06-13 Cupertino Miranda + + * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and + big endian ARC targets. + +2016-06-12 H.J. Lu + + * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32. + * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1a.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1a.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1b.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1b.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1c.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1c.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1d.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1e.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1e.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1f.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1f.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1g.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1g.rd: Likewise. + +2016-06-11 H.J. Lu + + PR ld/20244 + * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b. + * testsuite/ld-i386/pr20244-1.s: New file. + * testsuite/ld-i386/pr20244-1a.d: Likewise. + * testsuite/ld-i386/pr20244-1b.d: Likewise. + * testsuite/ld-i386/pr20244-1c.d: Likewise. + +2016-06-08 Senthil Kumar Selvaraj + + PR ld/20221 + * testsuite/ld-avr/avr-prop-5.d: New. + * testsuite/ld-avr/avr-prop-5.s: New. + +2016-06-09 Pitchumani Sivanupandi + + * testsuite/ld-avr/lds-mega.d: New test. + * testsuite/ld-avr/lds-mega.s: New test source. + * testsuite/ld-avr/lds-tiny.d: New test. + * testsuite/ld-avr/lds-tiny.s: New test source. + +2016-06-08 H.J. Lu + + * testsuite/ld-i386/libno-plt-1b.dd: New file. + * testsuite/ld-i386/libno-plt-1b.rd: Likewise. + * testsuite/ld-i386/no-plt-1a.dd: Likewise. + * testsuite/ld-i386/no-plt-1a.rd: Likewise. + * testsuite/ld-i386/no-plt-1b.dd: Likewise. + * testsuite/ld-i386/no-plt-1b.rd: Likewise. + * testsuite/ld-i386/no-plt-1c.dd: Likewise. + * testsuite/ld-i386/no-plt-1c.rd: Likewise. + * testsuite/ld-i386/no-plt-1d.dd: Likewise. + * testsuite/ld-i386/no-plt-1d.rd: Likewise. + * testsuite/ld-i386/no-plt-1e.dd: Likewise. + * testsuite/ld-i386/no-plt-1e.rd: Likewise. + * testsuite/ld-i386/no-plt-1f.dd: Likewise. + * testsuite/ld-i386/no-plt-1f.rd: Likewise. + * testsuite/ld-i386/no-plt-1g.dd: Likewise. + * testsuite/ld-i386/no-plt-1g.rd: Likewise. + * testsuite/ld-i386/no-plt-1h.dd: Likewise. + * testsuite/ld-i386/no-plt-1h.rd: Likewise. + * testsuite/ld-i386/no-plt-1i.dd: Likewise. + * testsuite/ld-i386/no-plt-1i.rd: Likewise. + * testsuite/ld-i386/no-plt-1j.dd: Likewise. + * testsuite/ld-i386/no-plt-1j.rd: Likewise. + * testsuite/ld-i386/no-plt-check1a.S: Likewise. + * testsuite/ld-i386/no-plt-check1b.S: Likewise. + * testsuite/ld-i386/no-plt-extern1a.S: Likewise. + * testsuite/ld-i386/no-plt-extern1b.S: Likewise. + * testsuite/ld-i386/no-plt-func1.c: Likewise. + * testsuite/ld-i386/no-plt-main1.c: Likewise. + * testsuite/ld-i386/no-plt.exp: Likewise. + +2016-06-08 H.J. Lu + + * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test + name. + +2016-06-08 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2, + tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c. + * testsuite/ld-i386/pass.out: New file. + * testsuite/ld-i386/tls-def1.c: Likewise. + * testsuite/ld-i386/tls-gd1.S: Likewise. + * testsuite/ld-i386/tls-ld1.S: Likewise. + * testsuite/ld-i386/tls-main1.c: Likewise. + * testsuite/ld-i386/tls.exp: Likewise. + * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise. + * testsuite/ld-i386/tlsbin2.dd: Likewise. + * testsuite/ld-i386/tlsbin2.rd: Likewise. + * testsuite/ld-i386/tlsbin2.sd: Likewise. + * testsuite/ld-i386/tlsbin2.td: Likewise. + * testsuite/ld-i386/tlsbinpic2.s: Likewise. + * testsuite/ld-i386/tlsgd3.dd: Likewise. + * testsuite/ld-i386/tlsgd3.s: Likewise. + * testsuite/ld-i386/tlsgd4.d: Likewise. + * testsuite/ld-i386/tlsgd4.s: Likewise. + * testsuite/ld-i386/tlsld2.s: Likewise. + * testsuite/ld-i386/tlspic2-nacl.rd: Likewise. + * testsuite/ld-i386/tlspic2.dd: Likewise. + * testsuite/ld-i386/tlspic2.rd: Likewise. + * testsuite/ld-i386/tlspic2.sd: Likewise. + * testsuite/ld-i386/tlspic2.td: Likewise. + * testsuite/ld-i386/tlspic3.s: Likewise. + * testsuite/ld-i386/tlspie3.s: Likewise. + * testsuite/ld-i386/tlspie3a.d: Likewise. + * testsuite/ld-i386/tlspie3b.d: Likewise. + * testsuite/ld-i386/tlspie3c.d: Likewise. + +2016-06-08 H.J. Lu + + * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order. + * testsuite/ld-x86-64/no-plt-1b.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1c.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1d.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1e.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1f.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1g.rd: Likewise. + * testsuite/ld-x86-64/no-plt.exp: Fix a typo. + +2016-06-08 H.J. Lu + + * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise. + * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1a.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1a.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1b.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1b.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1c.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1c.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1d.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1d.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1e.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1e.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1f.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1f.rd: Likewise. + * testsuite/ld-x86-64/no-plt-1g.dd: Likewise. + * testsuite/ld-x86-64/no-plt-1g.rd: Likewise. + * testsuite/ld-x86-64/no-plt-check1.S: Likewise. + * testsuite/ld-x86-64/no-plt.exp: Likewise. + * testsuite/ld-x86-64/no-plt-extern1.S: Likewise. + * testsuite/ld-x86-64/no-plt-func1.c: Likewise. + * testsuite/ld-x86-64/no-plt-main1.c: Likewise. + +2016-06-07 Maciej W. Rozycki + + * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail. + +2016-06-07 Andreas Krebbel + + * testsuite/ld-s390/pltoffset-1.dd: New test. + * testsuite/ld-s390/pltoffset-1.ld: New test. + * testsuite/ld-s390/pltoffset-1.s: New test. + * testsuite/ld-s390/s390.exp: Run new test. + +2016-06-07 Alan Modra + + * testsuite/ld-powerpc/apuinfo1.s: Delete nop. + * testsuite/ld-powerpc/apuinfo-vle2.s: New. + * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s. + +2016-06-06 H.J. Lu + + * testsuite/ld-x86-64/pass.out: New file. + * testsuite/ld-x86-64/tls-def1.c: Likewise. + * testsuite/ld-x86-64/tls-gd1.S: Likewise. + * testsuite/ld-x86-64/tls-ld1.S: Likewise. + * testsuite/ld-x86-64/tls-main1.c: Likewise. + * testsuite/ld-x86-64/tls.exp: Likewise. + * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise. + * testsuite/ld-x86-64/tlsbin2.dd: Likewise. + * testsuite/ld-x86-64/tlsbin2.rd: Likewise. + * testsuite/ld-x86-64/tlsbin2.sd: Likewise. + * testsuite/ld-x86-64/tlsbin2.td: Likewise. + * testsuite/ld-x86-64/tlsbinpic2.s: Likewise. + * testsuite/ld-x86-64/tlsgd10.dd: Likewise. + * testsuite/ld-x86-64/tlsgd10.s: Likewise. + * testsuite/ld-x86-64/tlsgd11.dd: Likewise. + * testsuite/ld-x86-64/tlsgd11.s: Likewise. + * testsuite/ld-x86-64/tlsgd12.d: Likewise. + * testsuite/ld-x86-64/tlsgd12.s: Likewise. + * testsuite/ld-x86-64/tlsgd13.d: Likewise. + * testsuite/ld-x86-64/tlsgd13.s: Likewise. + * testsuite/ld-x86-64/tlsgd14.dd: Likewise. + * testsuite/ld-x86-64/tlsgd14.s: Likewise. + * testsuite/ld-x86-64/tlsgd5c.s: Likewise. + * testsuite/ld-x86-64/tlsgd6c.s: Likewise. + * testsuite/ld-x86-64/tlsgd9.dd: Likewise. + * testsuite/ld-x86-64/tlsgd9.s: Likewise. + * testsuite/ld-x86-64/tlsld4.dd: Likewise. + * testsuite/ld-x86-64/tlsld4.s: Likewise. + * testsuite/ld-x86-64/tlsld5.dd: Likewise. + * testsuite/ld-x86-64/tlsld5.s: Likewise. + * testsuite/ld-x86-64/tlsld6.dd: Likewise. + * testsuite/ld-x86-64/tlsld6.s: Likewise. + * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise. + * testsuite/ld-x86-64/tlspic2.dd: Likewise. + * testsuite/ld-x86-64/tlspic2.rd: Likewise. + * testsuite/ld-x86-64/tlspic2.sd: Likewise. + * testsuite/ld-x86-64/tlspic2.td: Likewise. + * testsuite/ld-x86-64/tlspic3.s: Likewise. + * testsuite/ld-x86-64/tlspie2.s: Likewise. + * testsuite/ld-x86-64/tlspie2a.d: Likewise. + * testsuite/ld-x86-64/tlspie2b.d: Likewise. + * testsuite/ld-x86-64/tlspie2c.d: Likewise. + * testsuite/ld-x86-64/tlsgd5.dd: Updated. + * testsuite/ld-x86-64/tlsgd6.dd: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2, + tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10, + tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and + tlspie2c. + +2016-06-04 Christian Groessler + + * testsuite/ld-z8k/0filler.s: New file. + * testsuite/ld-z8k/branch-target.s: New file. + * testsuite/ld-z8k/branch-target2.s: New file. + * testsuite/ld-z8k/calr-back-8001.d: New file. + * testsuite/ld-z8k/calr-back-8002.d: New file. + * testsuite/ld-z8k/calr-back-fail-8001.d: New file. + * testsuite/ld-z8k/calr-back-fail-8002.d: New file. + * testsuite/ld-z8k/calr-forw-8001.d: New file. + * testsuite/ld-z8k/calr-forw-8002.d: New file. + * testsuite/ld-z8k/calr-forw-fail-8001.d: New file. + * testsuite/ld-z8k/calr-forw-fail-8002.d: New file. + * testsuite/ld-z8k/calr-opcode.s: New file. + * testsuite/ld-z8k/dbjnz-forw-8001.d: New file. + * testsuite/ld-z8k/dbjnz-forw-8002.d: New file. + * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file. + * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file. + * testsuite/ld-z8k/dbjnz-opcode.s: New file. + * testsuite/ld-z8k/djnz-back-8001.d: New file. + * testsuite/ld-z8k/djnz-back-8002.d: New file. + * testsuite/ld-z8k/djnz-back-fail-8001.d: New file. + * testsuite/ld-z8k/djnz-back-fail-8002.d: New file. + * testsuite/ld-z8k/djnz-forw-8001.d: New file. + * testsuite/ld-z8k/djnz-forw-8002.d: New file. + * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file. + * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file. + * testsuite/ld-z8k/djnz-opcode.s: New file. + * testsuite/ld-z8k/filler.s: New file. + * testsuite/ld-z8k/jr-back-8001.d: New file. + * testsuite/ld-z8k/jr-back-8002.d: New file. + * testsuite/ld-z8k/jr-back-fail-8001.d: New file. + * testsuite/ld-z8k/jr-back-fail-8002.d: New file. + * testsuite/ld-z8k/jr-forw-8001.d: New file. + * testsuite/ld-z8k/jr-forw-8002.d: New file. + * testsuite/ld-z8k/jr-forw-fail-8001.d: New file. + * testsuite/ld-z8k/jr-forw-fail-8002.d: New file. + * testsuite/ld-z8k/jr-opcode.s: New file. + * testsuite/ld-z8k/ldr-back-8001.d: New file. + * testsuite/ld-z8k/ldr-back-8002.d: New file. + * testsuite/ld-z8k/ldr-back-fail-8001.d: New file. + * testsuite/ld-z8k/ldr-back-fail-8002.d: New file. + * testsuite/ld-z8k/ldr-forw-8001.d: New file. + * testsuite/ld-z8k/ldr-forw-8002.d: New file. + * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file. + * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file. + * testsuite/ld-z8k/ldr-opcode.s: New file. + * testsuite/ld-z8k/ldrb-forw-8001.d: New file. + * testsuite/ld-z8k/ldrb-forw-8002.d: New file. + * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file. + * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file. + * testsuite/ld-z8k/ldrb-opcode.s: New file. + * testsuite/ld-z8k/ldrb-opcode2.s: New file. + * testsuite/ld-z8k/other-file.s: New file. + * testsuite/ld-z8k/reloc.dd: New file. + * testsuite/ld-z8k/reloc.ld: New file. + * testsuite/ld-z8k/relocseg.dd: New file. + * testsuite/ld-z8k/relocseg.ld: New file. + * testsuite/ld-z8k/relocseg1.dd: New file. + * testsuite/ld-z8k/this-file.s: New file. + * testsuite/ld-z8k/z8k.exp: New file. + +2016-06-03 H.J. Lu + + * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o + with -mrelax-relocations=yes. + * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes. + * testsuite/ld-i386/lea1b.d (as): Likewise. + * testsuite/ld-i386/lea1d.d (as): Likewise. + * testsuite/ld-i386/lea1e.d (as): Likewise. + * testsuite/ld-i386/lea1f.d (as): Likewise. + * testsuite/ld-i386/load7.d (as): Likewise. + * testsuite/ld-i386/mov1b.d (as): Likewise. + * testsuite/ld-i386/pr19175.d (as): Likewise. + * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise. + * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise. + * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise. + * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o, + gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes. + +2016-06-02 Vineet Gupta + + * configure.tgt: Replace -uclibc with *. + +2016-05-28 Maciej W. Rozycki + + * testsuite/ld-mips-elf/unaligned-branch.d: New test. + * testsuite/ld-mips-elf/unaligned-branch.s: New test source. + * testsuite/ld-mips-elf/unaligned-text.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. + +2016-05-28 Maciej W. Rozycki + + * testsuite/ld-mips-elf/unaligned-syms.s: Rename to... + * testsuite/ld-mips-elf/unaligned-data.s: ... this. + * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly. + * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise. + * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise. + * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise. + +2016-05-28 Maciej W. Rozycki + + * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test. + * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test. + * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test. + * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test. + * testsuite/ld-mips-elf/jal-global-overflow.s: New test source. + * testsuite/ld-mips-elf/jal-local-overflow.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2016-05-28 Alan Modra + + * ldmain.c (multiple_definition, multiple_common, add_to_set, + constructor_callback, warning_callback, undefined_symbol, + reloc_overflow, reloc_dangerous, unattached_reloc): Return void. + * emultempl/elf32.em: Adjust callback calls. + +2016-05-27 Maciej W. Rozycki + + * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New + test. + * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New + test. + * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New + test. + * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New + test. + * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test + source. + * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test + source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2016-05-27 Maciej W. Rozycki + + * testsuite/ld-mips-elf/reloc-local-overflow.d: New test. + * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the + new test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. + +2016-05-26 Maciej W. Rozycki + + * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold + `unaligned-jalx-2' here. + * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold + `unaligned-jalx-mips16-2' here. + * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold + `unaligned-jalx-micromips-2' here. + * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly. + * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error + message. + * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise. + * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test. + * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test. + * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove + test. + * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source. + * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold + `unaligned-lwpc-3' here. + * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly. + * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold + `unaligned-lwpc-2' here. + * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly. + * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test. + * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source. + * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test. + * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source. + * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold + `unaligned-ldpc-4' here. + * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly. + * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error + message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here. + * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly. + * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test. + * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source. + * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test. + * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source. + * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test. + * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source. + * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests. + +2016-05-26 Nick Clifton + + PR target/20134 + * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and + __bsssize. + * scripttempl/elf32msp430_3.sc (.bss): Likewise. + +2016-05-25 Maciej W. Rozycki + + * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test. + * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test. + * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test. + * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test. + * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test. + * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test. + * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test. + * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test. + * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test. + * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test. + * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source. + * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source. + * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source. + * testsuite/ld-mips-elf/unaligned-insn.s: New test source. + * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source. + * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source. + * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source. + * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source. + * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source. + * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source. + * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source. + * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source. + * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source. + * testsuite/ld-mips-elf/unaligned-syms.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2016-05-25 H.J. Lu + + PR ld/20103 + * ldmain.c (add_archive_element): Don't claim new IR symbols + after all IR symbols have been claimed. + * plugin.c (plugin_call_claim_file): Remove no_more_claiming + check. + * testsuite/ld-plugin/lto.exp (pr20103): New proc. + Run PR ld/20103 tests. + * testsuite/ld-plugin/pr20103a.c: New file. + * testsuite/ld-plugin/pr20103b.c: Likewise. + * testsuite/ld-plugin/pr20103c.c: Likewise. + +2016-05-24 Maciej W. Rozycki + + * testsuite/ld-mips-elf/jalx-local.d: New test. + * testsuite/ld-mips-elf/jalx-local-n32.d: New test. + * testsuite/ld-mips-elf/jalx-local-n64.d: New test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2016-05-23 Kuba Sejdak + + * Makefile.am: Add earmelf_phoenix.c. + * Makefile.in: Regenerate. + * configure.tgt: Add entry for arm-phoenix. + * emulparams/armelf_phoenix.sh: New file. + +2016-05-23 Thomas Preud'homme + + * emultempl/armelf.em (arm_elf_before_allocation): Call + bfd_elf32_arm_keep_private_stub_output_sections before generic + before_allocation function. + +2016-05-20 Maciej W. Rozycki + + * testsuite/ld-mips-elf/jalx-addend.d: New test. + * testsuite/ld-mips-elf/jalx-addend-n32.d: New test. + * testsuite/ld-mips-elf/jalx-addend-n64.d: New test. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2016-05-19 H.J. Lu + + PR ld/20117 + * testsuite/ld-i386/i386.exp: Run pr20117. + * testsuite/ld-i386/pr19609-1i.d: Updated. + * testsuite/ld-i386/pr20117.d: New file. + * testsuite/ld-i386/pr20117.s: Likewise. + +2016-05-19 Cupertino Miranda + + * testsuite/ld-elf/compressed1d.d: Removed from notarget. + * testsuite/ld-elf/group8a.d: Likewise. + * testsuite/ld-elf/group8b.d: Likewise. + * testsuite/ld-elf/group9a.d: Likewise. + * testsuite/ld-elf/group9b.d: Likewise. + * testsuite/ld-elf/pr12851.d: Likewise. + * testsuite/ld-elf/pr12975.d: Likewise. + * testsuite/ld-elf/pr13177.d: Likewise. + * testsuite/ld-elf/pr13195.d: Likewise. + * testsuite/ld-elf/pr17615.d: Likewise. + * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail. + * testsuite/ld-elf/group3b.d: Likewise. + * testsuite/ld-srec/srec.exp: Likewise. + * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC + as supporting gc. + (check_shared_lib_support): Mark ARC as supporting. + +2016-05-19 Cupertino Miranda + + * emulparams/arcelf.sh: Changed. + * emulparams/arclinux.sh: Likewise. + * scripttempl/arclinux.sc: Moved to a more standard implementation + similar to elf.sc. + +2016-05-19 Maciej W. Rozycki + + * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder + `ft32-*-*' behind `frv-*-*'. + +2016-05-19 Maciej W. Rozycki + + * configure.tgt: Remove `am34-*-linux*' support. + +2016-05-19 Alan Modra + + * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack. + * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement. + * testsuite/ld-scripts/cross3.t: Likewise. + * testsuite/ld-scripts/cross4.t: Likewise. + * testsuite/ld-scripts/cross5.t: Likewise. + * testsuite/ld-scripts/cross6.t: Likewise. + * testsuite/ld-scripts/cross7.t: Likewise. + +2016-05-19 Alan Modra + + * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in + exe name rather than constructing testname. Fix typo in + sub-test name. Log copying. Use -rpath rather than -R. + +2016-05-18 Nick Clifton + + * scripttempl/ft32.sc: Use fixed constants for memory region + lengths. Include DWARF debug sections. + (.data .bss): Do not assign locations during relocatable links. + * testsuite/ld-elf/compressed1d.d: Skip for FT32. + * testsuite/ld-elf/sec-to-seg.exp: Likewise. + * testsuite/ld-elf/sec64k.exp: Likewise. + * testsuite/ld-elf/init-fini-array.d: XFail for FT32. + * testsuite/ld-elf/merge.d: Likewise. + * testsuite/ld-elf/orphan-region.d: Likewise. + * testsuite/ld-elf/orphan.s: Likewise. + * testsuite/ld-elf/orphan3.d: Likewise. + * testsuite/ld-elf/pr349.d: Likewise. + * testsuite/ld-elf/warn2.d: Likewise. + * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note + that the FT32 does not support shared libraries. + +2016-05-17 H.J. Lu + + * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check + global CC. + +2016-05-17 Senthil Kumar Selvaraj + + * scripttempl/avr.sc (text): Place .progmem.data from avr-libc + above .progmem*. + * scripttempl/avrtiny.sc (text): Likewise. + +2016-05-17 Maciej W. Rozycki + + * testsuite/ld-unique/unique.exp: Use `is_elf_format' and + `supports_gnu_unique' to qualify testing. + +2016-05-16 Maciej W. Rozycki + + * testsuite/ld-elf/flags1.d: Update the xfail list. + +2016-05-15 Maciej W. Rozycki + + * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail + removal. + +2016-05-14 H.J. Lu + + PR ld/20097 + * testplug2.c (onall_symbols_read): Remove redundant sizeof + on EXPECTED_VIEW_LENGTH. + * testplug4.c (onall_symbols_read): Likewise. + +2016-05-13 H.J. Lu + + PR ld/20093 + * testsuite/ld-x86-64/pr20093-1.d: New file. + * testsuite/ld-x86-64/pr20093-1.s: Likewise. + * testsuite/ld-x86-64/pr20093-2.d: Likewise. + * testsuite/ld-x86-64/pr20093-2.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2. + +2016-05-13 Alan Modra + + * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing. + Use different output file name for static app without .rel.plt. + * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn. + * testsuite/ld-arm/arm-no-rel-plt.out: Delete. + * testsuite/ld-arm/arm-no-rel-plt.r: New. + * testsuite/ld-arm/arm-static-app.d: Don't check file name. + * testsuite/ld-arm/arm-static-app.r: Likewise. + +2016-05-12 H.J. Lu + + PR ld/20070 + * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la. + (libldtestplug4_la_SOURCES): New. + (libldtestplug4_la_CFLAGS): Likewise. + (libldtestplug4_la_LDFLAGS): Likewise. + * Makefile.in: Regenerated. + * plugin.c (get_symbols): Return resolution based on IR symbol + kinds for symbols defined/referenced only within IR. + * testplug4.c: New file. + * ld/testsuite/ld-plugin/pr20070.d: Likewise. + * ld/testsuite/ld-plugin/pr20070a.c: Likewise. + * ld/testsuite/ld-plugin/pr20070b.c: Likewise. + * testsuite/ld-plugin/plugin.exp (plugin4_name): New. + (plugin4_path): Likewise. + Add a test for ld/20070. + +2016-05-11 Alan Modra + + * emultempl/hppaelf.em (hppaelf_create_output_section_statements): + Call elf32_hppa_init_stub_bfd. + +2016-05-11 Alan Modra + + PR 20060 + * testsuite/ld-powerpc/powerpc.exp: Run new tests. + * testsuite/ld-powerpc/tlsdll.s: New. + * testsuite/ld-powerpc/tlsdll.ver: New. + * testsuite/ld-powerpc/tlsdll_32.s: New. + * testsuite/ld-powerpc/tlsopt5.d: New. + * testsuite/ld-powerpc/tlsopt5.s: New. + * testsuite/ld-powerpc/tlsopt5_32.d: New. + * testsuite/ld-powerpc/tlsopt5_32.s: New. + +2016-05-10 Thomas Preud'homme + + * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use + ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol. + +2016-05-10 Thomas Preud'homme + + * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section + parameter and rename input_section parameter to after_input_section. + Append input stub section to the output section if after_input_section + is NULL. + +2016-05-10 Thomas Preud'homme + + * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New + test. + * testsuite/ld-arm/attr-merge-10b-dsp.s: New file. + * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise. + +2016-05-10 Christophe Lyon + + * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*". + +2016-05-09 Christophe Monat + + PR ld/20030 + * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp + tests. Fix misnamed stm32l4xx-fix-all. + * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple + loads with DP registers. + * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file. + * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment. + * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple + loads with DP registers. + * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference. + +2016-05-09 Pitchumani Sivanupandi + + * testsuite/ld-elf/flags1.d (readelf): Dump section header instead + program headers. + (xfail): Remove avr-*-*. + Update regex to check the section flags. + * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*. + +2016-05-09 Alan Modra + + * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps. + * Makefile.in: Regenerate. + +2016-05-09 Alan Modra + + * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text. + * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec. + * testsuite/ld-scripts/section-match-1.t: Likewise. + +2016-05-06 H.J. Lu + + PR ld/17550 + * testsuite/ld-elf/pr17550-1.s: New file. + * testsuite/ld-elf/pr17550-2.s: Likewise. + * testsuite/ld-elf/pr17550-3.s: Likewise. + * testsuite/ld-elf/pr17550-4.s: Likewise. + * testsuite/ld-elf/pr17550a.d: Likewise. + * testsuite/ld-elf/pr17550b.d: Likewise. + * testsuite/ld-elf/pr17550c.d: Likewise. + * testsuite/ld-elf/pr17550d.d: Likewise. + +2016-05-06 Senthil Kumar Selvaraj + + * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR. + +2016-05-06 H.J. Lu + + * testsuite/ld-i386/i386.exp: Run load7. + * testsuite/ld-i386/load7.d: New file. + * testsuite/ld-i386/load7.map: Likewise. + * testsuite/ld-i386/load7.s: Likewise. + * testsuite/ld-x86-64/load2.d: Likewise. + * testsuite/ld-x86-64/load2.map: Likewise. + * testsuite/ld-x86-64/load2.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run load2. + +2016-05-05 H.J. Lu + + * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New. + * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + +2016-05-05 H.J. Lu + + * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld. + +2016-05-04 H.J. Lu + + * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL. + +2016-05-04 Maciej W. Rozycki + + * testsuite/ld-unique/unique.d: New test. + * testsuite/ld-unique/unique.exp: Run the new test. Adjust + messages for compiled tests. + +2016-05-04 Senthil Kumar Selvaraj + + * testsuite/ld-elf/pr18735.d: Allow other symbols. + * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr. + * testsuite/ld-gc/pr14265.d: Allow other symbols. + * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to + plugin_tests only if check_shared_lib_support is true. + * testsuite/ld-selective/selective.exp: Add --section-start + flag for avr. + +2016-05-03 Maciej W. Rozycki + + PR 10549 + * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'. + +2016-05-03 Jiong Wang + + * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option. + * NEWS: Mention --no-apply-dynamic-relocs. + * ld.texinfo (ld and the ARM family): Document + --no-apply-dynamic-relocs. + * testsuite/ld-aarch64/rela-abs-relative.s: New test source. + * testsuite/ld-aarch64/rela-abs-relative.d: New expected result. + * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian. + * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new + option. + +2016-05-03 Senthil Kumar Selvaraj + + * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support + before running STT_COMMON tests. + +2016-04-29 H.J. Lu + + * config/default.exp (NOPIE_CFLAGS): Download source only on + remote host. + (NOPIE_LDFLAGS): Likewise. + * testsuite/lib/ld-lib.exp (check_lto_available): Likewise. + (check_lto_fat_available): Likewise. + (check_lto_shared_available): Likewise. + (check_ifunc_available): Likewise. + (check_ifunc_attribute_available): Likewise. + +2016-04-27 H.J. Lu + + * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets. + +2016-04-27 H.J. Lu + + PR ld/20006 + * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New. + (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on + ELF targets. + +2016-04-27 H.J. Lu + + * testsuite/ld-elf/compressed1b.d: Pass + --compress-debug-sections=none to ld. + * testsuite/ld-elf/compressed1c.d: Likewise. + +2016-04-27 Alan Modra + + PR target/19985 + * configure.tgt: Don't use var+=. + +2016-04-25 Nick Clifton + + PR target/19985 + * configure.tgt: Include big endian PPC64 emulations with little + endian PPC64 targets. + +2016-04-25 Senthil Kumar Selvaraj + + * scripttempl/avrtiny.sc (.text): Do not set LMA to zero. + +2016-04-21 Nick Clifton + + * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in + prefernce to _bfd_elf_link_check_relocs. Drop test for ELF + targets. Do not stop the checks when problems are encountered. + +2016-04-21 Alan Modra + + * testsuite/ld-scripts/cross3.t: Add commonly used data + and text section names to output section statements. + * testsuite/ld-scripts/cross4.t: Likewise. + * testsuite/ld-scripts/cross5.t: Likewise. + * testsuite/ld-scripts/cross6.t: Likewise. + * testsuite/ld-scripts/cross7.t: Likewise. + +2016-04-20 H.J. Lu + + * ldlang.c (lang_check_relocs): New function. + (lang_process): Call lang_check_relocs after lang_gc_sections. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't + call _bfd_elf_link_check_relocs here. + +2016-04-20 H.J. Lu + + PR ld/19972 + * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for + R_386_NONE or R_X86_64_NONE. + +2016-04-20 H.J. Lu + + * testsuite/ld-x86-64/pic1.d: New file. + * testsuite/ld-x86-64/pic1.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pic1. + +2016-04-20 H.J. Lu + + * testsuite/ld-x86-64/pie2.d: New file. + * testsuite/ld-x86-64/pie2.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pie2. + +2016-04-20 H.J. Lu + + PR ld/19969 + * testsuite/ld-x86-64/pr19969.d: New file. + * testsuite/ld-x86-64/pr19969a.S: Likewise. + * testsuite/ld-x86-64/pr19969b.S: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests. + +2016-04-20 H.J. Lu + + * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + New. + * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): + Likewise. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): + Set check_relocs_after_open_input to TRUE if + CHECK_RELOCS_AFTER_OPEN_INPUT is yes. + (gld${EMULATION_NAME}_after_open): Call + _bfd_elf_link_check_relocs on all inputs if + check_relocs_after_open_input is TRUE. + +2016-04-20 H.J. Lu + + * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on + my_personality_v0. + +2016-04-20 Trevor Saunders + + * emultempl/scoreelf.em: Likewise. + +2016-04-19 H.J. Lu + + PR ld/19719 + * testsuite/ld-x86-64/pr19719.d: New file. + * testsuite/ld-x86-64/pr19719.s: Likewise. + * testsuite/ld-x86-64/x86-64.exp: Run pr19719. + +2016-04-18 Matthew Fortune + + * ld.texinfo: Document NOCROSSREFS_TO script command. + * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field. + (lang_add_nocrossref_to): New prototype. + * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for + symbols defined in the first section. + (check_nocrossref): Likewise. + * ldgram.y (NOCROSSREFS_TO): New script command. + * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE. + (lang_add_nocrossref_to): New function. + * ldlex.l (NOCROSSREFS_TO): New token. + * NEWS: Mention NOCROSSREFS_TO. + * testsuite/ld-scripts/cross4.t: New file. + * testsuite/ld-scripts/cross5.t: Likewise. + * testsuite/ld-scripts/cross6.t: Likewise. + * testsuite/ld-scripts/cross7.t: Likewise. + * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO + tests. + +2016-04-15 H.J. Lu + + * Makefile.in: Regenerated with automake 1.11.6. + * aclocal.m4: Likewise. + +2016-04-14 Andrew Burgess + + * testsuite/ld-arc/arc.exp: New file. + * testsuite/ld-arc/nps-1.s: New file. + * testsuite/ld-arc/nps-1a.d: New file. + * testsuite/ld-arc/nps-1b.d: New file. + * testsuite/ld-arc/nps-1b.err: New file. + +2016-04-14 Nick Clifton + + PR 19457 + * testsuite/ld-scripts/script.exp (extract_symbol_test): Add + exceptions for Mingw and Cygwin. + +2016-04-13 Andrew Burgess + + * testsuite/lib/ld-lib.exp (run_dump_test): Initialise + check_ld(terminal). + +2016-04-13 H.J. Lu + + PR ld/19774 + * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before + tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed + tests. + +2016-04-11 H.J. Lu + + PR ld/19939 + * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests. + * testsuite/ld-x86-64/x86-64.exp: Likewise. + * testsuite/ld-i386/pr19939.s: New file. + * testsuite/ld-i386/pr19939a.d: Likewise. + * testsuite/ld-i386/pr19939b.d: Likewise. + * testsuite/ld-x86-64/pr19939.s: Likewise. + * testsuite/ld-x86-64/pr19939a.d: Likewise. + * testsuite/ld-x86-64/pr19939b.d: Likewise. + +2016-04-09 Oleg Endo + + * emulparams/shelf.sh: Set stack area to 0x3FFFFF00. + +2016-04-08 Alan Modra + + PR 18452 + * ldlang.c (maybe_overlays): Delete. + (lang_size_sections_1): Remove code setting maybe_overlays. + (lang_check_section_addresses): Instead detect overlays by + exact match of section VMAs here. Fix memory leak. + +2016-04-08 Dan Gisselquist + + * ldlang.c (print_output_section_statement): Show minfo size + in target machine address units. + (print_reloc_statement): Likewise. + (print_padding_statement): Likewise. + (print_data_statement): Likewise. Ensure minimum print_dot + increment of one address unit. + +2016-04-07 Andrew Burgess + + * emulparams/arc-endianness.sh: Make little endian default choice. + +2016-04-07 Nick Clifton + + * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in + section name. + * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise. + +2016-04-05 Andrew Burgess + + * emulparams/arc-endianness.sh: New file. + * emulparams/arcebelf.sh: Deleted. + * emulparams/arcebelf_prof.sh: Deleted. + * emulparams/arceblinux.sh: Deleted. + * emulparams/arceblinux_prof.sh: Deleted. + * emulparams/arcelf.sh: Include arc-endinness.sh. + * emulparams/arcelf_prof.sh: Include arc-endinness.sh. + * emulparams/arclinux.sh: Include arc-endinness.sh. + * emulparams/arclinux_prof.sh: Include arc-endinness.sh. + * emulparams/arcv2elf.sh: Include arc-endinness.sh. + * emulparams/arcv2elfx.sh: Include arc-endinness.sh. + * testsuite/ld-elf/compressed1d.d: Update pattern for big and + little endian arc targets. + * testsuite/ld-elf/eh-frame-hdr.d: Likewise. + * testsuite/ld-elf/group1.d: Likewise. + * testsuite/ld-elf/group3b.d: Likewise. + * testsuite/ld-elf/group8a.d: Likewise. + * testsuite/ld-elf/group8b.d: Likewise. + * testsuite/ld-elf/group9a.d: Likewise. + * testsuite/ld-elf/group9b.d: Likewise. + * testsuite/ld-elf/linkonce2.d: Likewise. + * testsuite/ld-elf/pr12851.d: Likewise. + * testsuite/ld-elf/pr12975.d: Likewise. + * testsuite/ld-elf/pr13177.d: Likewise. + * testsuite/ld-elf/pr13195.d: Likewise. + * testsuite/ld-elf/pr17615.d: Likewise. + * testsuite/ld-elf/pr19162.d: Likewise. + * testsuite/ld-elf/sec64k.exp: Likewise. + * testsuite/lib/ld-lib.exp: Likewise. + +2016-04-05 Maciej W. Rozycki + + PR ld/19908 + * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol + handling fix. + * testsuite/ld-cris/tls-e-20a.d: Likewise. + * testsuite/ld-cris/tls-e-21.d: Likewise. + * testsuite/ld-cris/tls-e-23.d: Likewise. + * testsuite/ld-cris/tls-e-80.d: Likewise. + * testsuite/ld-cris/tls-gd-3h.d: Likewise. + * testsuite/ld-cris/tls-leie-19.d: Likewise. + * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test. + * testsuite/ld-mips-elf/export-hidden-ref.sd: New test. + * testsuite/ld-mips-elf/export-internal-ref.sd: New test. + * testsuite/ld-mips-elf/export-protected-ref.sd: New test. + * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source. + * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source. + * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source. + * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. + +2016-04-05 Cupertino Miranda + + * testsuite/ld-discard/extern.d: Removed xfail for ARC. + * testsuite/ld-discard/start.d: Likewise. + * testsuite/ld-discard/static.d: Likewise. + * testsuite/ld-elf/group1.d: Likewise. + * testsuite/ld-elf/group3b.d: Likewise. + * testsuite/ld-elf/orphan-region.d: Likewise. + * testsuite/ld-elf/orphan.d: Likewise. + * testsuite/ld-elf/orphan3.d: Likewise. + * testsuite/ld-elf/pr349.d: Likewise. + * testsuite/ld-elf/warn1.d: Likewise. + * testsuite/ld-elf/warn2.d: Likewise. + * testsuite/ld-elf/warn3.d: Likewise. + * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol + through linker flags. + * testsuite/ld-srec/srec.exp: Set as xfail. + +2016-04-04 H.J. Lu + + PR ld/19827 + * testsuite/ld-i386/pr19827-nacl.rd: New file. + * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise. + +2016-04-04 Nick Clifton + + PR 19803 + * emultempl/pe.em (change_undef): New function. Encapsulates + duplicated code in pe_fixup_stdcalls and adds the newly defined + sym to the gc root list. + (pe_fixup_stdcall): Use the new function. + * pe-dll.c (process_def_file_and_drectve); Add alias of exported + symbol to gc root list. + +2016-03-31 Alan Modra + + * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file. + (lang_insert_orphan): Use TO_ADDR in __stop sym calculation. + (print_input_section): Don't use TO_ADDR when printing section + size. + (lang_size_sections_1): Use TO_ADDR in overlay lma calculation. + (lang_size_sections): Use TO_ADDR in relro end calculation. + +2016-03-30 Andrew Burgess + + * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return + value from regexp_diff. + * testsuite/ld-elf/orphan-5.l: Fix expected output. + * testsuite/ld-elf/orphan-6.l: Likewise. + +2016-03-30 Alan Modra + + PR 18452 + * ldlang.c (maybe_overlays): New static var. + (lang_size_sections_1): Set it here. + (struct check_sec): New. + (sort_sections_by_lma): Adjust for array of structs. + (sort_sections_by_vma): New function. + (lang_check_section_addresses): Check both LMA and VMA for overlap. + * testsuite/ld-scripts/rgn-over7.d: Adjust. + 2016-03-30 Alan Modra * ldlang.c (lang_size_sections_1): Correct code detecting a