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