ld/testsuite/
[external/binutils.git] / ld / testsuite / ChangeLog
1 2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
2
3         * lib/ld-lib.exp (ar_simple_create): Add an "aropts" parameter.
4         (run_ld_link_tests): Treat the second list element as "ar" options
5         when creating an archive.  Don't run the linker in this case.
6         (run_cc_link_tests): Likewise.
7
8 2009-03-13  Nick Clifton  <nickc@redhat.com>
9
10         * lib/ld-lib.exp (run_dump_test): Add verbose to list of globals.
11         Replace call to verbose_eval with a test of verbose level.  If
12         greater than 2 always dump the contents of the dumpfile.  If equal
13         to 2 only dump the contents if the regexp diff failed.
14         (proc verbose_eval): Delete.
15
16 2009-03-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
17
18         * ld-elf/empty2.d: Remove xfail for hppa*-*-*.
19         * ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*.
20
21 2009-03-05  Christophe Lyon  <christophe.lyon@st.com>
22
23         * ld-arm/arm-elf.exp: Add new farcall-group-limit test.
24         * ld-arm/farcall-group-limit.d: New file.
25         * ld-arm/farcall-group3.s: New file.
26         * ld-arm/farcall-group4.s: New file.
27
28 2009-03-05  Christophe Lyon  <christophe.lyon@st.com>
29
30         * ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs
31         in PLT context.
32         * ld-arm/farcall-mixed-app-v5.d: New file.
33         * ld-arm/farcall-mixed-app.d: Likewise.
34         * ld-arm/farcall-mixed-app.r: Likewise.
35         * ld-arm/farcall-mixed-app.s: Likewise.
36         * ld-arm/farcall-mixed-app.sym: Likewise.
37         * ld-arm/farcall-mixed-lib.d: Likewise.
38         * ld-arm/farcall-mixed-lib.r: Likewise.
39
40 2009-03-04  Alan Modra  <amodra@bigpond.net.au>
41
42         * ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test.
43         * ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test.
44         * ld-powerpc/powerpc.exp: Run them.
45
46 2009-03-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
47
48         * ld-scripts/regions-alias-1.t: New file.
49         * ld-scripts/regions-alias-2.t: New file.
50         * ld-scripts/regions-alias-3.t: New file.
51         * ld-scripts/regions-alias-4.t: New file.
52         * ld-scripts/script.exp: Run region alias tests.
53
54 2009-02-27  Dave Korn  <dave.korn.cygwin@gmail.com>
55
56         * ld-pe/pe.exp:  Disable auto-import when linking on Cygwin.
57
58 2009-02-26  Christophe Lyon  <christophe.lyon@st.com>
59
60         * ld-arm/arm-elf.exp: Add 3 tests for the 3 new stubs.
61         * ld-arm/farcall-thumb-arm-pic-veneer.d: New expected result, the
62         test is now expected to pass.
63         * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
64         * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
65
66 2009-02-25  Christophe Lyon  <christophe.lyon@st.com>
67
68         * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result,
69         as stubs are now generated and the end of the .text section.
70         * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
71
72 2009-02-24  Daniel Jacobowitz  <dan@codesourcery.com>
73
74         * ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
75         ld-arm/farcall-arm-thumb-pic-veneer.d,
76         ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed
77         Thumb PIC stub.
78
79 2009-02-24  Daniel Jacobowitz  <dan@codesourcery.com>
80
81         * ld-arm/arm-elf.exp (armeabitests): Update duplicate test names.
82         Use normal output files for big-endian.
83         * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete.
84         * ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
85         ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
86         ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
87         ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
88         ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
89         ld-arm/farcall-thumb-arm-be8.d,
90         ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
91         ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d,
92         ld-arm/farcall-thumb-arm.d,
93         ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
94         ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
95         ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d,
96         ld-arm/thumb2-bl-bad.d: Update for moved stubs.
97
98 2009-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
99
100         * ld-arm/arm-elf.exp (armeabitests): Run new tests.  Correct BE8 output
101         filename.
102         * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: New.
103
104 2009-02-23  Christophe Lyon  <christophe.lyon@st.com>
105
106         * ld-arm/arm-elf.exp: Add new farcall-thumb-arm-be8 test.
107         * ld-arm/farcall-thumb-arm-be8.d: New expected result.
108         * ld-arm/farcall-arm-arm-be8.d: Replace wildcards by instructions.
109
110 2009-02-23  Christophe Lyon  <christophe.lyon@st.com>
111
112         * ld-arm/arm-elf.exp: Rewrite non-EABI variants of
113         thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests, which now
114         pass. farcall-thumb-thumb now passes in EABI mode.
115         * ld-arm/farcall-thumb-arm-pic-veneer.d: Fixed name, source, as
116         and ld flags to match intended test.
117         * ld-arm/farcall-thumb-arm.d: New expected result.
118         * ld-arm/farcall-thumb-thumb-m.d: Likewise.
119         * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Fixed name and ld
120         flags.
121         * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
122         * ld-arm/farcall-thumb-thumb.d: New expected result, this test is
123         now expected to pass.
124         * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
125         * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
126         * ld-arm/thumb2-bl-as-thumb1-bad.d: Update addresses according to
127         new use.
128         * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comment.
129
130 2009-18-02  Dave Korn  <dave.korn.cygwin@gmail.com>
131
132         * ld-pe/longsecn-1.d:  New test file.
133         * ld-pe/longsecn-2.d:  Likewise.
134         * ld-pe/longsecn-3.d:  Likewise.
135         * ld-pe/longsecn-4.d:  Likewise.
136         * ld-pe/longsecn-5.d:  Likewise.
137         * ld-pe/longsecn.d:  Likewise.
138         * ld-pe/longsecn.exp:  New test control script.
139         * ld-pe/longsecn.s:  New test source file.
140
141 2009-02-18  Christophe Lyon  <christophe.lyon@st.com>
142
143         * ld-arm/farcall-arm-arm-pic-veneer.d,
144         ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
145         ld-arm/farcall-arm-thumb-pic-veneer.d,
146         ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
147         ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Fix expected stub
148         target.
149
150 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
151
152         * lib/ld-lib.exp (check_gc_sections_available): Return 0 for
153         *-*-mingw*.
154
155 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
156
157         * ld-arm/arm-elf.exp (armeabitests): Restore thumb2-b-interwork.
158
159 2009-02-03  Maxim Kuvyrkov  <maxim@codesourcery.com>
160
161         * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
162         * ld-m68k/got-multigot-14-ok.d: Update.
163         * ld-m68k/m68k-got.exp: Update.
164         * ld-m68k/got-negative-12-13-14-34-ok.d: Update.
165         * ld-m68k/got-negative-14-ok.d: Update.
166         * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
167         * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
168         * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
169         * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
170         New test sources.
171         * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
172         New test sources.
173         * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
174         * ld-m68k/m68k.exp: Run new tests.
175         (merge isa-a isa-a:nodiv): Fix.
176
177 2009-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
178
179         * ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'.
180         * ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.
181
182 2009-01-29  Nick Clifton  <nickc@redhat.com>
183
184         * lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of
185         targets which do not support garbage collection.
186         * ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP.
187         * ld-elf/group8a.d: Likewise.
188         * ld-elf/group8b.d: Likewise.
189         * ld-elf/group9a.d: Likewise.
190         * ld-elf/group9b.d: Likewise.
191
192 2009-01-27  Hans-Peter Nilsson  <hp@axis.com>
193
194         * ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test.
195
196         * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d,
197         ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d,
198         ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d: Adjust for
199         change in relocation values.
200
201         * ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test.
202
203 2009-01-26  Nathan Sidwell  <nathan@codesourcery.com>
204
205         * ld-powerpc/powerpc.exp: Add vxworks relax testcase.
206         * ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New.
207         * ld-powerpc/vxworks1.ld: Add .pad and .far input sections.
208         * ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols.
209
210 2009-01-26  Andrew Stubbs  <ams@codesourcery.com>
211
212         * ld-arm/attr-merge-3.attr: Update following gas change.
213         * ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and
214         Tag_THUMB_ISA_use following gas changes.
215         * ld-arm/attr-merge-4.attr: Likewise.
216         * ld-arm/attr-merge-5.attr: Likewise.
217         * ld-arm/attr-merge-arch-1.attr: Likewise.
218         * ld-arm/attr-merge-arch-2.attr: Likewise.
219         * ld-arm/attr-merge-unknown-2.d: Likewise.
220         * ld-arm/attr-merge-unknown-2r.d: Likewise.
221         * ld-arm/attr-merge-unknown-3.d: Likewise.
222         * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
223         * ld-arm/attr-merge-wchar-00.d: Likewise.
224         * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
225         * ld-arm/attr-merge-wchar-02.d: Likewise.
226         * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
227         * ld-arm/attr-merge-wchar-04.d: Likewise.
228         * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
229         * ld-arm/attr-merge-wchar-20.d: Likewise.
230         * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
231         * ld-arm/attr-merge-wchar-22.d: Likewise.
232         * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
233         * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
234         * ld-arm/attr-merge-wchar-40.d: Likewise.
235         * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
236         * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
237         * ld-arm/attr-merge-wchar-44.d: Likewise.
238         * ld-arm/attr-merge.attr: Likewise.
239
240 2009-01-21  Alan Modra  <amodra@bigpond.net.au>
241
242         * ld-spu/icache1.d: Add --non-ia-text to ld options.
243
244 2009-01-19  Hans-Peter Nilsson  <hp@axis.com>
245
246         * ld-cris/expdref3.s, ld-cris/expdref4.s, ld-cris/weakref3.d,
247         ld-cris/weakref4.d: New tests.
248         * ld-cris/libdso-15b.d: Adjust for recent weakref fix.
249
250 2009-01-19  H.J. Lu  <hongjiu.lu@intel.com>
251
252         * ld-elf/group9.s: Replace .byte with .long.
253
254 2009-01-19  Andrew Stubbs  <ams@codesourcery.com>
255
256         * ld-arm/arm-elf.exp (armeabitests): Add EABI attribute merging 3,
257         EABI attribute merging 4, and EABI attribute merging 5,
258         EABI attribute arch merging 1, EABI attribute arch merging 1 reversed,
259         EABI attribute arch merging 2, EABI attribute arch merging 2 reversed.
260         Add attr-merge-unknown-1, attr-merge-unknown-2, attr-merge-unknown-2r,
261         and attr-merge-unknown-3 dump tests.
262         * ld-arm/arch-v6.s: New file.
263         * ld-arm/arch-v6k.s: New file.
264         * ld-arm/arch-v6t2.s: New file.
265         * ld-arm/attr-merge-3.attr: New file.
266         * ld-arm/attr-merge-3a.s: New file.
267         * ld-arm/attr-merge-3b.s: New file.
268         * ld-arm/attr-merge-4.attr: New file.
269         * ld-arm/attr-merge-4a.s: New file.
270         * ld-arm/attr-merge-4b.s: New file.
271         * ld-arm/attr-merge-5.attr: New file.
272         * ld-arm/attr-merge-5.s: New file.
273         * ld-arm/attr-merge-arch-1.attr: New file.
274         * ld-arm/attr-merge-arch-2.attr: New file.
275         * ld-arm/attr-merge-unknown-1.d: New file.
276         * ld-arm/attr-merge-unknown-1.s: New file.
277         * ld-arm/attr-merge-unknown-2.d: New file.
278         * ld-arm/attr-merge-unknown-2.s: New file.
279         * ld-arm/attr-merge-unknown-2r.d: New file.
280         * ld-arm/attr-merge-unknown-3.d: New file.
281         * ld-arm/blank.s: New file.
282
283 2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>
284
285         * ld-elf/textaddr1.d: New.
286         * ld-elf/textaddr2.d: Likewise.
287
288 2009-01-14  H.J. Lu  <hongjiu.lu@intel.com>
289
290         PR ld/9727
291         * ld-elf/group8.s: New.
292         * ld-elf/group8a.d: Likewise.
293         * ld-elf/group8b.d: Likewise.
294         * ld-elf/group9.s: Likewise.
295         * ld-elf/group9a.d: Likewise.
296         * ld-elf/group9b.d: Likewise.
297
298 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
299
300         * ld-spu/icache1.s: New file.
301         * ld-spu/icache1.d: New file.
302
303 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
304
305         * ld-elf/elf.exp: Save and restore LDFLAGS.
306         * ld-scripts/default-script.exp: Likewise.
307         * ld-scripts/empty-orphan.exp: Likewise, and add to LDFLAGS rather
308         than replacing.
309         * ld-scripts/include.exp: Set --local-store for SPU.
310
311 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
312
313         * ld-spu/ovl.d: Allow for absolute branches in stubs.
314         * ld-spu/ovl2.d: Likewise.
315
316 2009-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
317
318         * ld-elf/linkoncerdiff.d, ld-elf/linkoncerdiff1.s,
319         ld-elf/linkoncerdiff2.s: New.
320
321 2009-01-07  Hans-Peter Nilsson  <hp@axis.com>
322
323         * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
324         ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
325         ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
326         ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
327         ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
328         ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
329         ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
330         ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
331         ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
332         ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
333         relocation value now offset by negative program TLS block size.
334         * ld-cris/tls-le-12s.d: Ditto.  Move 128-byte tls-data to last.
335         Adjust accordingly.
336         * ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
337         always-negative relocation.
338         * ld-cris/tls-tprelm.s: Move filler data to after symbol for
339         tested relocation.
340         * ld-cris/tls-ok-36.d: Adjust accordingly.
341
342 2009-01-03  Hans-Peter Nilsson  <hp@axis.com>
343
344         * ld-cris/tls-js1.d: New test.
345
346 2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>
347
348         PR ld/9679
349         * ld-elf/pr9679-1.c: New.
350         * ld-elf/pr9679-2.c: Likewise.
351         * ld-elf/pr9679.rd: Likewise.
352
353         * ld-elf/shared.exp (build_tests): Add test for libpr9679.so.
354
355 2009-01-02  H.J. Lu  <hongjiu.lu@intel.com>
356
357         PR ld/9676
358         * ld-elf/pr9676-1.c: New.
359         * ld-elf/pr9676-2.c: Likewiswe.
360         * ld-elf/pr9676-3.c: Likewiswe.
361         * ld-elf/pr9676-4.c: Likewiswe.
362         * ld-elf/pr9676.rd: Likewiswe.
363
364         * ld-elf/shared.exp (build_tests): Add tests for libpr9676-1.a,
365         libpr9676-2.a, libpr9676-3.so, libpr9676-4.so and
366         libpr9676-4a.so.
367
368         * lib/ld-lib.exp (ar_simple_create): New.
369         (run_ld_link_tests): Support archive.
370         (run_cc_link_tests): Likewiswe.
371
372 For older changes see ChangeLog-2008
373 \f
374 Local Variables:
375 mode: change-log
376 left-margin: 8
377 fill-column: 74
378 version-control: never
379 End: