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