gas/testsuite/
[platform/upstream/binutils.git] / ld / testsuite / ChangeLog
1 2012-04-07  David S. Miller  <davem@davemloft.net>
2
3         * ld-sparc/tlssunbin32.rd: Fix regexp.
4         * ld-sparc/tlssunbin64.rd: Likewise.
5
6 2012-04-03  Roland McGrath  <mcgrathr@google.com>
7
8         * ld-x86-64/ilp32-4-nacl.d: New file.
9         * ld-x86-64/x86-64.exp: Run it.
10
11         * ld-discard/discard.exp: Accept nacl targets too.
12         * ld-elf/binutils.exp: Likewise.
13         * ld-elf/comm-data.exp: Likewise.
14         * ld-elf/elf.exp: Likewise.
15         * ld-elf/tls_common.exp: Likewise.
16         * ld-elfvers/vers.exp: Likewise.
17         * ld-elfvsb/elfvsb.exp: Likewise.
18         * ld-elfweak/elfweak.exp: Likewise.
19         * ld-gc/gc.exp: Likewise.
20         * ld-ifunc/binutils.exp: Likewise.
21         * ld-ifunc/ifunc.exp: Likewise.
22         * ld-linkonce/linkonce.exp:Likewise.
23         * ld-pie/pie.exp: Likewise.
24         * ld-shared/shared.exp: Likewise.
25         * ld-undefined/weak-undef.exp: Likewise.
26         * ld-unique/unique.exp: Likewise.
27         * ld-x86-64/dwarfreloc.exp: Likewise.
28         * ld-x86-64/line.exp: Likewise.
29
30         * lib/ld-lib.exp (slurp_options): Support global array
31         options_regsub to apply substitutions to the contents
32         of options lines read from the file.
33         * ld-i386/emit-relocs.d: Renamed to ...
34         * ld-i386/emit-relocs.rd: ... this.
35         * ld-i386/i386.exp: Accept nacl targets too.
36         For them, use options_regsub to replace elf_i386 with
37         elf_i386_nacl in run_dump_test cases; apply the same
38         substitution in $i386tests; replace foo.rd expectations
39         files with foo-nacl.rd in $i386tests.
40         (i386tests): Change emit-relocs.d to emit-relocs.rd here.
41         * ld-i386/emit-relocs-nacl.rd: New file.
42         * ld-i386/plt-nacl.pd: New file.
43         * ld-i386/plt-pic-nacl.pd: New file.
44         * ld-i386/tlsbin-nacl.rd: New file.
45         * ld-i386/tlsbindesc-nacl.rd: New file.
46         * ld-i386/tlsdesc-nacl.rd: New file.
47         * ld-i386/tlsgdesc-nacl.rd: New file.
48         * ld-i386/tlsnopic-nacl.rd: New file.
49         * ld-i386/tlspic-nacl.rd: New file.
50         * ld-x86-64/x86-64.exp: Accept nacl targets too.
51         For them, use options_regsub to replace elf_x86_64 with
52         elf_x86_64_nacl in run_dump_test cases; apply the same
53         substitution in $x86_64tests; replace foo.rd expectations
54         files with foo-nacl.rd in $x86_64tests.
55         Add explicit -melf_x86_64 to ld options in tests that need it,
56         in case the default emulation is x32 (as it is for x86_64-nacl).
57         * ld/testsuite/ld-x86-64/plt-nacl.pd: New file.
58         * ld/testsuite/ld-x86-64/split-by-file-nacl.rd: New file.
59         * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: New file.
60         * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: New file.
61         * ld/testsuite/ld-x86-64/tlsdesc-nacl.pd: New file.
62         * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: New file.
63         * ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: New file.
64         * ld/testsuite/ld-x86-64/tlspic-nacl.rd: New file.
65
66         * ld-i386/hidden2.d: Loosen regexps to match any file format variant,
67         and not to depend on exact addresses, displacements, etc. where
68         they are irrelevant.
69         * ld-i386/pcrel16.d: Likewise.
70         * ld-i386/pcrel16abs.d: Likewise.
71         * ld-i386/pr12718.d: Likewise.
72         * ld-i386/pr12921.d: Likewise.
73         * ld-i386/reloc.d: Likewise.
74         * ld-i386/tlsbin.dd: Likewise.
75         * ld-i386/tlsbin.sd: Likewise.
76         * ld-i386/tlsbin.td: Likewise.
77         * ld-i386/tlsbindesc.dd: Likewise.
78         * ld-i386/tlsbindesc.sd: Likewise.
79         * ld-i386/tlsbindesc.td: Likewise.
80         * ld-i386/tlsdesc.dd: Likewise.
81         * ld-i386/tlsdesc.sd: Likewise.
82         * ld-i386/tlsdesc.td: Likewise.
83         * ld-i386/tlsg.sd: Likewise.
84         * ld-i386/tlsgdesc.dd: Likewise.
85         * ld-i386/tlsindntpoff.dd: Likewise.
86         * ld-i386/tlsnopic.dd: Likewise.
87         * ld-i386/tlsnopic.sd: Likewise.
88         * ld-i386/tlspic.dd: Likewise.
89         * ld-i386/tlspic.sd: Likewise.
90         * ld-i386/tlspic.td: Likewise.
91         * ld-i386/tlspie2.d: Likewise.
92         * ld-x86-64/hidden2.d: Likewise.
93         * ld-x86-64/pcrel16.d: Likewise.
94         * ld-x86-64/pr12718.d: Likewise.
95         * ld-x86-64/pr12921.d: Likewise.
96         * ld-x86-64/protected3.d: Likewise.
97         * ld-x86-64/tlsbin.dd: Likewise.
98         * ld-x86-64/tlsbin.sd: Likewise.
99         * ld-x86-64/tlsbin.td: Likewise.
100         * ld-x86-64/tlsbindesc.dd: Likewise.
101         * ld-x86-64/tlsbindesc.sd: Likewise.
102         * ld-x86-64/tlsbindesc.td: Likewise.
103         * ld-x86-64/tlsdesc.dd: Likewise.
104         * ld-x86-64/tlsdesc.sd: Likewise.
105         * ld-x86-64/tlsdesc.td: Likewise.
106         * ld-x86-64/tlsg.sd: Likewise.
107         * ld-x86-64/tlsgd5.dd: Likewise.
108         * ld-x86-64/tlsgd6.dd: Likewise.
109         * ld-x86-64/tlsgdesc.dd: Likewise.
110         * ld-x86-64/tlspic.dd: Likewise.
111         * ld-x86-64/tlspic.sd: Likewise.
112         * ld-x86-64/tlspic.td: Likewise.
113
114         * ld-x86-64/ilp32-8.d: Match any file format variant.
115         Use a -Ttext and adjust expected results, to handle variant layouts.
116         * ld-x86-64/ilp32-9.d: Likewise.
117
118         * ld-i386/alloc.t: Remove superfluous OUTPUT_FORMAT statement.
119         * ld-i386/pr12627.t: Likewise.
120
121         * ld-x86-64/abs-l1om.d: Add target: constraint.
122         * ld-x86-64/protected2-l1om.d: Likewise.
123         * ld-x86-64/protected3-l1om.d: Likewise.
124         * ld-x86-64/ilp32-4.d: Likewise.
125
126         * ld-x86-64/plt.s: New file.
127         * ld-x86-64/pltlib.s: New file.
128         * ld-x86-64/plt.pd: New file.
129         * ld-x86-64/x86-64.exp (x86_64tests): Add them.
130
131         * ld-i386/plt.s: New file.
132         * ld-i386/pltlib.s: New file.
133         * ld-i386/plt.pd: New file.
134         * ld-i386/plt-pic.s: New file.
135         * ld-i386/plt-pic.pd: New file.
136         * ld-i386/i386.exp (i386tests): Add them.
137
138 2012-03-25  Alan Modra  <amodra@gmail.com>
139
140         * ld-powerpc/vxworks-relax.rd: Remove check on reloc section
141         file offset and reloc symbol indices.
142
143 2012-03-21  Hans-Peter Nilsson  <hp@axis.com>
144
145         PR ld/13813
146         * ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64
147         tests, also specify assembler option -march=mips3.
148
149 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
150
151         PR ld/13880
152         * ld-i386/i386.exp: Run protected4 and protected5.
153         * ld-x86-64/x86-64.exp: Likewise.
154
155         * ld-i386/protected4.d: New.
156         * ld-i386/protected4.s: Likewise.
157         * ld-i386/protected5.d: Likewise.
158         * ld-i386/protected5.s: Likewise.
159         * ld-x86-64/protected4.d: Likewise.
160         * ld-x86-64/protected4.s: Likewise.
161         * ld-x86-64/protected5.d: Likewise.
162         * ld-x86-64/protected5.s: Likewise.
163
164 2012-03-19  Andreas Schwab  <schwab@linux-m68k.org>
165
166         * ld-m68k/m68k.exp ("TLS indirect symbol use"): Pass
167         --copy-dt-needed-entries.
168
169 2012-03-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
170
171         * ld-arm/arm-elf.exp: Add new testcases.
172         * ld-arm/attr-merge-2.attr: Update ouput.
173         * ld-arm/attr-merge-2a.s: Remove Tag_DIV_use test.
174         * ld-arm/attr-merge-2b.s: Likewise.
175         * ld-arm/attr-merge-3.attr: Updated expected output.
176         * ld-arm/attr-merge-4.attr: Likewise.
177         * ld-arm/attr-merge-5.attr: Likewise.
178         * ld-arm/attr-merge-6.attr: Likewise.
179         * ld-arm/attr-merge-7.attr: Likewise.
180         * ld-arm/attr-merge-arch-1.attr: Likewise.
181         * ld-arm/attr-merge-arch-2.attr: Likewise.
182         * ld-arm/attr-merge-unknown-2.d: Likewise.
183         * ld-arm/attr-merge-unknown-2r.d: Likewise.
184         * ld-arm/attr-merge-unknown-3.d: Likewise.
185         * ld-arm/attr-merge-vfp-1.d: Likewise.
186         * ld-arm/attr-merge-vfp-1r.d: Likewise.
187         * ld-arm/attr-merge-vfp-2.d: Likewise.
188         * ld-arm/attr-merge-vfp-2r.d: Likewise.
189         * ld-arm/attr-merge-vfp-3.d: Likewise.
190         * ld-arm/attr-merge-vfp-3r.d: Likewise.
191         * ld-arm/attr-merge-vfp-4.d: Likewise.
192         * ld-arm/attr-merge-vfp-4r.d: Likewise.
193         * ld-arm/attr-merge-vfp-5.d: Likewise.
194         * ld-arm/attr-merge-vfp-5r.d: Likewise.
195         * ld-arm/attr-merge-vfp-6.d: Likewise.
196         * ld-arm/attr-merge-vfp-6r.d: Likewise.
197         * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
198         * ld-arm/attr-merge-wchar-00.d: Likewise.
199         * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
200         * ld-arm/attr-merge-wchar-02.d: Likewise.
201         * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
202         * ld-arm/attr-merge-wchar-04.d: Likewise.
203         * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
204         * ld-arm/attr-merge-wchar-20.d: Likewise.
205         * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
206         * ld-arm/attr-merge-wchar-22.d: Likewise.
207         * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
208         * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
209         * ld-arm/attr-merge-wchar-40.d: Likewise.
210         * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
211         * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
212         * ld-arm/attr-merge-wchar-44.d: Likewise.
213         * ld-arm/attr-merge.attr: Likewise.
214         * ld-arm/attr-merge-div-0.s: New testcase.
215         * ld-arm/attr-merge-div-00.d: Likewise.
216         * ld-arm/attr-merge-div-01-m3.d: Likewise.
217         * ld-arm/attr-merge-div-01.d: Likewise.
218         * ld-arm/attr-merge-div-02.d: Likewise.
219         * ld-arm/attr-merge-div-1.s: Likewise.
220         * ld-arm/attr-merge-div-10-m3.d: Likewise.
221         * ld-arm/attr-merge-div-10.d: Likewise.
222         * ld-arm/attr-merge-div-11.d: Likewise.
223         * ld-arm/attr-merge-div-12.d: Likewise.
224         * ld-arm/attr-merge-div-120.d: Likewise.
225         * ld-arm/attr-merge-div-2.s: Likewise.
226         * ld-arm/attr-merge-div-20.d: Likewise.
227         * ld-arm/attr-merge-div-21.d: Likewise.
228         * ld-arm/attr-merge-div-22.d: Likewise.
229
230 2012-03-16  Alan Modra  <amodra@gmail.com>
231
232         * ld-gc/pr13683.d: Accept powerpc64 function descriptor syms.
233
234 2012-03-15  Alan Modra  <amodra@gmail.com>
235
236         * config/default.exp: Update copyright date.
237         * ld-elf/shared.exp: Pass --no-as-needed to various tests linking
238         shared libs.
239         * ld-elfvers/vers.exp: Likewise.
240
241 2012-03-14  H.J. Lu  <hongjiu.lu@intel.com>
242
243         PR ld/13839
244         * ld-elf/pr13839.d: New.
245         * ld-elf/pr13839.s: Likewise.
246         * ld-elf/pr13839.t: Likewise.
247
248 2012-03-09  H.J. Lu  <hongjiu.lu@intel.com>
249
250         PR ld/13817
251         * ld-i386/pr13302.d: Updated.
252         * ld-x86-64/pr13082-5b.d: Likewise.
253         * ld-x86-64/pr13082-6a.d: Likewise.
254         * ld-x86-64/pr13082-6b.d: Likewise.
255
256 2012-03-06  Alan Modra  <amodra@gmail.com>
257
258         PR ld/13683
259         * ld-gc/pr13683.d: Allow non-zero top address digit.
260
261 2012-03-05  Hans-Peter Nilsson  <hp@axis.com>
262
263         PR ld/13803
264         * ld-arm/fix-arm1176-off.d, ld-arm/fix-arm1176-on.d: Regexpify
265         address of func_to_branch_to.
266
267 2012-03-01  Hans-Peter Nilsson  <hp@axis.com>
268
269         PR ld/13789
270         * ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE.
271
272 2012-02-25  Walter Lee  <walt@tilera.com>
273
274         * ld-tilegx/reloc-be.d: New.
275         * ld-tilegx/reloc-le.d: New.
276         * ld-tilegx/reloc.d: Delete.
277         * ld-tilegx/tilegx.exp: Test big and little endian.
278
279 2012-02-22  Nick Clifton  <nickc@redhat.com>
280
281         PR ld/13683
282         * ld-gc/pr13683.c: New test source file.
283         * ld-gc/pr13683.d: New test control and output file.
284         * ld-gc/gc.exp: Run the pr13683 test.
285
286         * ld-cris/tls-gc-68: Update expected symbol table dump.
287         * ld-cris/tls-gc-69: Likewise.
288         * ld-cris/tls-gc-70: Likewise.
289         * ld-cris/tls-gc-71: Likewise.
290         * ld-cris/tls-gc-75: Likewise.
291         * ld-cris/tls-gc-76.d: Likewise.
292         * ld-cris/tls-gc-79.d: Likewise.
293
294 2012-02-20  Thomas Schwinge <thomas@schwinge.name>
295
296         * ld-elf/comm-data.exp: Run for *-*-gnu*.
297
298 2012-02-14  Alan Modra  <amodra@gmail.com>
299
300         * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux.
301         * ld-elf/pr11304a.s: Always have whitespace before directives.
302         * ld-elf/pr11304b.s: Likewise.
303         * ld-selective/selective.exp: Test m68hc1* variant of m6811, m6812.
304         * lib/ld-lib.exp: Likewise, and vice versa.
305
306 2012-02-13  Richard Henderson  <rth@redhat.com>
307
308         PR ld/13621
309         * ld-elf/warn2.d: Expect ABS section for Foo.
310         * ld-elf/zerosize1.d, ld-elf/zerosize1.s: New test.
311
312 2012-02-13  Alan Modra  <amodra@gmail.com>
313
314         * ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
315         * ld-m68hc11/adj-brset.d: Remove redundant #target line.  Add
316         -m m68hc11elf to ld invocation.
317         * ld-m68hc11/adj-jump.d: Likewise.
318         * ld-m68hc11/bug-1403.d: Likewise.
319         * ld-m68hc11/bug-1417.d: Likewise.
320         * ld-m68hc11/bug-3331.d: Likewise.
321         * ld-m68hc11/relax-direct.d: Likewise.
322         * ld-m68hc11/relax-group.d: Likewise.
323         * ld-m68hc11/far-hc11.d: Remove redundant #target line.  Adjust for
324         changed addresses.
325         * ld-m68hc11/far-hc12.d: Remove redundant #target line.
326         * ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
327
328 2012-02-09  H.J. Lu  <hongjiu.lu@intel.com>
329
330         PR ld/13675
331         * ld-i386/tlsnopic.dd: Update no-op padding.
332         * ld-i386/tlspic.dd: Likewise.
333
334 2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>
335
336         PR ld/13616
337         * ld-i386/tlsbindesc.dd: Update no-op padding.
338         * ld-i386/tlsnopic.dd: Likewise.
339         * ld-i386/tlspic.dd: Likewise.
340         * ld-x86-64/tlsbin.dd: Likewise.
341         * ld-x86-64/tlsbindesc.dd: Likewise.
342         * ld-x86-64/tlspic.dd: Likewise.
343
344 2012-01-17  Alan Modra  <amodra@gmail.com>
345
346         * config/default.exp: Provide tmpdir/ld/collect-ld.
347
348 2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>
349
350         PR ld/13581
351         * ld-x86-64/ilp32-4.s: New.
352         * ld-x86-64/ilp32-10.d: Likewise.
353         * ld-x86-64/ilp32-10.s: Likewise.
354
355         * ld-x86-64/ilp32-4.d: Adjusted.
356         * ld-x86-64/ilp32-5.d: Likewise.
357         * ld-x86-64/ilp32-5.s: Likewise.
358
359         * ld-x86-64/x86-64.exp: Run ilp32-10.
360
361 2012-01-05  Nick Clifton  <nickc@redhat.com>
362
363         * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit and
364         64-bit objects when the 32-bit object (loaded first) contains 32+
365         local symbols, all referenced by relocs and the 64-bit object
366         contains a reloc that uses a symbol in the 32-bit object.
367         * 32bit.s: New source file.
368         * 64bit.s: New source file.
369         * incompatible.l: New expected linker output file.
370
371 For older changes see ChangeLog-2011
372 \f
373 Local Variables:
374 mode: change-log
375 left-margin: 8
376 fill-column: 74
377 version-control: never
378 End: