3 * ld-aarch64/emit-relocs-529.s: New testcase.
4 * ld-aarch64/emit-relocs-529-overflow.s: Likewise.
5 * ld-aarch64/emit-relocs-86.s: Likewise.
6 * ld-aarch64/emit-relocs-86-overflow.s: Likewise.
7 * ld-aarch64/emit-relocs-529.d: New expectation file.
8 * ld-aarch64/emit-relocs-529-overflow.d: Likewise.
9 * ld-aarch64/emit-relocs-86.d: Likewise.
10 * ld-aarch64/emit-relocs-86-overflow.d: Likewise.
11 * ld-aarch64/aarch64-elf.exp: Run new testcases.
15 * ld-aarch64/tls-small-ld.s: Update testcase.
19 * ld-aarch64/tls-small-ld.s: New file.
20 * ld-aarch64/tls-small-ld.d: Likewise.
21 * ld-aarch64/aarch64-elf.exp: Run new test.
26 * ld-ifunc/ifunc.exp: Add a test for PR ld/18808.
27 * ld-ifunc/pr18808.out: New file.
28 * ld-ifunc/pr18808a.c: Likewise.
29 * ld-ifunc/pr18808b.c: Likewise.
34 * ld-elf/indirect.exp: Run tests for PR ld/18720.
35 * ld-elf/pr18720.out: New file.
36 * ld-elf/pr18720a.c: Likewise.
37 * ld-elf/pr18720b.c: Likewise.
38 * ld-elf/pr18720c.c: Likewise.
42 * ld/ld-lib.exp (run_dump_test): When using the map option, no
47 * ld/ld-lib.exp (run_dump_test): Add error_output and
48 warning_output options.
52 * ld-undefined/require-defined-1.d: New file.
53 * ld-undefined/require-defined-2.d: New file.
54 * ld-undefined/require-defined-3.d: New file.
55 * ld-undefined/require-defined-4.d: New file.
56 * ld-undefined/require-defined-5.d: New file.
57 * ld-undefined/require-defined.exp: New file.
58 * ld-undefined/require-defined.s: New file.
63 * ld-elf/pr18735.d: New file.
64 * ld-elf/pr18735.s: Likewise.
68 * ld-elf/pr18718.c (bar): Use noclone attribute only for GCC
73 * ld-size/size.exp: Move run-time support check.
77 * ld-powerpc/elfv2so.d: Update.
81 * config/default.exp (NOPIE_CFLAGS): New.
82 (NOPIE_LDFLAGS): Likewise.
83 * ld-size/size.exp (run_cc_link_tests): Add $NOPIE_CFLAGS and
84 $NOPIE_LDFLAGS if needed.
85 (run_ld_link_exec_tests): Add $NOPIE_CFLAGS if needed.
89 * ld-srec/srec.exp (CC): Save and restore. Append $PLT_CFLAGS.
94 * ld-shared/shared.exp: Pass $PLT_CFLAGS to ld_compile.
98 * ld-scripts/crossref.exp (CC): Save and restore. Append
103 * ld-i386/i386.exp (run_cc_link_tests): Add $PLT_CFLAGS to
105 * ld-x86-64/mpx.exp (run_cc_link_tests): Likewise.
106 * ld-x86-64/x86-64.exp (run_cc_link_tests): Likewise.
110 * ld-elfvsb/elfvsb.exp (visibility_run): Pass $PLT_CFLAGS to
115 * ld-elfvers/vers.exp (build_vers_lib_no_pic): Pass $PLT_CFLAGS
120 * config/default.exp (PLT_CFLAGS): New.
125 * ld-aarch64/protected-data.d: New.
126 * ld-aarch64/protected-data.s: New.
127 * ld-aarch64/aarch64-elf.exp: Add new test.
132 * ld-arm/protected-data.d: New.
133 * ld-arm/protected-data.s: New.
134 * ld-arm/arm-elf.exp: Add new test.
139 * ld-elf/shared.exp: Compile PR ld/18718 tests with -O2.
143 * lib/ld-lib.exp (run_host_cmd_yesno): Set errcnt and warncnt
149 * ld-elf/pr18718.c: New file.
150 * ld-elf/shared.exp: Run tests for PR ld/18718.
154 * ld-elf/symbolic-func.s,
155 * ld-elf/symbolic-func.r: New test.
156 * ld-elf/elf.exp: Run it.
160 * ld-elf/compress.exp (build_tests): Replace -g with -ggdb3.
161 * ld-elf/zlibbegin.rS: Also expect "GC".
162 * ld-elf/zlibnormal.rS: Likewise.
166 * ld-aarch64/tls-tiny-ld.s: New file.
167 * ld-aarch64/tls-tiny-ld.d: Ditto.
168 * ld-aarch64/aarch64-elf.exp: Run new test.
172 * ld-elf/zlibbegin.rS: Updated to .debug_.* with the
174 * ld-elf/zlibnormal.rS: Likewise.
178 * ld-mips-elf/attr-gnu-4-08.d: Update expected output.
179 * ld-mips-elf/attr-gnu-4-09.d: New.
180 * ld-mips-elf/attr-gnu-4-19.d: New.
181 * ld-mips-elf/attr-gnu-4-29.d: New.
182 * ld-mips-elf/attr-gnu-4-39.d: New.
183 * ld-mips-elf/attr-gnu-4-49.d: New.
184 * ld-mips-elf/attr-gnu-4-59.d: New.
185 * ld-mips-elf/attr-gnu-4-69.d: New.
186 * ld-mips-elf/attr-gnu-4-79.d: New.
187 * ld-mips-elf/attr-gnu-4-89.d: New.
188 * ld-mips-elf/attr-gnu-4-9.s: New.
189 * ld-mips-elf/mips-elf.exp: Run new tests.
193 * ld-avr/gc-section-debugline.d: New test.
194 * ld-avr/per-function-debugline.s: Source for new test.
198 * ld-powerpc/tocopt6-inc.s, ld-powerpc/tocopt6a.s,
199 ld-powerpc/tocopt6b.s, ld-powerpc/tocopt6c.s,
200 ld-powerpc/tocopt6.d: New test.
201 * ld-powerpc/powerpc.exp (ppc64elftests): Add it.
207 * lib/ld-lib.exp (check_gc_sections_available): Do not
208 automatically fail for cygwin and mingw targets.
213 * ld-nios2/mixed1a.d: New.
214 * ld-nios2/mixed1a.s: New.
215 * ld-nios2/mixed1b.d: New.
216 * ld-nios2/mixed1b.s: New.
217 * ld-nios2/nios2.exp: Build the new compatibility tests.
221 * ld-xtensa/tlsbin.rd: Updated.
222 * ld-xtensa/tlspic.rd: Likewise.
226 * ld-mips-elf/pic-and-nonpic-3b.ad: Adjust for extra dynamic tag.
227 * ld-mips-elf/pic-and-nonpic-4b.ad: Likewise.
228 * ld-mips-elf/pic-and-nonpic-5b.ad: Likewise.
229 * ld-mips-elf/pic-and-nonpic-6-n32.ad: Likewise.
230 * ld-mips-elf/pic-and-nonpic-6-n64.ad: Likewise.
231 * ld-mips-elf/pic-and-nonpic-6-o32.ad: Likewise.
232 * ld-mips-elf/tlsdyn-o32-1.d: Likewise.
233 * ld-mips-elf/tlsdyn-o32-1.got: Likewise.
234 * ld-mips-elf/tlsdyn-o32-2.d: Likewise.
235 * ld-mips-elf/tlsdyn-o32-2.got: Likewise.
236 * ld-mips-elf/tlsdyn-o32-3.d: Likewise.
237 * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
238 * ld-mips-elf/tlsdyn-o32.d: Likewise.
239 * ld-mips-elf/tlsdyn-o32.got: Likewise.
240 * ld-mips-elf/pie-n32.d: New file.
241 * ld-mips-elf/pie-n64.d: Likewise.
242 * ld-mips-elf/pie-o32.d: Likewise.
243 * ld-mips-elf/pie.s: Likewise.
244 * ld-mips-elf/mips-elf.exp: Add new tests.
248 * ld-elf/strtab.d: Only run on *-*-linux* and *-*-gnu* targets.
252 * ld-mmix/bspec1.d: Updated.
253 * ld-mmix/bspec2.d: Likewise.
254 * ld-mmix/undef-3.d: Likewise.
259 * ld-elf/strtab.d: New file.
260 * ld-elf/strtab.s: Likewise.
264 * ld-i386/i386.exp: Run pltgot-2 for Linux targets.
265 * ld-x86-64/x86-64.exp: Likewise.
266 * ld-i386/pltgot-1.d: Updated.
267 * ld-x86-64/pltgot-1.d: Likewise.
268 * ld-i386/pltgot-2.d: New file.
269 * ld-x86-64/pltgot-2.d: Likewise.
273 * ld-aarch64/dt_textrel.s: New testcase.
274 * ld-aarch64/dt_textrel.d: New expectation file.
275 * ld-aarch64/aarch64-elf.exp: Run new testcase.
279 * ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul): New function.
280 * ld-aarch64/emit-relocs-28.d: Use aarch64_choose_ilp32_emul to choose
285 * ld-powerpc/ppc476-shared.s: Repeat dynamic reloc generating insns.
286 * ld-powerpc/ppc476-shared.d: Update.
287 * ld-powerpc/ppc476-shared2.d: Update.
291 * ld-scripts/print-memory-usage-1.t,
292 * ld-scripts/print-memory-usage-1.s,
293 * ld-scripts/print-memory-usage-1.l,
294 * ld-scripts/print-memory-usage-2.t,
295 * ld-scripts/print-memory-usage-2.l,
296 * ld-scripts/print-memory-usage-3.s,
297 * ld-scripts/print-memory-usage-3.t,
298 * ld-scripts/print-memory-usage-3.l,
299 * ld-scripts/print-memory-usage.t: New tests.
300 * ld-scripts/print-memory-usage.exp: Run them.
304 * ld-elf/compressed1d.d: Fix typo: iq200 -> iq2000.
308 * ld-powerpc/ppc476-shared.s,
309 * ld-powerpc/ppc476-shared.lnk,
310 * ld-powerpc/ppc476-shared.d,
311 * ld-powerpc/ppc476-shared2.d: New tests.
312 * ld-powerpc/powerpc.exp: Run them.
316 * ld-aarch64/emit-relocs-313.s: Use gotpage_lo15.
320 * ld-aarch64/emit-relocs-28.s: New test file.
321 * ld-aarch64/emit-relocs-28.d: Ditto.
322 * ld-aarch64/aarch64-elf.exp: Run new test.
326 * ld-aarch64/tprel_add_lo12_overflow.s: New testcase.
327 * ld-aarch64/tprel_add_lo12_overflow.d: Nex expectation file.
328 * ld-aarch64/aarch64-elf.exp: Run new testcase.
332 * ld-aarch64/emit-relocs-313.s: New test file.
333 * ld-aarch64/emit-relocs-313.d: Ditto.
334 * ld-aarch64/aarch64-elf.exp: Run new test.
338 * ld-pe/pe-run2.exp (test_direct2_link_dll): Add $CFLAGS to the
339 compiler command line.
344 * ld-mips-elf/compact-eh.ld: New linker script.
345 * ld-mips-elf/compact-eh1.d: New.
346 * ld-mips-elf/compact-eh1.s: New.
347 * ld-mips-elf/compact-eh1a.s: New.
348 * ld-mips-elf/compact-eh1b.s: New.
349 * ld-mips-elf/compact-eh2.d: New.
350 * ld-mips-elf/compact-eh2.s: New.
351 * ld-mips-elf/compact-eh3.d: New.
352 * ld-mips-elf/compact-eh3.s: New.
353 * ld-mips-elf/compact-eh3a.s: New.
354 * ld-mips-elf/compact-eh4.d: New.
355 * ld-mips-elf/compact-eh5.d: New.
356 * ld-mips-elf/compact-eh6.d: New.
357 * ld-mips-elf/mips-elf.exp: Run new tests.
362 * ld-elf/shared.exp (build_tests): Build libpr18458a.so and
364 (run_tests): Run pr18458 test.
365 * ld-elf/pr18458a.c: New file.
366 * ld-elf/pr18458b.c: Likewise.
367 * ld-elf/pr18458c.c: Likewise.
371 * ld-i386/i386.exp: Run PR ld/17689 tests with -z now.
372 * ld-x86-64/x86-64.exp: Likewise
373 * ld-i386/pr17689now.rd: New file.
374 * ld-x86-64/pr17689now.rd: Likewise
379 * ld-x86-64/tlsgdesc.dd: Also pass -Mintel64 to objdump.
380 * ld-x86-64/tlspic.dd: Likewise.
381 * ld-x86-64/x86-64.exp (x86_64tests): Also pass -Mintel64 to
382 objdump for tlspic.dd and tlsgdesc.dd.
386 * ld-i386/i386.exp: Run pltgot-1 for Linux targets.
387 * ld-x86-64/x86-64.exp: Likewise.
388 * ld-i386/pltgot-1.d: New file.
389 * ld-i386/pltgot-1.s: Likewise.
390 * ld-x86-64/pltgot-1.d: Likewise.
391 * ld-x86-64/pltgot-1.s: Likewise.
395 * ld-i386/i386.exp (iamcu_tests): Run iamcu-4.
396 * ld-i386/iamcu-4.d: New file.
400 * ld-i386/abs-iamcu.d: New file.
401 * ld-i386/dummy.s: Likewise.
402 * ld-i386/foo.s: Likewise.
403 * ld-i386/iamcu-1.d: Likewise.
404 * ld-i386/iamcu-2.d: Likewise.
405 * ld-i386/iamcu-3.d: Likewise.
406 * ld-i386/start.s: Likewise.
407 * ld-i386/i386.exp (iamcu_tests): New.
413 * ld-x86-64/tlsgdesc.dd: Updated.
414 * ld-x86-64/tlspic.dd: Likewise.
419 * ld-elf/compress.exp (run_tests): Link the last zlibnormal,
420 gnunormal and gabinormal against libfoozlib.so.
424 * ld-arm/ifunc-10.dd: Adjust expected output.
425 * ld-arm/ifunc-2.dd: Likewise.
429 * ld-s390/gotreloc_31-1.dd: Use instruction mnemonics.
433 * ld-powerpc/tocnovar.d: Revert last change.
437 * ld-arm/armthumb-lib.d: Regenerate expected output.
438 * ld-arm/armthumb-lib.d: Likewise.
439 * ld-arm/armthumb-lib.sym: Likewise.
440 * ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise.
441 * ld-arm/cortex-a8-fix-b-rel-thumb.d: Likewise.
442 * ld-arm/cortex-a8-fix-b.d: Likewise.
443 * ld-arm/cortex-a8-fix-bcc-rel-thumb.d: Likewise.
444 * ld-arm/cortex-a8-fix-bcc.d: Likewise.
445 * ld-arm/cortex-a8-fix-bl-rel-arm.d: Likewise.
446 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
447 * ld-arm/cortex-a8-fix-bl-rel-thumb.d: Likewise.
448 * ld-arm/cortex-a8-fix-bl.d: Likewise.
449 * ld-arm/cortex-a8-fix-blx-bcond.d: Likewise.
450 * ld-arm/cortex-a8-fix-blx-rel-arm.d: Likewise.
451 * ld-arm/cortex-a8-fix-blx-rel-thumb.d: Likewise.
452 * ld-arm/cortex-a8-fix-blx.d: Likewise.
453 * ld-arm/cortex-a8-fix-hdr.d: Likewise.
454 * ld-arm/farcall-mixed-app-v5.d: Likewise.
455 * ld-arm/farcall-mixed-app.d: Likewise.
456 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
457 * ld-arm/farcall-mixed-lib.d: Likewise.
458 * ld-arm/mixed-app-v5.d: Likewise.
459 * ld-arm/mixed-app.d: Likewise.
460 * ld-arm/mixed-lib.d: Likewise.
464 * ld-elf/compressed1d.d: Add notarget for ELF based targets that
469 * ld-elf/compressed1e.d: Correct xfail to notarget and cris*-*-*
474 * ld-elf/compressed1e.d: Only run for Linux/gnu. Xfail cris and
480 * ld-elf/compressed1d.d: New.
481 * ld-elf/compressed1e.d: Likewise.
485 * ld-powerpc/ambiguousv1b.d: Update for aligned .got.
486 * ld-powerpc/defsym.d: Likewise.
487 * ld-powerpc/elfv2-2exe.d: Likewise.
488 * ld-powerpc/elfv2exe.d: Likewise.
489 * ld-powerpc/elfv2so.d: Likewise.
490 * ld-powerpc/relbrlt.d: Likewise.
491 * ld-powerpc/tls.g: Likewise.
492 * ld-powerpc/tlsexe.d: Likewise.
493 * ld-powerpc/tlsexe.g: Likewise.
494 * ld-powerpc/tlsexe.r: Likewise.
495 * ld-powerpc/tlsexetoc.d: Likewise.
496 * ld-powerpc/tlsexetoc.g: Likewise.
497 * ld-powerpc/tlsexetoc.r: Likewise.
498 * ld-powerpc/tlsso.d: Likewise.
499 * ld-powerpc/tlsso.g: Likewise.
500 * ld-powerpc/tlsso.r: Likewise.
501 * ld-powerpc/tlstoc.g: Likewise.
502 * ld-powerpc/tlstocso.d: Likewise.
503 * ld-powerpc/tlstocso.g: Likewise.
504 * ld-powerpc/tlstocso.r: Likewise.
505 * ld-powerpc/tocopt.d: Likewise.
506 * ld-powerpc/tocopt2.d: Likewise.
507 * ld-powerpc/tocopt3.d: Likewise.
508 * ld-powerpc/tocopt4.d: Likewise.
509 * ld-powerpc/tocopt5.d: Likewise.
510 * ld-powerpc/tocnovar.d: Adjust.
514 * ld-x86-64/pr18176.d: Update.
519 * ld-i386/copyreloc-lib.c: New file.
520 * ld-i386/copyreloc-main.S: Likewise.
521 * ld-i386/copyreloc-main.out: Likewise.
522 * ld-i386/copyreloc-main1.rd: Likewise.
523 * ld-i386/copyreloc-main2.rd: Likewise.
524 * ld-i386/dummy.c: Likewise.
525 * ld-i386/pr17689.out: Likewise.
526 * ld-i386/pr17689.rd: Likewise.
527 * ld-i386/pr17689a.c: Likewise.
528 * ld-i386/pr17689b.S: Likewise.
529 * ld-i386/pr17827.rd: Likewise.
530 * ld-i386/pr17827ver.rd: Likewise.
531 * ld-i386/i386.exp: Run copyreloc tests.
535 * ld-mmix/bspec1.d: Don't hardcode offset of .shstrtab section.
536 * ld-mmix/bspec2.d: Likewise.
537 * ld-mmix/local1.d: Likewise.
538 * ld-mmix/local3.d: Likewise.
539 * ld-mmix/local5.d: Likewise.
540 * ld-mmix/local7.d: Likewise.
541 * ld-mmix/undef-3.d: Likewise.
542 * ld-sh/sh64/crangerel1.rd: Likewise.
543 * ld-sh/sh64/crangerel2.rd: Likewise.
544 * ld-tic6x/common.d: Likewise.
545 * ld-tic6x/shlib-1.rd: Likewise.
546 * ld-tic6x/shlib-1b.rd: Likewise.
547 * ld-tic6x/shlib-1r.rd: Likewise.
548 * ld-tic6x/shlib-1rb.rd: Likewise.
549 * ld-tic6x/shlib-app-1.rd: Likewise.
550 * ld-tic6x/shlib-app-1b.rd: Likewise.
551 * ld-tic6x/shlib-app-1r.rd: Likewise.
552 * ld-tic6x/shlib-app-1rb.rd: Likewise.
553 * ld-tic6x/shlib-noindex.rd: Likewise.
554 * ld-tic6x/static-app-1.rd: Likewise.
555 * ld-tic6x/static-app-1b.rd: Likewise.
556 * ld-tic6x/static-app-1r.rd: Likewise.
557 * ld-tic6x/static-app-1rb.rd: Likewise.
558 * ld-x86-64/ilp32-4.d: Likewise.
559 * ld-x86-64/split-by-file-nacl.rd: Likewise.
560 * ld-x86-64/split-by-file.rd: Likewise.
564 * ld-elf/compress.exp (build_tests): Add tests for
565 --compress-debug-sections=.
566 (run_tests): Likewise.
567 Add additonal tests for --compress-debug-sections=.
568 * ld-elf/gabiend.rt: New file.
569 * ld-elf/gabinormal.rt: Likewise.
570 * ld-elf/gnubegin.rS: Likewise.
571 * ld-elf/gnunormal.rS: Likewise.
572 * ld-elf/zlibbegin.rS: Likewise.
573 * ld-elf/zlibnormal.rS: Likewise.
577 * ld-gc/pr18223.d: xfail tic6x.
582 * ld-i386/i386.exp: Run protected6b.
583 * ld-i386/protected6b.d: New file.
584 * ld-x86-64/protected6b.d: Likewise.
585 * ld-x86-64/x86-64.exp: Run protected6b.
589 * ld-i386/i386.exp: Run protected6a.
590 * ld-i386/protected6.d: Renamed to ...
591 * ld-i386/protected6a.d: This.
592 * ld-x86-64/hidden4.d: New file.
593 * ld-x86-64/hidden4.s: Likewise.
594 * ld-x86-64/hidden5.d: Likewise.
595 * ld-x86-64/hidden5.s: Likewise.
596 * ld-x86-64/protected6.d: Renamed to ...
597 * ld-x86-64/protected6a.d: This.
598 * ld-x86-64/x86-64.exp: Run hidden4, hidden5, protected6a,
599 protected7a and protected7b.
604 * ld-i386/protected6.d: New file.
605 * ld-i386/protected6.s: Likewise.
606 * ld-x86-64/protected6.d: Likewise.
607 * ld-x86-64/protected6.s: Likewise.
608 * ld-x86-64/protected7.d: Likewise.
609 * ld-x86-64/protected7.s: Likewise.
610 * ld-x86-64/protected7a.d: Likewise.
611 * ld-x86-64/protected7b.d: Likewise.
617 * ld-i386/i386.exp (i386tests): Add a test for PR ld/17709.
618 * ld-i386/pr17709-nacl.rd: New file.
619 * ld-i386/pr17709.rd: Likewise.
620 * ld-i386/pr17709a.s: Likewise.
621 * ld-i386/pr17709b.s: Likewise.
622 * ld-i386/protected3.d: Updated.
623 * ld-i386/protected3.s: Likewise.
624 * ld-x86-64/pr17709-nacl.rd: New file.
625 * ld-x86-64/pr17709.rd: Likewise.
626 * ld-x86-64/pr17709a.s: Likewise.
627 * ld-x86-64/pr17709b.s: Likewise.
628 * ld-x86-64/protected3.d: Updated.
629 * ld-x86-64/protected3.s: Likewise.
630 * ld-x86-64/x86-64.exp (x86_64tests): Add a test for PR ld/17709.
635 * ld-gc/gc.exp: Run pr18223.
636 * ld-gc/pr18223.d: New file.
637 * ld-gc/pr18223.s: Likewise.
644 * ld-i386/i386.exp (i386tests): Remove test for PR ld/17709.
645 * ld-i386/pr17709-nacl.rd: Delete.
646 * ld-i386/pr17709.rd: Likewise.
647 * ld-i386/pr17709a.s: Likewise.
648 * ld-i386/pr17709b.s: Likewise.
649 * ld-i386/protected3.d: Updated.
650 * ld-i386/protected3.s: Likewise.
651 * ld-x86-64/pr17709-nacl.rd: Delete.
652 * ld-x86-64/pr17709.rd: Likewise.
653 * ld-x86-64/pr17709a.s: Likewise.
654 * ld-x86-64/pr17709b.s: Likewise.
655 * ld-x86-64/protected3.d: Updated.
656 * ld-x86-64/protected3.s: Likewise.
657 * ld-x86-64/x86-64.exp (x86_64tests): Remove test for PR ld/17709.
661 * ld-elf/compress.exp: Add a test for
662 --compress-debug-sections=zlib-gabi.
663 (build_tests): Add 2 tests for --compress-debug-sections=zlib-gabi.
664 (run_tests): Likewise.
665 Verify linker output with zlib-gabi compressed debug input.
666 * ld-elf/compressed1a.d: New file.
667 * ld-elf/compressed1b.d: Likewise.
668 * ld-elf/compressed1c.d: Likewise.
672 * ld-arm/tls-gdesc-nlazy.g: Adjust for readelf note.
673 * ld-tic6x/shlib-1.rd: Expect corrected .rela.plt sh_info.
674 * ld-tic6x/shlib-1b.rd: Likewise.
675 * ld-tic6x/shlib-1r.rd: Likewise.
676 * ld-tic6x/shlib-1rb.rd: Likewise.
677 * ld-tic6x/shlib-app-1.rd: Likewise.
678 * ld-tic6x/shlib-app-1b.rd: Likewise.
679 * ld-tic6x/shlib-app-1r.rd: Likewise.
680 * ld-tic6x/shlib-app-1rb.rd: Likewise.
681 * ld-tic6x/shlib-noindex.rd: Likewise.
685 * ld-elf/orphan-5.l: New test - checks the linker's output with
686 --warn-orphan enabled.
687 * ld-elf/elf.exp: Run the new test.
691 * ld-elf/compress.exp: Remove is_zlib_supported check.
692 Fail if --compress-debug-sections doesn't work.
693 * lib/ld-lib.exp (run_dump_test): Remove is_zlib_supported check.
697 * ld-aarch64/aarch64-elf.exp: Add erratum843419 test.
698 * ld-aarch64/erratum843419.d: New.
699 * ld-aarch64/erratum843419.s: New.
704 * ld-x86-64/pr18176.d: New file.
705 * ld-x86-64/pr18176.s: Likewise.
706 * ld-x86-64/pr18176.t: Likewise.
707 * ld-x86-64/x86-64.exp: Run pr18176.
711 * ld-bootstrap/bootstrap.exp (extralibs): Add -lz.
716 * ld-elf/linkinfo1a.d: Updated.
717 * ld-elf/linkinfo1b.d: Likewise.
721 * ld-x86-64/pr18160.d: Don't run for x86_64-*-nacl* target.
725 * ld-aarch64/farcall-back-be.d: New.
730 * ld-x86-64/pr18160.d: New file.
731 * ld-x86-64/pr18160.s: Likewise.
732 * ld-x86-64/pr18160.t: Likewise.
733 * ld-x86-64/x86-64.exp: Run pr18160.
737 * ld-aarch64/erratum835769.d: Adjust for initial branch over stub
739 * ld-aarch64/farcall-b.d: Likewise.
740 * ld-aarch64/farcall-bl.d: Likewise.
741 * ld-aarch64/farcall-back.d: Likewise.
745 * ld-aarch64/erratum835769.d: Adjust for removal of padding before
746 835769 workaround stubs.
750 * ld-gc/all-debug-sections.d: New file.
751 * ld-gc/all-debug-sections.s: Likewise.
752 * ld-gc/gc.exp: Execute new testcase.
756 * ld-powerpc/tls32.s: Add GOT pointer setup.
757 * ld-powerpc/tls32.d: Update.
758 * ld-powerpc/tls32.g: Update.
759 * ld-powerpc/tls32.t: Update.
760 * ld-powerpc/tlsexe.d: Update.
761 * ld-powerpc/tlsexe32.d: Update.
762 * ld-powerpc/tlsexe32.g: Update.
763 * ld-powerpc/tlsexe32.r: Update.
764 * ld-powerpc/tlsexetoc.d: Update.
765 * ld-powerpc/tlsso32.d: Update.
766 * ld-powerpc/tlsso32.g: Update.
767 * ld-powerpc/tlsso32.r: Update.
773 * ld-i386/i386.exp (i386tests): Add a test for PR ld/17709.
774 * ld-i386/pr17709-nacl.rd: New file.
775 * ld-i386/pr17709.rd: Likewise.
776 * ld-i386/pr17709a.s: Likewise.
777 * ld-i386/pr17709b.s: Likewise.
778 * ld-i386/protected3.d: Updated.
779 * ld-i386/protected3.s: Likewise.
780 * ld-x86-64/pr17709-nacl.rd: New file.
781 * ld-x86-64/pr17709.rd: Likewise.
782 * ld-x86-64/pr17709a.s: Likewise.
783 * ld-x86-64/pr17709b.s: Likewise.
784 * ld-x86-64/protected3.d: Updated.
785 * ld-x86-64/protected3.s: Likewise.
786 * ld-x86-64/x86-64.exp (x86_64tests): Add a test for PR ld/17709.
791 * ld-aarch64/tlsle.s, ld-aarch64/tlsle.d: New test.
792 * ld-aarch64/aarch64-elf.exp: Run it.
796 * ld-sparc/gotop32.rd: Update for changed padding in data sections.
797 * ld-sparc/gotop32.td: Likewise.
798 * ld-sparc/gotop64.rd: Likewise.
799 * ld-sparc/gotop64.td: Likewise.
800 * ld-tilegx/external.s: Align .data.
801 * ld-tilepro/external.s: Likewise.
805 * ld-aarch64/aarch64-elf.exp (tls-tiny-desc, tls-tiny-desc-ie)
806 (tls-tiny-desc-le): Add.
807 * ld-aarch64/tls-tiny-desc.d: New.
808 * ld-aarch64/tls-tiny-desc.s: New.
809 * ld-aarch64/tls-tiny-desc-ie.d: New.
810 * ld-aarch64/tls-tiny-desc-ie.s: New.
811 * ld-aarch64/tls-tiny-desc-le.d: New.
812 * ld-aarch64/tls-tiny-desc-le.s: New.
816 * ld-aarch64/aarch64-elf.exp (tls-tiny-gd, tls-tiny-gd-ie)
817 (tls-tiny-gd-le): Add.
818 * ld-aarch64/tls-tiny-gd.d: New.
819 * ld-aarch64/tls-tiny-gd.s: New.
820 * ld-aarch64/tls-tiny-gd-ie.d: New.
821 * ld-aarch64/tls-tiny-gd-ie.s: New.
822 * ld-aarch64/tls-tiny-gd-le.d: New.
823 * ld-aarch64/tls-tiny-gd-le.s: New.
827 * ld-aarch64/aarch64-elf.exp: Add tls-tiny-ie.
828 * ld-aarch64/tls-tiny-ie.d: New.
829 * ld-aarch64/tls-tiny-ie.s: New.
833 * ld-arm/attr-merge-3.attr: Remove Tag_ABI_HardFP_use.
834 * ld-arm/attr-merge-vfp-10.d: Likewise.
835 * ld-arm/attr-merge-vfp-10r.d: Likewise.
836 * ld-arm/attr-merge-vfp-12.d: Likewise.
837 * ld-arm/attr-merge-vfp-12r.d: Likewise.
838 * ld-arm/attr-merge-vfp-13.d: Likewise.
839 * ld-arm/attr-merge-vfp-13r.d: Likewise.
840 * ld-arm/attr-merge-vfp-14.d: Likewise.
841 * ld-arm/attr-merge-vfp-14r.d: Likewise.
842 * ld-arm/attr-merge-vfp-6.d: Likewise.
843 * ld-arm/attr-merge-vfp-6r.d: Likewise.
844 * ld-arm/attr-merge-vfp-7.d: Likewise.
845 * ld-arm/attr-merge-vfp-7r.d: Likewise.
846 * ld-arm/attr-merge-vfp-8.d: Likewise.
847 * ld-arm/attr-merge-vfp-8r.d: Likewise.
851 * ld-avr/avr-prop-1.d: New file.
852 * ld-avr/avr-prop-1.s: New file.
853 * ld-avr/avr-prop-2.d: New file.
854 * ld-avr/avr-prop-2.s: New file.
855 * ld-avr/avr-prop-3.d: New file.
856 * ld-avr/avr-prop-3.s: New file.
857 * ld-avr/avr-prop-4.d: New file.
858 * ld-avr/avr-prop-4.s: New file.
862 * ld-sh/arch/arch_expected.txt: Regenerate.
863 * ld-sh/arch/sh-dsp.s: Likewise.
864 * ld-sh/arch/sh.s: Likewise.
865 * ld-sh/arch/sh2.s: Likewise.
866 * ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Likewise.
867 * ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Likewise.
868 * ld-sh/arch/sh2a-nofpu.s: Likewise.
869 * ld-sh/arch/sh2a-or-sh3e.s: Likewise.
870 * ld-sh/arch/sh2a-or-sh4.s: Likewise.
871 * ld-sh/arch/sh2a.s: Likewise.
872 * ld-sh/arch/sh2e.s: Likewise.
873 * ld-sh/arch/sh3-dsp.s: Likewise.
874 * ld-sh/arch/sh3-nommu.s: Likewise.
875 * ld-sh/arch/sh3.s: Likewise.
876 * ld-sh/arch/sh3e.s: Likewise.
877 * ld-sh/arch/sh4-nofpu.s: Likewise.
878 * ld-sh/arch/sh4-nommu-nofpu.s: Likewise.
879 * ld-sh/arch/sh4.s: Likewise.
880 * ld-sh/arch/sh4a-nofpu.s: Likewise.
881 * ld-sh/arch/sh4a.s: Likewise.
882 * ld-sh/arch/sh4al-dsp.s: Likewise.
886 * ld-elf/extract-symbol-1sec.d: Expect to fail on the V850.
890 * ld-elf/merge3.s, * ld-elf/merge3.d: New test.
894 * ld-avr/region_overflow.d: New test.
895 * ld-avr/region_overflow.s: Likewise.
900 * ld-i386/compressed1.d: Use nm/readelf with "failif".
901 * ld-x86-64/compressed1.d: Likewise.
902 * ld-x86-64/pie1.d: Likewise.
907 * ld-aarch64/gc-tls-relocs.d, * ld-cris/locref2.d,
908 * ld-elf/ehdr_start-weak.d, * ld-elf/group1.d,
909 * ld-i386/compressed1.d, * ld-ia64/error1.d, * ld-ia64/error2.d,
910 * ld-ia64/error3.d, * ld-mips-elf/pic-and-nonpic-1.nd,
911 * ld-mmix/undef-3.d, * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
912 * ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
913 * ld-x86-64/compressed1.d, * ld-x86-64/pie1.d: Update.
918 * ld-aarch64/gc-tls-relocs.d, * ld-alpha/tlspic.rd,
919 * ld-cris/libdso-2.d, * ld-i386/tlsdesc-nacl.rd, * ld-i386/tlsdesc.rd,
920 * ld-i386/tlsnopic-nacl.rd, * ld-i386/tlsnopic.rd,
921 * ld-i386/tlspic-nacl.rd, * ld-i386/tlspic.rd, * ld-ia64/tlspic.rd,
922 * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
923 * ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
924 * ld-s390/tlspic.rd, * ld-s390/tlspic_64.rd,
925 * ld-sparc/tlssunnopic32.rd, * ld-sparc/tlssunnopic64.rd,
926 * ld-sparc/tlssunpic32.rd, * ld-sparc/tlssunpic64.rd,
927 * ld-tic6x/shlib-1.rd, * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd,
928 * ld-tic6x/shlib-1rb.rd, * ld-tic6x/shlib-noindex.rd,
929 * ld-x86-64/tlsdesc-nacl.rd, * ld-x86-64/tlsdesc.rd,
930 * ld-x86-64/tlspic-nacl.rd, * ld-x86-64/tlspic.rd: Update.
935 * ld-i386/tlsbin-nacl.rd: Updated.
936 * ld-i386/tlsbin.rd: Likewise.
937 * ld-i386/tlsbindesc-nacl.rd: Likewise.
938 * ld-i386/tlsbindesc.rd: Likewise.
939 * ld-i386/tlsdesc-nacl.rd: Likewise.
940 * ld-i386/tlsdesc.rd: Likewise.
941 * ld-i386/tlsnopic-nacl.rd: Likewise.
942 * ld-i386/tlsnopic.rd: Likewise.
943 * ld-i386/tlspic-nacl.rd: Likewise.
944 * ld-i386/tlspic.rd: Likewise.
945 * ld-x86-64/tlsbin-nacl.rd: Likewise.
946 * ld-x86-64/tlsbin.rd: Likewise.
947 * ld-x86-64/tlsbindesc-nacl.rd: Likewise.
948 * ld-x86-64/tlsbindesc.rd: Likewise.
949 * ld-x86-64/tlsdesc-nacl.rd: Likewise.
950 * ld-x86-64/tlsdesc.rd: Likewise.
951 * ld-x86-64/tlspic-nacl.rd: Likewise.
952 * ld-x86-64/tlspic.rd: Likewise.
953 * ld-alpha/tlspic.rd: Likewise.
954 * ld-powerpc/tlsexe.r: Likewise.
955 * ld-powerpc/tlsexetoc.r: Likewise.
956 * ld-powerpc/tlsso.r: Likewise.
957 * ld-powerpc/tlstocso.r: Likewise.
958 * ld-s390/tlspic.rd: Likewise.
959 * ld-s390/tlspic_64.rd: Likewise.
960 * ld-sparc/gotop32.dd: Likewise.
961 * ld-sparc/gotop64.dd: Likewise.
962 * ld-sparc/tlssunnopic32.rd: Likewise.
963 * ld-sparc/tlssunnopic64.rd: Likewise.
964 * ld-sparc/tlssunpic32.rd: Likewise.
965 * ld-sparc/tlssunpic64.rd: Likewise.
966 * ld-tic6x/shlib-1.rd: Likewise.
967 * ld-tic6x/shlib-1b.rd: Likewise.
968 * ld-tic6x/shlib-1r.rd: Likewise.
969 * ld-tic6x/shlib-1rb.rd: Likewise.
970 * ld-tic6x/shlib-noindex.rd: Likewise.
975 * ld-plugin/plugin.exp (regassilent): New.
976 Compile tmpdir/dummy.s and ld-plugin/pr17973.s.
977 (plugin_tests): Add a test for PR ld/17973.
978 * ld-plugin/pr17973.d: New file.
979 * ld-plugin/pr17973.s: Likewise.
983 * ld-i386/i386.exp: Replace elf_i386 with elf_i386_nacl for nacl.
987 * ld-plugin/plugin-27.d: New.
988 * ld-plugin/plugin-28.d: Likewise.
989 * ld-plugin/plugin-29.d: Likewise.
990 * plugin.exp (plugin_tests): Add tests for LDPL_FATAL, LDPL_ERROR
996 * ld-plugin/func.c: Add some comments.
997 * ld-plugin/plugin-13.d: New file.
998 * ld-plugin/plugin-14.d: Likewise.
999 * ld-plugin/plugin-15.d: Likewise.
1000 * ld-plugin/plugin-16.d: Likewise.
1001 * ld-plugin/plugin-17.d: Likewise.
1002 * ld-plugin/plugin-18.d: Likewise.
1003 * ld-plugin/plugin-19.d: Likewise.
1004 * ld-plugin/plugin-20.d: Likewise.
1005 * ld-plugin/plugin-21.d: Likewise.
1006 * ld-plugin/plugin-22.d: Likewise.
1007 * ld-plugin/plugin-23.d: Likewise.
1008 * ld-plugin/plugin-24.d: Likewise.
1009 * ld-plugin/plugin-25.d: Likewise.
1010 * ld-plugin/plugin-26.d: Likewise.
1011 * ld-plugin/plugin.exp (plugin2_name): New.
1012 (plugin3_name): Likewise.
1013 (plugin2_path): Likewise.
1014 (plugin3_path): Likewise.
1015 (testsrcfiles): Likewise.
1016 (testsrcfiles_notext): Likewise.
1017 (plugin_tests): Add tests for non-object IR file.
1018 (plugin_lib_tests): Likewise.
1019 (plugin_extra_elf_tests): Likewise.
1020 (plugin_src_tests): New tests for non-object IR file.
1021 Run nm --plugin test.
1022 Run ar --plugin test.
1023 Run plugin_src_tests.
1028 * ld-i386/i386.exp: Run pr17935-1 and pr17935-2.
1029 * ld-x86-64/x86-64.exp: Likewise.
1031 * ld-i386/pr17935-1.d: New file.
1032 * ld-i386/pr17935-1.s: Likewise.
1033 * ld-i386/pr17935-2.d: Likewise.
1034 * ld-i386/pr17935-2.s: Likewise.
1035 * ld-x86-64/pr17935-1.d: Likewise.
1036 * ld-x86-64/pr17935-1.s: Likewise.
1037 * ld-x86-64/pr17935-2.d: Likewise.
1038 * ld-x86-64/pr17935-2.s: Likewise.
1044 * ld-plugin/lto.exp: Run the PR ld/12365 test only for x86 targets.
1045 * ld-plugin/plugin-7.d: Updated.
1046 * ld-plugin/plugin-8.d: Likewise.
1050 * ld-plugin/lto.exp: Pass -flto-partition=none to the PR
1056 * ld-plugin/pr12365a.c: New file.
1057 * ld-plugin/pr12365b.c: Likewise.
1058 * ld-plugin/pr12365c.c: Likewise.
1060 * ld-plugin/lto.exp (lto_link_tests): Prepare for the PR ld/12365
1062 Run the PR ld/12365 test.
1067 * ld-plugin/lto.exp (lto_link_elf_tests): Add PR ld/14918 test.
1069 * ld-plugin/pr14918.c: New file.
1070 * ld-plugin/pr14918.d: Likewise.
1074 * lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
1078 * ld-powerpc/tlsld.d, * ld-powerpc/tlsld.s: New test.
1079 * ld-powerpc/tlsld32.d, * ld-powerpc/tlsld32.s: New test.
1080 * ld-powerpc/powerpc.exp: Run them. Move tocvar and tocnovar.
1085 * ld-plugin/plugin-1.d: Add LDPT_GET_VIEW.
1086 * ld-plugin/plugin-10.d: Likewise.
1087 * ld-plugin/plugin-11.d: Likewise.
1088 * ld-plugin/plugin-2.d: Likewise.
1089 * ld-plugin/plugin-3.d: Likewise.
1090 * ld-plugin/plugin-4.d: Likewise.
1091 * ld-plugin/plugin-5.d: Likewise.
1092 * ld-plugin/plugin-6.d: Likewise.
1093 * ld-plugin/plugin-7.d: Likewise.
1094 * ld-plugin/plugin-8.d: Likewise.
1095 * ld-plugin/plugin-9.d: Likewise.
1099 * ld-elf/pr16322.s (p1): Rename to px1.
1100 (f1): Rename to fx1.
1104 * ld-powerpc/tocvar.d, * ld-powerpc/tocvar.s: New test.
1105 * ld-powerpc/tocnovar.d, * ld-powerpc/tocnovar.s: New test.
1106 * ld-powerpc/powerpc.exp: Run tocvar and tocnovar.
1110 * ld-scripts/memory.t: Define new symbol tred.
1111 * ld-scripts/memory_sym.t: New.
1112 * ld-scripts/script.exp: Perform MEMORY with symbols test, and
1113 conditionally check values of linker symbols.
1117 * ld-scripts/provide-4-map.d: Update expected output.
1118 * ld-scripts/provide-5-map.d: Likewise.
1122 * ld-scripts/provide-4.d: New file.
1123 * ld-scripts/provide-4-map.d: New file.
1124 * ld-scripts/provide-4.t: New file.
1125 * ld-scripts/provide-5.d: New file.
1126 * ld-scripts/provide-5.s: New file.
1127 * ld-scripts/provide-5-map.d: New file.
1128 * ld-scripts/provide-5.t: New file.
1129 * ld-scripts/provide.exp: Run the provide-4.d and provide-5.d
1134 * ld-scripts/overlay-size.d: Add 'map' option.
1135 * ld-scripts/overlay-size.exp: Remove manual check of mapfile.
1136 * lib/ld-lib.exp (run_dump_test): Add support for new 'map'
1137 option, checking linker mapfile output.
1141 * ld-powerpc/ambiguousv1.d,
1142 * ld-powerpc/ambiguousv1b.d,
1143 * ld-powerpc/ambiguousv2.d,
1144 * ld-powerpc/ambiguousv2b.d,
1145 * ld-powerpc/elfv2exe.d,
1146 * ld-powerpc/elfv2so.d,
1147 * ld-powerpc/tlsexe.r,
1148 * ld-powerpc/tlsexetoc.r,
1149 * ld-powerpc/tlsso.r,
1150 * ld-powerpc/tlstocso.r: Update.
1155 * ld-elf/pr17615.d: Match .sbss too.
1160 * ld-elf/pr17615.d: New file.
1161 * ld-elf/pr17615.s: Likewise.
1166 * ld-cris/tls-gc-68.d,
1167 * ld-cris/tls-gc-69.d,
1168 * ld-cris/tls-gc-70.d,
1169 * ld-cris/tls-gc-71.d,
1170 * ld-cris/tls-gc-75.d,
1171 * ld-cris/tls-gc-76.d,
1172 * ld-cris/tls-gc-79.d,
1174 * ld-mmix/bpo-11.d: Update.
1178 * ld-s390/tlsbin.dd: The nopr register operand is optional and not
1179 printed if 0 anymore.
1184 * ld-x86-64/pie1.d: New file.
1185 * ld-x86-64/pie1.s: Likwise.
1186 * ld-x86-64/x86-64.exp: Run pie1.
1190 * ld-aarch64/aarch64-elf.exp: Added relocs-257-symbolic-func test.
1191 * ld-aarch64/relocs-257-symbolic-func.d: New file.
1192 * ld-aarch64/relocs-257-symbolic-func.s: Likewise.
1196 * ld-aarch64/tprel_g2_overflow.s: New testcase.
1197 * ld-aarch64/tprel_g2_overflow.d: New expectation file.
1198 * ld-aarch64/aarch64-elf.exp: Run new testcase.
1203 * ld-aarch64/pr17415.s: Source file for new test.
1204 * ld-aarch64/pr17415.d: Expect file for new test.
1205 * ld-aarch64/aarch64-elf.exp: Run the new test.
1210 * ld-x86-64/pr17689.out: Updated.
1211 * ld-x86-64/pr17689b.S: Likewise.
1213 * ld-x86-64/pr17827.rd: New file.
1215 * ld-x86-64/x86-64.exp: Run PR ld/17827 test.
1219 * ld-x86-64/pr14207.d: Adjust expecations to cover the
1220 enable_initfini_array=no case.
1224 * lib/ld-lib.exp (run_dump_test): Extend comment to mention
1229 Update year range in copyright notice of all files.
1231 For older changes see ChangeLog-2014
1233 Copyright (C) 2015 Free Software Foundation, Inc.
1235 Copying and distribution of this file, with or without modification,
1236 are permitted in any medium without royalty provided the copyright
1237 notice and this notice are preserved.
1243 version-control: never