bfd/
[external/binutils.git] / ld / testsuite / ChangeLog
1 2009-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * ld-ifunc/ifunc-5-i386.d: Renamed to ...
4         * ld-ifunc/ifunc-5a-i386.d: This.
5
6         * ld-ifunc/ifunc-5-x86-64.d: Renamed to ...
7         * ld-ifunc/ifunc-5a-x86-64.d: This.
8
9         * ld-ifunc/ifunc-5b-i386.d: New.
10         * ld-ifunc/ifunc-5b-x86-64.d: Likewise.
11         * ld-ifunc/ifunc-6a-i386.d: Likewise.
12         * ld-ifunc/ifunc-6a-x86-64.d: Likewise.
13         * ld-ifunc/ifunc-6b-i386.d: Likewise.
14         * ld-ifunc/ifunc-6b-x86-64.d: Likewise.
15         * ld-ifunc/ifunc-6-i386.s: Likewise.
16         * ld-ifunc/ifunc-6-x86-64.s: Likewise.
17         * ld-ifunc/ifunc-7a-i386.d: Likewise.
18         * ld-ifunc/ifunc-7a-x86-64.d: Likewise.
19         * ld-ifunc/ifunc-7b-i386.d: Likewise.
20         * ld-ifunc/ifunc-7b-x86-64.d: Likewise.
21         * ld-ifunc/ifunc-7-i386.s: Likewise.
22         * ld-ifunc/ifunc-7-x86-64.s: Likewise.
23
24 2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25
26         PR ld/10205
27         * ld-ifunc/ifunc.exp (contains_irelative_reloc): New.
28         Use it on executable and shared library.
29         Run *.d.
30
31         * ld-ifunc/lib.c: Add a hidden alias, __GI_library_func2, for
32         library_func2.
33         (library_func): New.
34
35         * ld-ifunc/ifunc-1-x86.d: New.
36         * ld-ifunc/ifunc-1-x86.s: Likewise.
37         * ld-ifunc/ifunc-2-i386.d: Likewise.
38         * ld-ifunc/ifunc-2-i386.s: Likewise.
39         * ld-ifunc/ifunc-2-x86-64.d: Likewise.
40         * ld-ifunc/ifunc-2-x86-64.s: Likewise.
41         * ld-ifunc/ifunc-3a-x86.d: Likewise.
42         * ld-ifunc/ifunc-3b-x86.d: Likewise.
43         * ld-ifunc/ifunc-3-x86.s: Likewise.
44         * ld-ifunc/ifunc-4-x86.d: Likewise.
45         * ld-ifunc/ifunc-4-x86.s: Likewise.
46         * ld-ifunc/ifunc-5-i386.d: Likewise.
47         * ld-ifunc/ifunc-5-i386.s: Likewise.
48         * ld-ifunc/ifunc-5-x86-64.d: Likewise.
49         * ld-ifunc/ifunc-5-x86-64.s: Likewise.
50
51 2009-05-27  Dave Korn  <dave.korn.cygwin@gmail.com>
52
53         * ld-pe/non-c-lang-syms.c:  New dump test source file.
54         * ld-pe/non-c-lang-syms.d:  New dump test pattern file.
55         * ld-pe/pe.exp:  Run new "foreign symbol" test.
56
57 2009-05-26  Nathan Sidwell  <nathan@codesourcery.com>
58
59         * ld-powerpc/vxworks-relax-2.s: New.
60         * ld-powerpc/vxworks-relax-2.rd: New.
61         * ld-powerpc/powerpc.exp: Add it.
62
63 2009-05-22  Hans-Peter Nilsson  <hp@axis.com>
64
65         * ld-scripts/rgn-over7.d: Adjust expected message for recent change.
66
67 2009-05-22  Julian Brown  <julian@codesourcery.com>
68
69         * ld-arm/cortex-a8-arm-target.s: New.
70         * ld-arm/cortex-a8-thumb-target.s: New.
71         * ld-arm/cortex-a8-fix-b-rel.s: New.
72         * ld-arm/cortex-a8-fix-b-rel-arm.d: New.
73         * ld-arm/cortex-a8-fix-b-rel-thumb.d: New.
74         * ld-arm/cortex-a8-fix-b.s: New.
75         * ld-arm/cortex-a8-fix-b.d: New.
76         * ld-arm/cortex-a8-fix-bl-rel.s: New.
77         * ld-arm/cortex-a8-fix-bl-rel-arm.d: New.
78         * ld-arm/cortex-a8-fix-bl-rel-thumb.d: New.
79         * ld-arm/cortex-a8-fix-bl.s: New.
80         * ld-arm/cortex-a8-fix-bl.d: New.
81         * ld-arm/cortex-a8-fix-bcc-rel.s: New.
82         * ld-arm/cortex-a8-fix-bcc-rel-thumb.d: New.
83         * ld-arm/cortex-a8-fix-bcc.s: New.
84         * ld-arm/cortex-a8-fix-bcc.d: New.
85         * ld-arm/cortex-a8-fix-blx-rel.s: New.
86         * ld-arm/cortex-a8-fix-blx-rel-arm.d: New.
87         * ld-arm/cortex-a8-fix-blx-rel-thumb.d: New.
88         * ld-arm/cortex-a8-fix-blx.s: New.
89         * ld-arm/cortex-a8-fix-blx.d: New.
90         * ld-arm/arm-elf.exp: Add new tests.
91
92 2009-05-22  Nathan Sidwell  <nathan@codesourcery.com>
93
94         * ld-scripts/rgn-at4.t: New.
95         * ld-scripts/rgn-at4.d: New.
96
97 2009-05-21  Dave Korn  <dave.korn.cygwin@gmail.com>
98
99         * ld-pe/aligncomm-1.c (_alloca):  Add dummy definition to
100         satisfy final link on Windows targets when using gcc-3.
101         * ld-pe/aligncomm-2.c (_alloca):  Likewise.
102         * ld-pe/aligncomm-3.c (_alloca):  Likewise.
103         * ld-pe/aligncomm-4.c (_alloca):  Likewise.
104
105 2009-05-20  Dave Korn  <dave.korn.cygwin@gmail.com>
106
107         * lib/ld-lib.exp (run_ld_link_tests):  Filter test names against
108         runtests list.
109
110 2009-05-19  Dave Korn  <dave.korn.cygwin@gmail.com>
111
112         * ld-pe/aligncomm-1.c:  New test source file.
113         * ld-pe/aligncomm-2.c:  Likewise.
114         * ld-pe/aligncomm-3.c:  Likewise.
115         * ld-pe/aligncomm-4.c:  Likewise.
116         * ld-pe/aligncomm.d:  New test pattern file.
117
118         * ld-pe/direct.exp:  Deleted, and content moved into ...
119         * ld-pe/pe-run.exp:  ... New common file for all PE run tests.
120
121         * ld-pe/vers-script.exp:  Deleted, and content merged into ...
122         * ld-pe/pe-compile.exp:  ... New common file for PE tests needing
123         a compiler, adding aligned common tests.
124
125         * ld-pe/pe.exp:  Update header comment.
126
127 2009-05-17  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
128
129         * ld-pe/exports.d: New file.
130         * ld-pe/exports.s: New file.
131         * ld-pe/pe.exp: New test for empty export table.
132
133 2009-05-16  Alan Modra  <amodra@bigpond.net.au>
134
135         * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
136         * ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
137         * ld-elf/orphan3f.s: Increase section size to 16.
138         * ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
139         * ld-pe/orphand.s, * ld-pe/orphane.s: Likewise.
140
141 2009-05-15  Alan Modra  <amodra@bigpond.net.au>
142
143         * ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
144         * ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
145         * ld-elf/orphan3f.s: New test.
146         * ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
147         * ld-pe/orphand.s, * ld-pe/orphane.s: New test.
148         * ld-pe/direct.exp: Use is_pecoff_format.
149         * ld-pe/longsecn.exp: Delete.
150         * ld-pe/pe.exp: Run new test and longsecn tests.
151
152 2009-05-15  Andrew Stubbs  <ams@codesourcery.com>
153         Paul Brook  <paul@codesourcery.com>
154
155         * ld-arm/arm-elf.exp: Add unwind-5.
156         * ld-arm/discard-unwind.ld: New file.
157         * ld-arm/unwind-5.d: New test.
158         * ld-arm/unwind-5.s: New test.
159
160 2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
161
162         * ld-spu/icache1.d: Update for compact stubs.
163
164 2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
165
166         * ld-spu/icache1.d: Update all addresses to accomodate icache
167         buffer shifted down 0x800 bytes.
168
169 2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
170
171         * ld-spu/icache.d: Update file offsets.
172         * ld-spu/ovl.d: Likewise.
173         * ld-spu/ovl1.d: Likewise.
174
175 2009-05-14  Alan Modra  <amodra@bigpond.net.au>
176
177         * ld-spu/icache1.d: Update for changed overlay manager placement.
178         * ld-spu/ovl.d: Likewise.
179         * ld-spu/ovl2.d: Likewise.
180
181 2009-05-05  Paul Brook  <paul@codesourcery.com>
182
183         * ld-arm/arm.ld: Add .ARM.exidx and .ARM.extab.
184         * ld-arm/arm-elf.exp: Add unwind-[1-4].
185         * ld-arm/unwind-1.d: New test.
186         * ld-arm/unwind-1.s: New test.
187         * ld-arm/unwind-2.d: New test.
188         * ld-arm/unwind-2.s: New test.
189         * ld-arm/unwind-3.d: New test.
190         * ld-arm/unwind-3.s: New test.
191         * ld-arm/unwind-4.d: New test.
192         * ld-arm/unwind-4.s: New test.
193
194 2009-05-01  Julian Brown  <julian@codesourcery.com>
195
196         * ld-arm/arm-elf.exp (armeabitests): Add thumb2-bl-blx-interwork test.
197         * ld-arm/thumb2-bl-blx-interwork.s: New.
198         * ld-arm/thumb2-bl-blx-interwork.d: New.  
199
200 2009-04-30  Nick Clifton  <nickc@redhat.com>
201
202         * ld-ifunc: New directory.
203         * ld-ifunc/ifunc.exp: New file: Run the IFUNC tests.
204         * ld-ifunc/prog.c: New file.
205         * ld-ifunc/lib.c: New file.
206
207 2009-04-30  Joseph Myers  <joseph@codesourcery.com>
208
209         * ld-arm/movw-shared-1.d, ld-arm/movw-shared-1.s,
210         ld-arm/movw-shared-2.d, ld-arm/movw-shared-2.s,
211         ld-arm/movw-shared-3.d, ld-arm/movw-shared-3.s,
212         ld-arm/movw-shared-4.d, ld-arm/movw-shared-4.s: New tests.
213         * ld-arm/arm-elf.exp: Run these new tests.
214
215 2009-04-29  Chris Demetriou  <cgd@google.com>
216
217         * ld-elfvers/vers.exp (vers4b): New test to verify that
218         --no-export-dynamic undoes --export-dynamic.
219
220 2009-04-28  Nathan Sidwell  <nathan@codesourcery.com>
221
222         * ld-i386/vxworks1-lib.dd: Adjust expected disassembly.
223         * ld-i386/vxworks1.dd: Adjust expected disassembly.
224         * ld-i386/vxworks1-lib.rd: Sections are swapped.
225
226 2009-04-22  Christophe Lyon  <christophe.lyon@st.com>
227
228         PR9743
229         * ld-arm/arm-call.d: Update expected result.
230         * ld-arm/arm-pic-veneer.d: Likewise.
231         * ld-arm/thumb2-b-interwork.d: Likewise.
232
233 2009-04-22  Nathan Sidwell  <nathan@codesourcery.com>
234
235         * ld-scripts/rgn-at1.d: Cope with larger padding on sections.
236         * ld-scripts/rgn-at2.d: Likewise.
237         * ld-scripts/rgn-at3.d: Likewise.
238
239 2009-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
240
241         * ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
242         ld-arm/farcall-group-size2.d, ld-arm/farcall-group.d,
243         ld-arm/farcall-mixed-lib.d: Update for linker changes.
244
245 2009-04-17  Christophe Lyon  <christophe.lyon@st.com>
246
247         * ld-arm/arm-elf.exp: Add new test farcall-mixed-lib.
248         * ld-arm/farcall-mixed-lib.d: Update expected output.
249         * ld-arm/farcall-mixed-lib1.s: New file.
250         * ld-arm/farcall-mixed-lib2.s: New file.
251
252 2009-04-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
253
254         * ld-powerpc/aix-export-2.s, ld-powerpc/aix-export-2.nd: New test.
255         * ld-powerpc/aix52.exp: Run it.
256
257 2009-04-16  Alan Modra  <amodra@bigpond.net.au>
258
259         * ld-libs/lib-1.s: Use "==" instead of ".set".
260         * ld-libs/lib-2.s: Likewise.
261         * ld-scripts/defined.s: Likewise.
262
263 2009-04-15  Christophe Lyon  <christophe.lyon@st.com>
264
265         * ld-arm/arm-elf.exp: Add 1 more test to check undef weak
266         reference with PLT in ARM mode.
267         * ld-arm/thumb2-bl-undefweak1.d, ld-arm/thumb2-bl-undefweak1.s:
268         New files.
269
270 2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>
271
272         * ld-i386/abs.d: Add  --32 for assembler and -melf_i386 for
273         linker.
274
275 2009-04-03  Nathan Sidwell  <nathan@codesourcery.com>
276
277         * ld-scripts/rgn-at.s: Use explicit .section pseudos.
278
279 2009-04-03  Dave Korn  <dave.korn.cygwin@gmail.com>
280
281         * ld-pe/image_size.d (#target):  Also run test on Cygwin and x86_64
282         MinGW targets.
283
284 2009-04-03  Nathan Sidwell  <nathan@codesourcery.com>
285
286         * ld-scripts/rgn-at.exp: New.
287         * ld-scripts/rgn-at.s: New.
288         * ld-scripts/rgn-at1.d: New.
289         * ld-scripts/rgn-at1.t: New.
290         * ld-scripts/rgn-at2.d: New.
291         * ld-scripts/rgn-at2.t: New.
292         * ld-scripts/rgn-at3.d: New.
293         * ld-scripts/rgn-at3.t: New.
294
295 2009-04-03  Dave Korn  <dave.korn.cygwin@gmail.com>
296
297         * ld-pe/export_dynamic_warning.s:  Make dummy code portable.
298
299 2009-04-02  Dave Korn  <dave.korn.cygwin@gmail.com>
300
301         * ld-pe/export_dynamic_warning.d (#warning):  Fix regex pattern.
302
303 2009-04-02  Dave Korn  <dave.korn.cygwin@gmail.com>
304
305         PR ld/6744
306         * ld-pe/export_dynamic_warning.d:  New test control file.
307         * ld-pe/export_dynamic_warning.s:  New test source file.
308         * ld-pe/pe.exp:  Also run export_dynamic_warning dump test.
309
310 2009-04-02  Christophe Lyon  <christophe.lyon@st.com>
311
312         * ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected
313         results.
314         * ld-arm/farcall-thumb-thumb.d: Likewise.
315
316 2009-04-02  Nick Clifton  <nickc@redhat.com>
317
318         PR 9987
319         * lib/ld-lib.exp (check_gc_sections_available): Do not run garbage
320         collection tests for cygwin targets.
321
322 2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
323
324         * ld-powerpc/aix-gc-1.nd: New test.
325         * ld-powerpc/aix52.exp: Run it.
326
327 2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
328
329         * ld-powerpc/aix-rel-1.s, ld-powerpc/aix-rel-1.od: New test.
330         * ld-powerpc/aix52.exp: Run it.
331
332 2009-04-01  Dave Korn  <dave.korn.cygwin@gmail.com>
333
334         * ld-cygwin/exe-export.exp:  Add "-lkernel32" when linking test exe.
335         * ld-cygwin/testexe.c (testexe_main):  Indicate whether global_a
336         was set to correct final value using error return status.
337         (testexe_dummy):  Dummy function calls an import from kernel32.dll
338         to ensure it is mapped into the process space at runtime.
339
340 2009-04-01  Christophe Lyon  <christophe.lyon@st.com>
341
342         * ld-arm/arm-elf.exp: BE8 tests expect the same output as the
343         default ones.
344         * ld-arm/arm-be8.d: Print opcodes in little endian.
345         * ld-arm/farcall-thumb-arm-be8.d: Removed useless expected result.
346         * ld-arm/farcall-arm-arm-be8.d: Likewise.
347
348 2009-03-25  Hans-Peter Nilsson  <hp@axis.com>
349
350         * ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-e-tpoffcomm1.d,
351         ld-cris/tls-e-tpoffcomm1.s: New tests.
352
353 2009-03-24  Hans-Peter Nilsson  <hp@axis.com>
354
355         * ld-cris/tls-commx.s, ld-cris/tls-dso-dtpoffd2.d,
356         ld-cris/tls-dso-dtpoffd4.d, ld-cris/tls-dtpoffdx.s,
357         ld-cris/tls-e-dtpoffd1.d: New tests.
358
359         * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
360         ld-cris/tls-e-80.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3h.d,
361         ld-cris/tls-global-74.d, ld-cris/tls-ldgde-14.d,
362         ld-cris/tls-ldgde-15.d, ld-cris/tls-legd-16.d,
363         ld-cris/tls-legd-17.d, ld-cris/tls-local-57.d,
364         ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for BFD
365         change in link-time known GOT contents for GD relocations.
366
367 2009-03-20  H.J. Lu  <hongjiu.lu@intel.com>
368
369         PR ld/9970
370         * ld-pie/pie.exp: Use -fpie to compile.  Run *.d tests.
371
372         * ld-pie/start.d: New.
373         * ld-pie/start.s: Likewise.
374
375 2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
376
377         PR ld/6766
378         * ld-undefined/dummy.s: New.
379         * ld-undefined/entry-1.d: Likewise.
380         * ld-undefined/entry-2.d: Likewise.
381         * ld-undefined/entry-3.d: Likewise.
382         * ld-undefined/entry-4.d: Likewise.
383         * ld-undefined/entry-5.d: Likewise.
384         * ld-undefined/entry-6.d: Likewise.
385         * ld-undefined/entry.exp: Likewise.
386         * ld-undefined/entry.s: Likewise.
387
388 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
389
390         * ld-spu/icache1.d: Update for fixed set_id, new manager entry, and
391         reduced data.
392
393 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
394
395         * config/default.exp (get_link_files): Replace double dollars with
396         single dollars.
397
398 2009-03-17  Alan Modra  <amodra@bigpond.net.au>
399
400         * ld-bootstrap/bootstrap.exp: Use DO_COMPARE.  Remove unnecessary
401         cleanup and log output.
402
403 2009-03-16  Dave Korn  <dave.korn.cygwin@gmail.com>
404
405         * ld-bootstrap/bootstrap.exp:  Also pass '-liconv' to linker when
406         linking statically on Cygwin, necessitated by '-lintl'.
407
408 2009-03-15  Dave Korn  <dave.korn.cygwin@gmail.com>
409
410         * ld-auto-import/auto-import.exp:  Add missing dll entrypoint.
411
412 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
413
414         * ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd,
415         ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests.
416         * ld-powerpc/aix52.exp: Run them.
417
418 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
419
420         * ld-powerpc/aix-gc-1.s, ld-powerpc/aix-gc-1.ex,
421         ld-powerpc/aix-gc-1-32.dd, ld-powerpc/aix-gc-1-64.dd,
422         ld-powerpc/aix-weak-1-gcdso.dnd, ld-powerpc/aix-weak-1-gcdso.hd,
423         ld-powerpc/aix-weak-1-gcdso.nd: New tests.
424         * ld-powerpc/aix52.exp: Run them.
425
426 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
427
428         * ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex,
429         ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s,
430         ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s,
431         ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd,
432         ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s,
433         ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd,
434         ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd,
435         ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex,
436         ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex,
437         ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s,
438         ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s,
439         ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd,
440         ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s,
441         ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s,
442         ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d,
443         ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d,
444         ld-powerpc/aix-weak-3-64.dd: New tests.
445         * ld-powerpc/aix52.exp: Run them.  Replace tmp/aix-* with
446         tmp/aix64-* in 64-bit ld options.
447
448 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
449
450         * ld-powerpc/aix-no-dup-syms-1a.s, ld-powerpc/aix-no-dup-syms-1b.s,
451         ld-powerpc/aix-no-dup-syms-1.ex, ld-powerpc/aix-no-dup-syms-1.im,
452         ld-powerpc/aix-no-dup-syms-1-dso.dnd,
453         ld-powerpc/aix-no-dup-syms-1-dso.drd,
454         ld-powerpc/aix-no-dup-syms-1-dso.nd,
455         ld-powerpc/aix-no-dup-syms-1-dso.rd,
456         ld-powerpc/aix-no-dup-syms-1-rel.nd,
457         ld-powerpc/aix-no-dup-syms-1-rel.rd: New tests.
458         * ld-powerpc/aix52.exp: Run them.
459
460 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
461
462         * ld-powerpc/aix-abs-branch-1.nd,
463         ld-powerpc/aix-abs-reloc-1.nd: New tests.
464         * ld-powerpc/aix52.exp: Run them.
465
466 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
467
468         * ld-powerpc/aix-lineno-1.s, ld-powerpc/aix-lineno-1.txt,
469         ld-powerpc/aix-lineno-1a.dd, ld-powerpc/aix-lineno-1a.nd,
470         ld-powerpc/aix-lineno-1b.dd, ld-powerpc/aix-lineno-1b.nd: New tests.
471         * ld-powerpc/aix52.exp: Run them.  Copy aix-lineno-1.txt to tmpdir.
472
473 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
474
475         * ld-powerpc/aix-toc-1.ex, ld-powerpc/aix-toc-1a.s,
476         ld-powerpc/aix-toc-1b.s, ld-powerpc/aix-toc-1-32.dd,
477         ld-powerpc/aix-toc-1-64.dd: New tests.
478         * ld-powerpc/aix52.exp: Run them.
479
480 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
481
482         * ld-powerpc/aix-glink-1.ex, ld-powerpc/aix-glink-1.s,
483         ld-powerpc/aix-glink-1-32.dd, ld-powerpc/aix-glink-1-64.dd,
484         ld-powerpc/aix-glink-1-32.d, ld-powerpc/aix-glink-1-64.d: New tests.
485         * ld-powerpc/aix52.exp: Run them.
486
487 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
488
489         * ld-powerpc/aix-abs-branch-1.im, ld-powerpc/aix-abs-branch-1.ex,
490         ld-powerpc/aix-abs-branch-1.s,
491         ld-powerpc/aix-abs-branch-1.dd: New test.
492         * ld-powerpc/aix52.exp: Run it.
493
494 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
495
496         * ld-powerpc/aix-abs-reloc-1.ex, ld-powerpc/aix-abs-reloc-1.im,
497         ld-powerpc/aix-abs-reloc-1.od, ld-powerpc/aix-abs-reloc-1.s: New test.
498         * ld-powerpc/aix52.exp: Run it.
499
500 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
501
502         * ld-powerpc/aix-core-sec-1.s, ld-powerpc/aix-core-sec-1.ex,
503         ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.s,
504         ld-powerpc/aix-core-sec-2.ex, ld-powerpc/aix-core-sec-2.hd,
505         ld-powerpc/aix-core-sec-3.s, ld-powerpc/aix-core-sec-3.ex,
506         ld-powerpc/aix-core-sec-3.hd: New tests.
507         * ld-powerpc/aix52.exp: New harness.
508
509 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
510
511         * lib/ld-lib.exp (ar_simple_create): Add an "aropts" parameter.
512         (run_ld_link_tests): Treat the second list element as "ar" options
513         when creating an archive.  Don't run the linker in this case.
514         (run_cc_link_tests): Likewise.
515
516 2009-03-13  Nick Clifton  <nickc@redhat.com>
517
518         * lib/ld-lib.exp (run_dump_test): Add verbose to list of globals.
519         Replace call to verbose_eval with a test of verbose level.  If
520         greater than 2 always dump the contents of the dumpfile.  If equal
521         to 2 only dump the contents if the regexp diff failed.
522         (proc verbose_eval): Delete.
523
524 2009-03-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
525
526         * ld-elf/empty2.d: Remove xfail for hppa*-*-*.
527         * ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*.
528
529 2009-03-05  Christophe Lyon  <christophe.lyon@st.com>
530
531         * ld-arm/arm-elf.exp: Add new farcall-group-limit test.
532         * ld-arm/farcall-group-limit.d: New file.
533         * ld-arm/farcall-group3.s: New file.
534         * ld-arm/farcall-group4.s: New file.
535
536 2009-03-05  Christophe Lyon  <christophe.lyon@st.com>
537
538         * ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs
539         in PLT context.
540         * ld-arm/farcall-mixed-app-v5.d: New file.
541         * ld-arm/farcall-mixed-app.d: Likewise.
542         * ld-arm/farcall-mixed-app.r: Likewise.
543         * ld-arm/farcall-mixed-app.s: Likewise.
544         * ld-arm/farcall-mixed-app.sym: Likewise.
545         * ld-arm/farcall-mixed-lib.d: Likewise.
546         * ld-arm/farcall-mixed-lib.r: Likewise.
547
548 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
549
550         * ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test.
551         * ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test.
552         * ld-powerpc/powerpc.exp: Run them.
553
554 2009-03-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
555
556         * ld-scripts/regions-alias-1.t: New file.
557         * ld-scripts/regions-alias-2.t: New file.
558         * ld-scripts/regions-alias-3.t: New file.
559         * ld-scripts/regions-alias-4.t: New file.
560         * ld-scripts/script.exp: Run region alias tests.
561
562 2009-02-27  Dave Korn  <dave.korn.cygwin@gmail.com>
563
564         * ld-pe/pe.exp:  Disable auto-import when linking on Cygwin.
565
566 2009-02-26  Christophe Lyon  <christophe.lyon@st.com>
567
568         * ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs.
569         * ld-arm/farcall-thumb-arm-pic-veneer.d: New expected result, the
570         test is now expected to pass.
571         * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
572         * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
573
574 2009-02-25  Christophe Lyon  <christophe.lyon@st.com>
575
576         * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result,
577         as stubs are now generated and the end of the .text section.
578         * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
579
580 2009-02-24  Daniel Jacobowitz  <dan@codesourcery.com>
581
582         * ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
583         ld-arm/farcall-arm-thumb-pic-veneer.d,
584         ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed
585         Thumb PIC stub.
586
587 2009-02-24  Daniel Jacobowitz  <dan@codesourcery.com>
588
589         * ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
590         Use normal output files for big-endian.
591         * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
592         * ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
593         ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
594         ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
595         ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
596         ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
597         ld-arm/farcall-thumb-arm-be8.d,
598         ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
599         ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
600         ld-arm/farcall-thumb-arm.d,
601         ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
602         ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
603         ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
604         ld-arm/thumb2-bl-bad.d: Update for moved stubs.
605
606 2009-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
607
608         * ld-arm/arm-elf.exp (armeabitests): Run new tests.  Correct BE8 output
609         filename.
610         * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: New.
611
612 2009-02-23  Christophe Lyon  <christophe.lyon@st.com>
613
614         * ld-arm/arm-elf.exp: Add new farcall-thumb-arm-be8 test.
615         * ld-arm/farcall-thumb-arm-be8.d: New expected result.
616         * ld-arm/farcall-arm-arm-be8.d: Replace wildcards by instructions.
617
618 2009-02-23  Christophe Lyon  <christophe.lyon@st.com>
619
620         * ld-arm/arm-elf.exp: Rewrite non-EABI variants of
621         thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests, which now
622         pass. farcall-thumb-thumb now passes in EABI mode.
623         * ld-arm/farcall-thumb-arm-pic-veneer.d: Fixed name, source, as
624         and ld flags to match intended test.
625         * ld-arm/farcall-thumb-arm.d: New expected result.
626         * ld-arm/farcall-thumb-thumb-m.d: Likewise.
627         * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Fixed name and ld
628         flags.
629         * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
630         * ld-arm/farcall-thumb-thumb.d: New expected result, this test is
631         now expected to pass.
632         * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
633         * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
634         * ld-arm/thumb2-bl-as-thumb1-bad.d: Update addresses according to
635         new use.
636         * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comment.
637
638 2009-18-02  Dave Korn  <dave.korn.cygwin@gmail.com>
639
640         * ld-pe/longsecn-1.d:  New test file.
641         * ld-pe/longsecn-2.d:  Likewise.
642         * ld-pe/longsecn-3.d:  Likewise.
643         * ld-pe/longsecn-4.d:  Likewise.
644         * ld-pe/longsecn-5.d:  Likewise.
645         * ld-pe/longsecn.d:  Likewise.
646         * ld-pe/longsecn.exp:  New test control script.
647         * ld-pe/longsecn.s:  New test source file.
648
649 2009-02-18  Christophe Lyon  <christophe.lyon@st.com>
650
651         * ld-arm/farcall-arm-arm-pic-veneer.d,
652         ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
653         ld-arm/farcall-arm-thumb-pic-veneer.d,
654         ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
655         ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Fix expected stub
656         target.
657
658 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
659
660         * lib/ld-lib.exp (check_gc_sections_available): Return 0 for
661         *-*-mingw*.
662
663 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
664
665         * ld-arm/arm-elf.exp (armeabitests): Restore thumb2-b-interwork.
666
667 2009-02-03  Maxim Kuvyrkov  <maxim@codesourcery.com>
668
669         * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
670         * ld-m68k/got-multigot-14-ok.d: Update.
671         * ld-m68k/m68k-got.exp: Update.
672         * ld-m68k/got-negative-12-13-14-34-ok.d: Update.
673         * ld-m68k/got-negative-14-ok.d: Update.
674         * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
675         * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
676         * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
677         * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
678         New test sources.
679         * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
680         New test sources.
681         * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
682         * ld-m68k/m68k.exp: Run new tests.
683         (merge isa-a isa-a:nodiv): Fix.
684
685 2009-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
686
687         * ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'.
688         * ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.
689
690 2009-01-29  Nick Clifton  <nickc@redhat.com>
691
692         * lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of
693         targets which do not support garbage collection.
694         * ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP.
695         * ld-elf/group8a.d: Likewise.
696         * ld-elf/group8b.d: Likewise.
697         * ld-elf/group9a.d: Likewise.
698         * ld-elf/group9b.d: Likewise.
699
700 2009-01-27  Hans-Peter Nilsson  <hp@axis.com>
701
702         * ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test.
703
704         * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d,
705         ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d,
706         ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d: Adjust for
707         change in relocation values.
708
709         * ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test.
710
711 2009-01-26  Nathan Sidwell  <nathan@codesourcery.com>
712
713         * ld-powerpc/powerpc.exp: Add vxworks relax testcase.
714         * ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New.
715         * ld-powerpc/vxworks1.ld: Add .pad and .far input sections.
716         * ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols.
717
718 2009-01-26  Andrew Stubbs  <ams@codesourcery.com>
719
720         * ld-arm/attr-merge-3.attr: Update following gas change.
721         * ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and
722         Tag_THUMB_ISA_use following gas changes.
723         * ld-arm/attr-merge-4.attr: Likewise.
724         * ld-arm/attr-merge-5.attr: Likewise.
725         * ld-arm/attr-merge-arch-1.attr: Likewise.
726         * ld-arm/attr-merge-arch-2.attr: Likewise.
727         * ld-arm/attr-merge-unknown-2.d: Likewise.
728         * ld-arm/attr-merge-unknown-2r.d: Likewise.
729         * ld-arm/attr-merge-unknown-3.d: Likewise.
730         * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
731         * ld-arm/attr-merge-wchar-00.d: Likewise.
732         * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
733         * ld-arm/attr-merge-wchar-02.d: Likewise.
734         * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
735         * ld-arm/attr-merge-wchar-04.d: Likewise.
736         * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
737         * ld-arm/attr-merge-wchar-20.d: Likewise.
738         * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
739         * ld-arm/attr-merge-wchar-22.d: Likewise.
740         * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
741         * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
742         * ld-arm/attr-merge-wchar-40.d: Likewise.
743         * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
744         * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
745         * ld-arm/attr-merge-wchar-44.d: Likewise.
746         * ld-arm/attr-merge.attr: Likewise.
747
748 2009-01-21  Alan Modra  <amodra@bigpond.net.au>
749
750         * ld-spu/icache1.d: Add --non-ia-text to ld options.
751
752 2009-01-19  Hans-Peter Nilsson  <hp@axis.com>
753
754         * ld-cris/expdref3.s, ld-cris/expdref4.s, ld-cris/weakref3.d,
755         ld-cris/weakref4.d: New tests.
756         * ld-cris/libdso-15b.d: Adjust for recent weakref fix.
757
758 2009-01-19  H.J. Lu  <hongjiu.lu@intel.com>
759
760         * ld-elf/group9.s: Replace .byte with .long.
761
762 2009-01-19  Andrew Stubbs  <ams@codesourcery.com>
763
764         * ld-arm/arm-elf.exp (armeabitests): Add EABI attribute merging 3,
765         EABI attribute merging 4, and EABI attribute merging 5,
766         EABI attribute arch merging 1, EABI attribute arch merging 1 reversed,
767         EABI attribute arch merging 2, EABI attribute arch merging 2 reversed.
768         Add attr-merge-unknown-1, attr-merge-unknown-2, attr-merge-unknown-2r,
769         and attr-merge-unknown-3 dump tests.
770         * ld-arm/arch-v6.s: New file.
771         * ld-arm/arch-v6k.s: New file.
772         * ld-arm/arch-v6t2.s: New file.
773         * ld-arm/attr-merge-3.attr: New file.
774         * ld-arm/attr-merge-3a.s: New file.
775         * ld-arm/attr-merge-3b.s: New file.
776         * ld-arm/attr-merge-4.attr: New file.
777         * ld-arm/attr-merge-4a.s: New file.
778         * ld-arm/attr-merge-4b.s: New file.
779         * ld-arm/attr-merge-5.attr: New file.
780         * ld-arm/attr-merge-5.s: New file.
781         * ld-arm/attr-merge-arch-1.attr: New file.
782         * ld-arm/attr-merge-arch-2.attr: New file.
783         * ld-arm/attr-merge-unknown-1.d: New file.
784         * ld-arm/attr-merge-unknown-1.s: New file.
785         * ld-arm/attr-merge-unknown-2.d: New file.
786         * ld-arm/attr-merge-unknown-2.s: New file.
787         * ld-arm/attr-merge-unknown-2r.d: New file.
788         * ld-arm/attr-merge-unknown-3.d: New file.
789         * ld-arm/blank.s: New file.
790
791 2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>
792
793         * ld-elf/textaddr1.d: New.
794         * ld-elf/textaddr2.d: Likewise.
795
796 2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>
797
798         PR ld/9727
799         * ld-elf/group8.s: New.
800         * ld-elf/group8a.d: Likewise.
801         * ld-elf/group8b.d: Likewise.
802         * ld-elf/group9.s: Likewise.
803         * ld-elf/group9a.d: Likewise.
804         * ld-elf/group9b.d: Likewise.
805
806 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
807
808         * ld-spu/icache1.s: New file.
809         * ld-spu/icache1.d: New file.
810
811 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
812
813         * ld-elf/elf.exp: Save and restore LDFLAGS.
814         * ld-scripts/default-script.exp: Likewise.
815         * ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather
816         than replacing.
817         * ld-scripts/include.exp: Set --local-store for SPU.
818
819 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
820
821         * ld-spu/ovl.d: Allow for absolute branches in stubs.
822         * ld-spu/ovl2.d: Likewise.
823
824 2009-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
825
826         * ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s,
827         ld-elf/linkoncerdiff2.s: New.
828
829 2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
830
831         * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
832         ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
833         ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
834         ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
835         ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
836         ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
837         ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
838         ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
839         ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
840         ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
841         relocation value now offset by negative program TLS block size.
842         * ld-cris/tls-le-12s.d: Ditto.  Move 128-byte tls-data to last.
843         Adjust accordingly.
844         * ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
845         always-negative relocation.
846         * ld-cris/tls-tprelm.s: Move filler data to after symbol for
847         tested relocation.
848         * ld-cris/tls-ok-36.d: Adjust accordingly.
849
850 2009-01-03  Hans-Peter Nilsson  <hp@axis.com>
851
852         * ld-cris/tls-js1.d: New test.
853
854 2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>
855
856         PR ld/9679
857         * ld-elf/pr9679-1.c: New.
858         * ld-elf/pr9679-2.c: Likewise.
859         * ld-elf/pr9679.rd: Likewise.
860
861         * ld-elf/shared.exp (build_tests): Add test for libpr9679.so.
862
863 2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>
864
865         PR ld/9676
866         * ld-elf/pr9676-1.c: New.
867         * ld-elf/pr9676-2.c: Likewiswe.
868         * ld-elf/pr9676-3.c: Likewiswe.
869         * ld-elf/pr9676-4.c: Likewiswe.
870         * ld-elf/pr9676.rd: Likewiswe.
871
872         * ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a,
873         libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and
874         libpr9676-4a.so.
875
876         * lib/ld-lib.exp (ar_simple_create): New.
877         (run_ld_link_tests): Support archive.
878         (run_cc_link_tests): Likewiswe.
879
880 For older changes see ChangeLog-2008
881 \f
882 Local Variables:
883 mode: change-log
884 left-margin: 8
885 fill-column: 74
886 version-control: never
887 End: