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