4 * ld-arm/arm-app-abs32.d: Update expected disassembly.
5 * ld-arm/arm-app.d: Likewise.
6 * ld-arm/arm-lib-plt32.d: Likewise.
7 * ld-arm/arm-lib.d: Likewise.
8 * ld-arm/arm-pic-veneer.d: Likewise.
9 * ld-arm/armthumb-lib.d: Likewise.
10 * ld-arm/farcall-mixed-app-v5.d: Likewise.
11 * ld-arm/farcall-mixed-app.d: Likewise.
12 * ld-arm/farcall-mixed-lib.d: Likewise.
13 * ld-arm/group-relocs.d: Likewise.
14 * ld-arm/mixed-app-v5.d: Likewise.
15 * ld-arm/mixed-app.d: Likewise.
16 * ld-arm/mixed-lib.d: Likewise.
17 * ld-arm/thumb2-bl-undefweak.d: Likewise.
22 * ld-ifunc/binutils.exp: New.
26 * ld-pe/aligncomm-1.c (size_t): Add typedef.
27 (main): Use it for casting pointer to scalar.
28 * ld-pe/aligncomm-2.c: Likewise.
29 * ld-pe/aligncomm-3.c: Likewise.
30 * ld-pe/aligncomm-4.c: Likewise.
31 * ld-scripts/empty-address.exp: Make sure that for x86_64-*-mingw*
32 target imagebase is set to zero.
33 * ld-scripts/weak.exp: Don't fail for x86_64-*-mingw* target.
38 * ld-arm/farcall-mixed-app.s: Add new references to check more
40 * ld-arm/farcall-mixed-lib1.s: Likewise.
41 * ld-arm/farcall-mixed-app-v5.d: Update expected result.
42 * farcall-mixed-app.d: Likewise.
43 * ld-arm/farcall-mixed-lib.d: Likewise.
47 * ld-pe/pe-run.exp (proc test_direct_link_dll): Fix incorrect
52 * ld-i386/i386.exp: Run tlsgd2.
54 * ld-i386/tlsgd2.d: New.
55 * ld-i386/tlsgd2.s: Likewise.
57 * ld-x86-64/tlsgd3.d: Updated.
61 * ld-pe/pe-run.exp (proc test_direct_link_dll): Always pass
62 --enable-auto-import to the linker.
63 * ld-pe/vers-script-1.d: Replace '\$' by '_' in all symbol names.
64 * ld-pe/vers-script-3.d: Likewise.
65 * ld-pe/vers-script-4.d: Likewise.
66 * ld-pe/vers-script-dll.c: Likewise.
67 * lib/ld-lib.exp (proc is_pecoff_format): Also return true for
72 * ld-ifunc/ifunc-9-x86.d: Fix a typo.
77 * ld-ifunc/ifunc-9-x86.d: New.
78 * ld-ifunc/ifunc-9-x86.s: Likewise.
83 * ld-ifunc/ifunc-1-local-x86.d: New.
84 * ld-ifunc/ifunc-1-local-x86.s: Likewise.
85 * ld-ifunc/ifunc-2-local-i386.d: Likewise.
86 * ld-ifunc/ifunc-2-local-i386.s: Likewise.
87 * ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
88 * ld-ifunc/ifunc-2-local-x86-64.s: Likewise.
89 * ld-ifunc/ifunc-4-local-x86.d: Likewise.
90 * ld-ifunc/ifunc-4-local-x86.s: Likewise.
91 * ld-ifunc/ifunc-5-local-i386.s: Likewise.
92 * ld-ifunc/ifunc-5-local-x86-64.s: Likewise.
93 * ld-ifunc/ifunc-5a-local-i386.d: Likewise.
94 * ld-ifunc/ifunc-5a-local-x86-64.d: Likewise.
95 * ld-ifunc/ifunc-5b-local-i386.d: Likewise.
96 * ld-ifunc/ifunc-5b-local-x86-64.d: Likewise.
100 * ld-ifunc/ifunc-2-x86-64.d: Pass --64 to as and -melf_x86_64 to
102 * ld-ifunc/ifunc-5a-x86-64.d: Likewise.
103 * ld-ifunc/ifunc-5b-x86-64.d: Likewise.
104 * ld-ifunc/ifunc-6a-x86-64.d: Likewise.
105 * ld-ifunc/ifunc-6b-x86-64.d: Likewise.
106 * ld-ifunc/ifunc-7a-x86-64.d: Likewise.
107 * ld-ifunc/ifunc-7b-x86-64.d: Likewise.
109 * ld-ifunc/ifunc-8a-i386.s: New.
110 * ld-ifunc/ifunc-8a-x86-64.s: Likewise.
111 * ld-ifunc/ifunc-8b-i386.s: Likewise.
112 * ld-ifunc/ifunc-8b-x86-64.s: Likewise.
113 * ld-ifunc/ifunc-8-i386.d: Likewise.
114 * ld-ifunc/ifunc-8-x86-64.d: Likewise.
118 * ld-powerpc/aix-glink-3.s, ld-powerpc/aix-glink-3a.s,
119 ld-powerpc/aix-glink-3b.s, ld-powerpc/aix-glink-3.dd,
120 ld-powerpc/aix-glink-3-32.d, ld-powerpc/aix-glink-3-64.d: New tests.
121 * ld-powerpc/aix52.exp: Run them. Move the lineno tests to maintain
126 * ld-ifunc/ifunc-5-i386.d: Renamed to ...
127 * ld-ifunc/ifunc-5a-i386.d: This.
129 * ld-ifunc/ifunc-5-x86-64.d: Renamed to ...
130 * ld-ifunc/ifunc-5a-x86-64.d: This.
132 * ld-ifunc/ifunc-5b-i386.d: New.
133 * ld-ifunc/ifunc-5b-x86-64.d: Likewise.
134 * ld-ifunc/ifunc-6a-i386.d: Likewise.
135 * ld-ifunc/ifunc-6a-x86-64.d: Likewise.
136 * ld-ifunc/ifunc-6b-i386.d: Likewise.
137 * ld-ifunc/ifunc-6b-x86-64.d: Likewise.
138 * ld-ifunc/ifunc-6-i386.s: Likewise.
139 * ld-ifunc/ifunc-6-x86-64.s: Likewise.
140 * ld-ifunc/ifunc-7a-i386.d: Likewise.
141 * ld-ifunc/ifunc-7a-x86-64.d: Likewise.
142 * ld-ifunc/ifunc-7b-i386.d: Likewise.
143 * ld-ifunc/ifunc-7b-x86-64.d: Likewise.
144 * ld-ifunc/ifunc-7-i386.s: Likewise.
145 * ld-ifunc/ifunc-7-x86-64.s: Likewise.
150 * ld-ifunc/ifunc.exp (contains_irelative_reloc): New.
151 Use it on executable and shared library.
154 * ld-ifunc/lib.c: Add a hidden alias, __GI_library_func2, for
158 * ld-ifunc/ifunc-1-x86.d: New.
159 * ld-ifunc/ifunc-1-x86.s: Likewise.
160 * ld-ifunc/ifunc-2-i386.d: Likewise.
161 * ld-ifunc/ifunc-2-i386.s: Likewise.
162 * ld-ifunc/ifunc-2-x86-64.d: Likewise.
163 * ld-ifunc/ifunc-2-x86-64.s: Likewise.
164 * ld-ifunc/ifunc-3a-x86.d: Likewise.
165 * ld-ifunc/ifunc-3b-x86.d: Likewise.
166 * ld-ifunc/ifunc-3-x86.s: Likewise.
167 * ld-ifunc/ifunc-4-x86.d: Likewise.
168 * ld-ifunc/ifunc-4-x86.s: Likewise.
169 * ld-ifunc/ifunc-5-i386.d: Likewise.
170 * ld-ifunc/ifunc-5-i386.s: Likewise.
171 * ld-ifunc/ifunc-5-x86-64.d: Likewise.
172 * ld-ifunc/ifunc-5-x86-64.s: Likewise.
176 * ld-pe/non-c-lang-syms.c: New dump test source file.
177 * ld-pe/non-c-lang-syms.d: New dump test pattern file.
178 * ld-pe/pe.exp: Run new "foreign symbol" test.
182 * ld-powerpc/vxworks-relax-2.s: New.
183 * ld-powerpc/vxworks-relax-2.rd: New.
184 * ld-powerpc/powerpc.exp: Add it.
188 * ld-scripts/rgn-over7.d: Adjust expected message for recent change.
192 * ld-arm/cortex-a8-arm-target.s: New.
193 * ld-arm/cortex-a8-thumb-target.s: New.
194 * ld-arm/cortex-a8-fix-b-rel.s: New.
195 * ld-arm/cortex-a8-fix-b-rel-arm.d: New.
196 * ld-arm/cortex-a8-fix-b-rel-thumb.d: New.
197 * ld-arm/cortex-a8-fix-b.s: New.
198 * ld-arm/cortex-a8-fix-b.d: New.
199 * ld-arm/cortex-a8-fix-bl-rel.s: New.
200 * ld-arm/cortex-a8-fix-bl-rel-arm.d: New.
201 * ld-arm/cortex-a8-fix-bl-rel-thumb.d: New.
202 * ld-arm/cortex-a8-fix-bl.s: New.
203 * ld-arm/cortex-a8-fix-bl.d: New.
204 * ld-arm/cortex-a8-fix-bcc-rel.s: New.
205 * ld-arm/cortex-a8-fix-bcc-rel-thumb.d: New.
206 * ld-arm/cortex-a8-fix-bcc.s: New.
207 * ld-arm/cortex-a8-fix-bcc.d: New.
208 * ld-arm/cortex-a8-fix-blx-rel.s: New.
209 * ld-arm/cortex-a8-fix-blx-rel-arm.d: New.
210 * ld-arm/cortex-a8-fix-blx-rel-thumb.d: New.
211 * ld-arm/cortex-a8-fix-blx.s: New.
212 * ld-arm/cortex-a8-fix-blx.d: New.
213 * ld-arm/arm-elf.exp: Add new tests.
217 * ld-scripts/rgn-at4.t: New.
218 * ld-scripts/rgn-at4.d: New.
222 * ld-pe/aligncomm-1.c (_alloca): Add dummy definition to
223 satisfy final link on Windows targets when using gcc-3.
224 * ld-pe/aligncomm-2.c (_alloca): Likewise.
225 * ld-pe/aligncomm-3.c (_alloca): Likewise.
226 * ld-pe/aligncomm-4.c (_alloca): Likewise.
230 * lib/ld-lib.exp (run_ld_link_tests): Filter test names against
235 * ld-pe/aligncomm-1.c: New test source file.
236 * ld-pe/aligncomm-2.c: Likewise.
237 * ld-pe/aligncomm-3.c: Likewise.
238 * ld-pe/aligncomm-4.c: Likewise.
239 * ld-pe/aligncomm.d: New test pattern file.
241 * ld-pe/direct.exp: Deleted, and content moved into ...
242 * ld-pe/pe-run.exp: ... New common file for all PE run tests.
244 * ld-pe/vers-script.exp: Deleted, and content merged into ...
245 * ld-pe/pe-compile.exp: ... New common file for PE tests needing
246 a compiler, adding aligned common tests.
248 * ld-pe/pe.exp: Update header comment.
252 * ld-pe/exports.d: New file.
253 * ld-pe/exports.s: New file.
254 * ld-pe/pe.exp: New test for empty export table.
258 * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
259 * ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
260 * ld-elf/orphan3f.s: Increase section size to 16.
261 * ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
262 * ld-pe/orphand.s, * ld-pe/orphane.s: Likewise.
266 * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
267 * ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
268 * ld-elf/orphan3f.s: New test.
269 * ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
270 * ld-pe/orphand.s, * ld-pe/orphane.s: New test.
271 * ld-pe/direct.exp: Use is_pecoff_format.
272 * ld-pe/longsecn.exp: Delete.
273 * ld-pe/pe.exp: Run new test and longsecn tests.
278 * ld-arm/arm-elf.exp: Add unwind-5.
279 * ld-arm/discard-unwind.ld: New file.
280 * ld-arm/unwind-5.d: New test.
281 * ld-arm/unwind-5.s: New test.
285 * ld-spu/icache1.d: Update for compact stubs.
289 * ld-spu/icache1.d: Update all addresses to accomodate icache
290 buffer shifted down 0x800 bytes.
294 * ld-spu/icache.d: Update file offsets.
295 * ld-spu/ovl.d: Likewise.
296 * ld-spu/ovl1.d: Likewise.
300 * ld-spu/icache1.d: Update for changed overlay manager placement.
301 * ld-spu/ovl.d: Likewise.
302 * ld-spu/ovl2.d: Likewise.
306 * ld-arm/arm.ld: Add .ARM.exidx and .ARM.extab.
307 * ld-arm/arm-elf.exp: Add unwind-[1-4].
308 * ld-arm/unwind-1.d: New test.
309 * ld-arm/unwind-1.s: New test.
310 * ld-arm/unwind-2.d: New test.
311 * ld-arm/unwind-2.s: New test.
312 * ld-arm/unwind-3.d: New test.
313 * ld-arm/unwind-3.s: New test.
314 * ld-arm/unwind-4.d: New test.
315 * ld-arm/unwind-4.s: New test.
319 * ld-arm/arm-elf.exp (armeabitests): Add thumb2-bl-blx-interwork test.
320 * ld-arm/thumb2-bl-blx-interwork.s: New.
321 * ld-arm/thumb2-bl-blx-interwork.d: New.
325 * ld-ifunc: New directory.
326 * ld-ifunc/ifunc.exp: New file: Run the IFUNC tests.
327 * ld-ifunc/prog.c: New file.
328 * ld-ifunc/lib.c: New file.
332 * ld-arm/movw-shared-1.d, ld-arm/movw-shared-1.s,
333 ld-arm/movw-shared-2.d, ld-arm/movw-shared-2.s,
334 ld-arm/movw-shared-3.d, ld-arm/movw-shared-3.s,
335 ld-arm/movw-shared-4.d, ld-arm/movw-shared-4.s: New tests.
336 * ld-arm/arm-elf.exp: Run these new tests.
340 * ld-elfvers/vers.exp (vers4b): New test to verify that
341 --no-export-dynamic undoes --export-dynamic.
345 * ld-i386/vxworks1-lib.dd: Adjust expected disassembly.
346 * ld-i386/vxworks1.dd: Adjust expected disassembly.
347 * ld-i386/vxworks1-lib.rd: Sections are swapped.
352 * ld-arm/arm-call.d: Update expected result.
353 * ld-arm/arm-pic-veneer.d: Likewise.
354 * ld-arm/thumb2-b-interwork.d: Likewise.
358 * ld-scripts/rgn-at1.d: Cope with larger padding on sections.
359 * ld-scripts/rgn-at2.d: Likewise.
360 * ld-scripts/rgn-at3.d: Likewise.
364 * ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
365 ld-arm/farcall-group-size2.d, ld-arm/farcall-group.d,
366 ld-arm/farcall-mixed-lib.d: Update for linker changes.
370 * ld-arm/arm-elf.exp: Add new test farcall-mixed-lib.
371 * ld-arm/farcall-mixed-lib.d: Update expected output.
372 * ld-arm/farcall-mixed-lib1.s: New file.
373 * ld-arm/farcall-mixed-lib2.s: New file.
377 * ld-powerpc/aix-export-2.s, ld-powerpc/aix-export-2.nd: New test.
378 * ld-powerpc/aix52.exp: Run it.
382 * ld-libs/lib-1.s: Use "==" instead of ".set".
383 * ld-libs/lib-2.s: Likewise.
384 * ld-scripts/defined.s: Likewise.
388 * ld-arm/arm-elf.exp: Add 1 more test to check undef weak
389 reference with PLT in ARM mode.
390 * ld-arm/thumb2-bl-undefweak1.d, ld-arm/thumb2-bl-undefweak1.s:
395 * ld-i386/abs.d: Add --32 for assembler and -melf_i386 for
400 * ld-scripts/rgn-at.s: Use explicit .section pseudos.
404 * ld-pe/image_size.d (#target): Also run test on Cygwin and x86_64
409 * ld-scripts/rgn-at.exp: New.
410 * ld-scripts/rgn-at.s: New.
411 * ld-scripts/rgn-at1.d: New.
412 * ld-scripts/rgn-at1.t: New.
413 * ld-scripts/rgn-at2.d: New.
414 * ld-scripts/rgn-at2.t: New.
415 * ld-scripts/rgn-at3.d: New.
416 * ld-scripts/rgn-at3.t: New.
420 * ld-pe/export_dynamic_warning.s: Make dummy code portable.
424 * ld-pe/export_dynamic_warning.d (#warning): Fix regex pattern.
429 * ld-pe/export_dynamic_warning.d: New test control file.
430 * ld-pe/export_dynamic_warning.s: New test source file.
431 * ld-pe/pe.exp: Also run export_dynamic_warning dump test.
435 * ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected
437 * ld-arm/farcall-thumb-thumb.d: Likewise.
442 * lib/ld-lib.exp (check_gc_sections_available): Do not run garbage
443 collection tests for cygwin targets.
447 * ld-powerpc/aix-gc-1.nd: New test.
448 * ld-powerpc/aix52.exp: Run it.
452 * ld-powerpc/aix-rel-1.s, ld-powerpc/aix-rel-1.od: New test.
453 * ld-powerpc/aix52.exp: Run it.
457 * ld-cygwin/exe-export.exp: Add "-lkernel32" when linking test exe.
458 * ld-cygwin/testexe.c (testexe_main): Indicate whether global_a
459 was set to correct final value using error return status.
460 (testexe_dummy): Dummy function calls an import from kernel32.dll
461 to ensure it is mapped into the process space at runtime.
465 * ld-arm/arm-elf.exp: BE8 tests expect the same output as the
467 * ld-arm/arm-be8.d: Print opcodes in little endian.
468 * ld-arm/farcall-thumb-arm-be8.d: Removed useless expected result.
469 * ld-arm/farcall-arm-arm-be8.d: Likewise.
473 * ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-e-tpoffcomm1.d,
474 ld-cris/tls-e-tpoffcomm1.s: New tests.
478 * ld-cris/tls-commx.s, ld-cris/tls-dso-dtpoffd2.d,
479 ld-cris/tls-dso-dtpoffd4.d, ld-cris/tls-dtpoffdx.s,
480 ld-cris/tls-e-dtpoffd1.d: New tests.
482 * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
483 ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d,
484 ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d,
485 ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d,
486 ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d,
487 ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD
488 change in link-time known GOT contents for GD relocations.
493 * ld-pie/pie.exp: Use -fpie to compile. Run *.d tests.
495 * ld-pie/start.d: New.
496 * ld-pie/start.s: Likewise.
501 * ld-undefined/dummy.s: New.
502 * ld-undefined/entry-1.d: Likewise.
503 * ld-undefined/entry-2.d: Likewise.
504 * ld-undefined/entry-3.d: Likewise.
505 * ld-undefined/entry-4.d: Likewise.
506 * ld-undefined/entry-5.d: Likewise.
507 * ld-undefined/entry-6.d: Likewise.
508 * ld-undefined/entry.exp: Likewise.
509 * ld-undefined/entry.s: Likewise.
513 * ld-spu/icache1.d: Update for fixed set_id, new manager entry, and
518 * config/default.exp (get_link_files): Replace double dollars with
523 * ld-bootstrap/bootstrap.exp: Use DO_COMPARE. Remove unnecessary
524 cleanup and log output.
528 * ld-bootstrap/bootstrap.exp: Also pass '-liconv' to linker when
529 linking statically on Cygwin, necessitated by '-lintl'.
533 * ld-auto-import/auto-import.exp: Add missing dll entrypoint.
537 * ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
538 ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
539 * ld-powerpc/aix52.exp: Run them.
543 * ld-powerpc/aix-gc-1.s, ld-powerpc/aix-gc-1.ex,
544 ld-powerpc/aix-gc-1-32.dd, ld-powerpc/aix-gc-1-64.dd,
545 ld-powerpc/aix-weak-1-gcdso.dnd, ld-powerpc/aix-weak-1-gcdso.hd,
546 ld-powerpc/aix-weak-1-gcdso.nd: New tests.
547 * ld-powerpc/aix52.exp: Run them.
551 * ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex,
552 ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s,
553 ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s,
554 ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd,
555 ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s,
556 ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd,
557 ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd,
558 ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex,
559 ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex,
560 ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s,
561 ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s,
562 ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd,
563 ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s,
564 ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s,
565 ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d,
566 ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d,
567 ld-powerpc/aix-weak-3-64.dd: New tests.
568 * ld-powerpc/aix52.exp: Run them. Replace tmp/aix-* with
569 tmp/aix64-* in 64-bit ld options.
573 * ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s,
574 ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im,
575 ld-powerpc/aix-no-dup-syms-1-dso.dnd,
576 ld-powerpc/aix-no-dup-syms-1-dso.drd,
577 ld-powerpc/aix-no-dup-syms-1-dso.nd,
578 ld-powerpc/aix-no-dup-syms-1-dso.rd,
579 ld-powerpc/aix-no-dup-syms-1-rel.nd,
580 ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests.
581 * ld-powerpc/aix52.exp: Run them.
585 * ld-powerpc/aix-abs-branch-1.nd,
586 ld-powerpc/aix-abs-reloc-1.nd: New tests.
587 * ld-powerpc/aix52.exp: Run them.
591 * ld-powerpc/aix-lineno-1.s, ld-powerpc/aix-lineno-1.txt,
592 ld-powerpc/aix-lineno-1a.dd, ld-powerpc/aix-lineno-1a.nd,
593 ld-powerpc/aix-lineno-1b.dd, ld-powerpc/aix-lineno-1b.nd: New tests.
594 * ld-powerpc/aix52.exp: Run them. Copy aix-lineno-1.txt to tmpdir.
598 * ld-powerpc/aix-toc-1.ex, ld-powerpc/aix-toc-1a.s,
599 ld-powerpc/aix-toc-1b.s, ld-powerpc/aix-toc-1-32.dd,
600 ld-powerpc/aix-toc-1-64.dd: New tests.
601 * ld-powerpc/aix52.exp: Run them.
605 * ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
606 ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
607 ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
608 * ld-powerpc/aix52.exp: Run them.
612 * ld-powerpc/aix-abs-branch-1.im, ld-powerpc/aix-abs-branch-1.ex,
613 ld-powerpc/aix-abs-branch-1.s,
614 ld-powerpc/aix-abs-branch-1.dd: New test.
615 * ld-powerpc/aix52.exp: Run it.
619 * ld-powerpc/aix-abs-reloc-1.ex, ld-powerpc/aix-abs-reloc-1.im,
620 ld-powerpc/aix-abs-reloc-1.od, ld-powerpc/aix-abs-reloc-1.s: New test.
621 * ld-powerpc/aix52.exp: Run it.
625 * ld-powerpc/aix-core-sec-1.s, ld-powerpc/aix-core-sec-1.ex,
626 ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.s,
627 ld-powerpc/aix-core-sec-2.ex, ld-powerpc/aix-core-sec-2.hd,
628 ld-powerpc/aix-core-sec-3.s, ld-powerpc/aix-core-sec-3.ex,
629 ld-powerpc/aix-core-sec-3.hd: New tests.
630 * ld-powerpc/aix52.exp: New harness.
634 * lib/ld-lib.exp (ar_simple_create): Add an "aropts" parameter.
635 (run_ld_link_tests): Treat the second list element as "ar" options
636 when creating an archive. Don't run the linker in this case.
637 (run_cc_link_tests): Likewise.
641 * lib/ld-lib.exp (run_dump_test): Add verbose to list of globals.
642 Replace call to verbose_eval with a test of verbose level. If
643 greater than 2 always dump the contents of the dumpfile. If equal
644 to 2 only dump the contents if the regexp diff failed.
645 (proc verbose_eval): Delete.
649 * ld-elf/empty2.d: Remove xfail for hppa*-*-*.
650 * ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*.
654 * ld-arm/arm-elf.exp: Add new farcall-group-limit test.
655 * ld-arm/farcall-group-limit.d: New file.
656 * ld-arm/farcall-group3.s: New file.
657 * ld-arm/farcall-group4.s: New file.
661 * ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs
663 * ld-arm/farcall-mixed-app-v5.d: New file.
664 * ld-arm/farcall-mixed-app.d: Likewise.
665 * ld-arm/farcall-mixed-app.r: Likewise.
666 * ld-arm/farcall-mixed-app.s: Likewise.
667 * ld-arm/farcall-mixed-app.sym: Likewise.
668 * ld-arm/farcall-mixed-lib.d: Likewise.
669 * ld-arm/farcall-mixed-lib.r: Likewise.
673 * ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test.
674 * ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test.
675 * ld-powerpc/powerpc.exp: Run them.
679 * ld-scripts/regions-alias-1.t: New file.
680 * ld-scripts/regions-alias-2.t: New file.
681 * ld-scripts/regions-alias-3.t: New file.
682 * ld-scripts/regions-alias-4.t: New file.
683 * ld-scripts/script.exp: Run region alias tests.
687 * ld-pe/pe.exp: Disable auto-import when linking on Cygwin.
691 * ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs.
692 * ld-arm/farcall-thumb-arm-pic-veneer.d: New expected result, the
693 test is now expected to pass.
694 * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
695 * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
699 * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result,
700 as stubs are now generated and the end of the .text section.
701 * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
705 * ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
706 ld-arm/farcall-arm-thumb-pic-veneer.d,
707 ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed
712 * ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
713 Use normal output files for big-endian.
714 * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
715 * ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
716 ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
717 ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
718 ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
719 ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
720 ld-arm/farcall-thumb-arm-be8.d,
721 ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
722 ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
723 ld-arm/farcall-thumb-arm.d,
724 ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
725 ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
726 ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
727 ld-arm/thumb2-bl-bad.d: Update for moved stubs.
731 * ld-arm/arm-elf.exp (armeabitests): Run new tests. Correct BE8 output
733 * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: New.
737 * ld-arm/arm-elf.exp: Add new farcall-thumb-arm-be8 test.
738 * ld-arm/farcall-thumb-arm-be8.d: New expected result.
739 * ld-arm/farcall-arm-arm-be8.d: Replace wildcards by instructions.
743 * ld-arm/arm-elf.exp: Rewrite non-EABI variants of
744 thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests, which now
745 pass. farcall-thumb-thumb now passes in EABI mode.
746 * ld-arm/farcall-thumb-arm-pic-veneer.d: Fixed name, source, as
747 and ld flags to match intended test.
748 * ld-arm/farcall-thumb-arm.d: New expected result.
749 * ld-arm/farcall-thumb-thumb-m.d: Likewise.
750 * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Fixed name and ld
752 * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
753 * ld-arm/farcall-thumb-thumb.d: New expected result, this test is
754 now expected to pass.
755 * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
756 * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
757 * ld-arm/thumb2-bl-as-thumb1-bad.d: Update addresses according to
759 * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comment.
763 * ld-pe/longsecn-1.d: New test file.
764 * ld-pe/longsecn-2.d: Likewise.
765 * ld-pe/longsecn-3.d: Likewise.
766 * ld-pe/longsecn-4.d: Likewise.
767 * ld-pe/longsecn-5.d: Likewise.
768 * ld-pe/longsecn.d: Likewise.
769 * ld-pe/longsecn.exp: New test control script.
770 * ld-pe/longsecn.s: New test source file.
774 * ld-arm/farcall-arm-arm-pic-veneer.d,
775 ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
776 ld-arm/farcall-arm-thumb-pic-veneer.d,
777 ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
778 ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Fix expected stub
783 * lib/ld-lib.exp (check_gc_sections_available): Return 0 for
788 * ld-arm/arm-elf.exp (armeabitests): Restore thumb2-b-interwork.
792 * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
793 * ld-m68k/got-multigot-14-ok.d: Update.
794 * ld-m68k/m68k-got.exp: Update.
795 * ld-m68k/got-negative-12-13-14-34-ok.d: Update.
796 * ld-m68k/got-negative-14-ok.d: Update.
797 * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
798 * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
799 * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
800 * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
802 * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
804 * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
805 * ld-m68k/m68k.exp: Run new tests.
806 (merge isa-a isa-a:nodiv): Fix.
810 * ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'.
811 * ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.
815 * lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of
816 targets which do not support garbage collection.
817 * ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP.
818 * ld-elf/group8a.d: Likewise.
819 * ld-elf/group8b.d: Likewise.
820 * ld-elf/group9a.d: Likewise.
821 * ld-elf/group9b.d: Likewise.
825 * ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test.
827 * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d,
828 ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d,
829 ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d: Adjust for
830 change in relocation values.
832 * ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test.
836 * ld-powerpc/powerpc.exp: Add vxworks relax testcase.
837 * ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New.
838 * ld-powerpc/vxworks1.ld: Add .pad and .far input sections.
839 * ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols.
843 * ld-arm/attr-merge-3.attr: Update following gas change.
844 * ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and
845 Tag_THUMB_ISA_use following gas changes.
846 * ld-arm/attr-merge-4.attr: Likewise.
847 * ld-arm/attr-merge-5.attr: Likewise.
848 * ld-arm/attr-merge-arch-1.attr: Likewise.
849 * ld-arm/attr-merge-arch-2.attr: Likewise.
850 * ld-arm/attr-merge-unknown-2.d: Likewise.
851 * ld-arm/attr-merge-unknown-2r.d: Likewise.
852 * ld-arm/attr-merge-unknown-3.d: Likewise.
853 * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
854 * ld-arm/attr-merge-wchar-00.d: Likewise.
855 * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
856 * ld-arm/attr-merge-wchar-02.d: Likewise.
857 * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
858 * ld-arm/attr-merge-wchar-04.d: Likewise.
859 * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
860 * ld-arm/attr-merge-wchar-20.d: Likewise.
861 * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
862 * ld-arm/attr-merge-wchar-22.d: Likewise.
863 * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
864 * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
865 * ld-arm/attr-merge-wchar-40.d: Likewise.
866 * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
867 * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
868 * ld-arm/attr-merge-wchar-44.d: Likewise.
869 * ld-arm/attr-merge.attr: Likewise.
873 * ld-spu/icache1.d: Add --non-ia-text to ld options.
877 * ld-cris/expdref3.s, ld-cris/expdref4.s, ld-cris/weakref3.d,
878 ld-cris/weakref4.d: New tests.
879 * ld-cris/libdso-15b.d: Adjust for recent weakref fix.
883 * ld-elf/group9.s: Replace .byte with .long.
887 * ld-arm/arm-elf.exp (armeabitests): Add EABI attribute merging 3,
888 EABI attribute merging 4, and EABI attribute merging 5,
889 EABI attribute arch merging 1, EABI attribute arch merging 1 reversed,
890 EABI attribute arch merging 2, EABI attribute arch merging 2 reversed.
891 Add attr-merge-unknown-1, attr-merge-unknown-2, attr-merge-unknown-2r,
892 and attr-merge-unknown-3 dump tests.
893 * ld-arm/arch-v6.s: New file.
894 * ld-arm/arch-v6k.s: New file.
895 * ld-arm/arch-v6t2.s: New file.
896 * ld-arm/attr-merge-3.attr: New file.
897 * ld-arm/attr-merge-3a.s: New file.
898 * ld-arm/attr-merge-3b.s: New file.
899 * ld-arm/attr-merge-4.attr: New file.
900 * ld-arm/attr-merge-4a.s: New file.
901 * ld-arm/attr-merge-4b.s: New file.
902 * ld-arm/attr-merge-5.attr: New file.
903 * ld-arm/attr-merge-5.s: New file.
904 * ld-arm/attr-merge-arch-1.attr: New file.
905 * ld-arm/attr-merge-arch-2.attr: New file.
906 * ld-arm/attr-merge-unknown-1.d: New file.
907 * ld-arm/attr-merge-unknown-1.s: New file.
908 * ld-arm/attr-merge-unknown-2.d: New file.
909 * ld-arm/attr-merge-unknown-2.s: New file.
910 * ld-arm/attr-merge-unknown-2r.d: New file.
911 * ld-arm/attr-merge-unknown-3.d: New file.
912 * ld-arm/blank.s: New file.
916 * ld-elf/textaddr1.d: New.
917 * ld-elf/textaddr2.d: Likewise.
922 * ld-elf/group8.s: New.
923 * ld-elf/group8a.d: Likewise.
924 * ld-elf/group8b.d: Likewise.
925 * ld-elf/group9.s: Likewise.
926 * ld-elf/group9a.d: Likewise.
927 * ld-elf/group9b.d: Likewise.
931 * ld-spu/icache1.s: New file.
932 * ld-spu/icache1.d: New file.
936 * ld-elf/elf.exp: Save and restore LDFLAGS.
937 * ld-scripts/default-script.exp: Likewise.
938 * ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather
940 * ld-scripts/include.exp: Set --local-store for SPU.
944 * ld-spu/ovl.d: Allow for absolute branches in stubs.
945 * ld-spu/ovl2.d: Likewise.
949 * ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s,
950 ld-elf/linkoncerdiff2.s: New.
954 * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
955 ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
956 ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
957 ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
958 ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
959 ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
960 ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
961 ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
962 ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
963 ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
964 relocation value now offset by negative program TLS block size.
965 * ld-cris/tls-le-12s.d: Ditto. Move 128-byte tls-data to last.
967 * ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
968 always-negative relocation.
969 * ld-cris/tls-tprelm.s: Move filler data to after symbol for
971 * ld-cris/tls-ok-36.d: Adjust accordingly.
975 * ld-cris/tls-js1.d: New test.
980 * ld-elf/pr9679-1.c: New.
981 * ld-elf/pr9679-2.c: Likewise.
982 * ld-elf/pr9679.rd: Likewise.
984 * ld-elf/shared.exp (build_tests): Add test for libpr9679.so.
989 * ld-elf/pr9676-1.c: New.
990 * ld-elf/pr9676-2.c: Likewiswe.
991 * ld-elf/pr9676-3.c: Likewiswe.
992 * ld-elf/pr9676-4.c: Likewiswe.
993 * ld-elf/pr9676.rd: Likewiswe.
995 * ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a,
996 libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and
999 * lib/ld-lib.exp (ar_simple_create): New.
1000 (run_ld_link_tests): Support archive.
1001 (run_cc_link_tests): Likewiswe.
1003 For older changes see ChangeLog-2008
1009 version-control: never