* ld-mmix/bpo-9.d: Update.
[external/binutils.git] / ld / testsuite / ChangeLog
1 2012-06-06  Alan Modra  <amodra@gmail.com>
2
3         * ld-mmix/bpo-9.d: Update.
4         * ld-mmix/bpo-10.d: Update.
5         * ld-mmix/bpo-11.d: Update.
6         * ld-mmix/sec-7m.d: Update.
7
8 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
9
10         * ld-ifunc/ifunc-13a-x86-64.s: Add missing "foo" after ".global".
11         * ld-ifunc/ifunc-15-x86-64.s: Likewise.
12
13 2012-05-30  Nick Clifton  <nickc@redhat.com>
14
15         * ld-tic6x/shlib-1b.rd: Revert previous delta.
16         * ld-tic6x/shlib-1rb.rd: Likewise.
17         * ld-tic6x/shlib-1.rd: Likewise.
18         * ld-tic6x/shlib-1r.rd: Likewise.
19         * ld-tic6x/shlib-app-1b.rd: Likewise.
20         * ld-tic6x/shlib-app-1rb.rd: Likewise.
21         * ld-tic6x/shlib-app-1.rd: Likewise.
22         * ld-tic6x/shlib-app-1r.rd: Likewise.
23         * ld-tic6x/shlib-noindex.rd: Likewise.
24         * ld-tic6x/static-app-1b.rd: Likewise.
25         * ld-tic6x/static-app-1rb.rd: Likewise.
26         * ld-tic6x/static-app-1.rd: Likewise.
27         * ld-tic6x/static-app-1r.rd: Likewise.
28
29 2012-05-29  Nick Clifton  <nickc@redhat.com>
30
31         * ld-tic6x/shlib-1b.rd: Update expected readelf output.
32         * ld-tic6x/shlib-1rb.rd: Likewise.
33         * ld-tic6x/shlib-1.rd: Likewise.
34         * ld-tic6x/shlib-1r.rd: Likewise.
35         * ld-tic6x/shlib-app-1b.rd: Likewise.
36         * ld-tic6x/shlib-app-1rb.rd: Likewise.
37         * ld-tic6x/shlib-app-1.rd: Likewise.
38         * ld-tic6x/shlib-app-1r.rd: Likewise.
39         * ld-tic6x/shlib-noindex.rd: Likewise.
40         * ld-tic6x/static-app-1b.rd: Likewise.
41         * ld-tic6x/static-app-1rb.rd: Likewise.
42         * ld-tic6x/static-app-1.rd: Likewise.
43         * ld-tic6x/static-app-1r.rd: Likewise.
44
45 2012-05-28  Nick Clifton  <nickc@redhat.com>
46
47         * ld-ifunc/ifunc-13a-i386.s: Fix use of .global directive.
48         * ld-ifunc/ifunc-15a-i385.s: Likewise.
49
50 2012-05-28  Alan Modra  <amodra@gmail.com>
51
52         PR ld/14170
53         * ld-elf/pr14170a.s: Put foo, bar address in .data.
54         * ld-elf/elf.exp: Don't run pr14170 test on hppa64-hpux.  Ignore
55         tic6x warnings.
56
57 2012-05-27  H.J. Lu  <hongjiu.lu@intel.com>
58
59         PR ld/14170
60         * ld-elf/elf.exp: Add a test for PR ld/14170.
61
62         * ld-elf/pr14170a.s: New file.
63         * ld-elf/pr14170b.s: Likewise.
64         * ld-elf/pr14170c.s: Likewise.
65
66 2012-05-26  Alan Modra  <amodra@gmail.com>
67
68         * ld-srec/srec.exp: Remove powerpc64 flag setting.
69
70 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71
72         * ld-elf/eh1.d: Don't skip x86_64-*-linux-gnux32.
73         * ld-elf/eh2.d: Likewise.
74         * ld-elf/eh3.d: Likewise.
75         * ld-elf/eh4.d: Likewise.
76
77 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78
79         * ld-x86-64/ilp32-11.s Add ".space 0x1000" before func.
80         (func): Make it global and hidden.
81         * ld-x86-64/ilp32-11.d: Updated.
82
83 2012-05-22  Roland McGrath  <mcgrathr@google.com>
84
85         * ld-elf/eh4.d: Revert last change.
86         Loosen CFI-matching regexps so they match x86_64-*-nacl* variant too.
87
88         * ld-x86-64/pr12570a.d (name): Distinguish it from pr12570b.d case.
89         Loosen CFI-matching regexp so it matches x86_64-*-nacl* variant too.
90         * ld-x86-64/pr12570b.d: Likewise.
91         * ld-x86-64/x86-64.exp: Revert last change.
92
93 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
94
95         * ld-elf/eh4.d: Skip x86_64-*-nacl*.
96
97         * ld-x86-64/x86-64.exp: Xfail pr12570a for x86_64-*-nacl*.
98
99 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
100
101         PR ld/13909
102         * ld-i386/i386.exp: Revert the last change.
103         * ld-x86-64/x86-64.exp: Likewise.
104
105         * ld-i386/dummy.s: Removed.
106         * ld-i386/pr13909.d: Likewise.
107         * ld-x86-64/pr13909.d: Likewise.
108
109 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
110
111         PR ld/13909
112         * ld-i386/i386.exp: Run pr13909.
113         * ld-x86-64/x86-64.exp: Likewise.
114
115         * ld-i386/dummy.s: New file.
116         * ld-i386/pr13909.d: Likewise.
117         * ld-x86-64/pr13909.d: Likewise.
118
119 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
120
121         PR ld/14105
122         * ld-elf/eh4.d: Add PLT eh_frame.
123
124         * ld-i386/i386.exp: Run pr12570a and pr12570b.
125         * ld-x86-64/x86-64.exp: Likewise.
126
127         * ld-i386/pr12570a.d: New file.
128         * ld-i386/pr12570a.s: Likewise.
129         * ld-i386/pr12570b.s: Likewise.
130         * ld-i386/pr12570b.s: Likewise.
131         * ld-x86-64/pr12570a.d: Likewise.
132         * ld-x86-64/pr12570a.s: Likewise.
133         * ld-x86-64/pr12570b.d: Likewise.
134         * ld-x86-64/pr12570b.s: Likewise.
135
136 2012-05-19  Alan Modra  <amodra@gmail.com>
137
138         * ld-elf/elf.exp (note-3.so): xfail tic6x due to non-pic warnings.
139
140 2012-05-19  Alan Modra  <amodra@gmail.com>
141
142         * ld-powerpc/vle.ld: New.
143         * ld-powerpc/powerpc.exp (vle reloc tests): Link using vle.ld.
144
145 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
146
147         * ld-i386/tlsdesc-nacl.rd: Update for dynamic sym changes.
148         * ld-i386/tlsdesc.rd: Likewise.
149         * ld-i386/tlsgdesc-nacl.rd: Likewise.
150         * ld-i386/tlsgdesc.rd: Likewise.
151         * ld-i386/tlsnopic-nacl.rd: Likewise.
152         * ld-i386/tlsnopic.rd: Likewise.
153         * ld-i386/tlspic-nacl.rd: Likewise.
154         * ld-i386/tlspic.rd: Likewise.
155         * ld-x86-64/tlsdesc-nacl.rd: Likewise.
156         * ld-x86-64/tlsdesc.rd: Likewise.
157         * ld-x86-64/tlsgdesc-nacl.rd: Likewise.
158         * ld-x86-64/tlsgdesc.rd: Likewise.
159         * ld-x86-64/tlspic-nacl.rd: Likewise.
160         * ld-x86-64/tlspic.rd: Likewise.
161
162 2012-05-18  Alan Modra  <amodra@gmail.com>
163
164         * ld-tic6x/mvk-reloc-local-r.d: Adjust for signed addend.
165         * ld-tic6x/unwind-6.d: Typo fix.
166
167 2012-05-18  Alan Modra  <amodra@gmail.com>
168
169         * ld-elf/init-mixed.c: Include config.h first.
170
171 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
172
173         * ld-arm/emit-relocs1-vxworks.d: Expect addend as signed.
174         * ld-spu/pic.d: Likewise.
175
176 2012-05-17  Hans-Peter Nilsson  <hp@axis.com>
177
178         * lib/ld-lib.exp (run_dump_test): For options "warning" and
179         "error", append to earlier option values without adding a space.
180
181 2012-05-17  Alan Modra  <amodra@gmail.com>
182
183         * ld-m68k/tls-ld-1.d: Update.
184
185 2012-05-17  Alan Modra  <amodra@gmail.com>
186
187         * ld-powerpc/tlsso.r: Update for dynamic sym changes.
188         * ld-powerpc/tlsso32.d: Likewise.
189         * ld-powerpc/tlsso32.r: Likewise.
190         * ld-powerpc/tlstocso.r: Likewise.
191
192 2012-05-16  Meador Inge  <meadori@codesourcery.com>
193
194         * ld-arm/gc-hidden-1.d: Fix disassembly pattern.
195
196 2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
197
198         * ld-m68hc11/xgate-link.s: New.
199         * ld-m68hc11/xgate-link.d: New.
200         * ld-m68hc11/xgate-offset.s: New.
201         * ld-m68hc11/xgate-offset.d: New.
202         * ld-m68hc11/xgate1.s: New.
203         * ld-m68hc11/xgate1.d: New.
204         * ld-m68hc11/xgate2.s: New.
205         * ld-m68hc11/m68hc11.exp: Updated.
206         * ld-m68hc11/*.d: Brought in line with changed objdump output.
207         * ld-gc/gc.exp: Update CFLAGS for m68hc11.
208         * ld-plugin/plugin.exp: Likewise.
209         * ld-srec/srec.exp: XFAIL for m68hc11 and m68hc12.
210
211 2012-05-14  David S. Miller  <davem@davemloft.net>
212
213         * ld-sparc/tlssunbin32.rd: Update.
214         * ld-sparc/tlssunbin64.rd: Likewise.
215
216 2012-05-14  James Lemke  <jwlemke@codesourcery.com>
217
218         * ld-powerpc/powerpc.exp: Create ppceabitests.
219         * ld-powerpc/vle-multiseg.s: New.
220         * ld-powerpc/vle-multiseg-1.d: New.
221         * ld-powerpc/vle-multiseg-1.ld: New.
222         * ld-powerpc/vle-multiseg-2.d: New.
223         * ld-powerpc/vle-multiseg-2.ld: New.
224         * ld-powerpc/vle-multiseg-3.d: New.
225         * ld-powerpc/vle-multiseg-3.ld: New.
226         * ld-powerpc/vle-multiseg-4.d: New.
227         * ld-powerpc/vle-multiseg-4.ld: New.
228         * ld-powerpc/vle-multiseg-5.d: New.
229         * ld-powerpc/vle-multiseg-5.ld: New.
230         * ld-powerpc/vle-multiseg-6.d: New.
231         * ld-powerpc/vle-multiseg-6.ld: New.
232         * ld-powerpc/vle-multiseg-6a.s: New.
233         * ld-powerpc/vle-multiseg-6b.s: New.
234         * ld-powerpc/vle-multiseg-6c.s: New.
235         * ld-powerpc/vle-multiseg-6d.s: New.
236         * ld-powerpc/powerpc.exp: Run new tests.
237
238 2012-05-14  Catherine Moore  <clm@codesourcery.com>
239
240         * ld-powerpc/apuinfo.rd: Update for VLE.
241         * ld-powerpc/vle-reloc-1.d: New.
242         * ld-powerpc/vle-reloc-1.s: New.
243         * ld-powerpc/vle-reloc-2.d: New.
244         * ld-powerpc/vle-reloc-2.s: New.
245         * ld-powerpc/vle-reloc-3.d: New.
246         * ld-powerpc/vle-reloc-3.s: New.
247         * ld-powerpc/vle-reloc-def-1.s: New.
248         * ld-powerpc/vle-reloc-def-2.s: New.
249         * ld-powerpc/vle-reloc-def-3.s: New.
250
251 2012-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
252
253         * ld-mips-elf/mips-elf.exp (mips16_call_global_test): Use the
254         no-shared-1.ld linker script.
255         * ld-mips-elf/mips16-call-global-1.s: Add alignment directive.
256         * ld-mips-elf/mips16-call-global-2.s: Likewise.
257         * ld-mips-elf/mips16-call-global-3.s: Likewise.
258         * ld-mips-elf/mips16-call-global.d: Use 50000 as the base address.
259
260 2012-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
261
262         * ld-mips-elf/attr-gnu-4-00.d: Remove assembler options and emulator
263         linker option.
264         * ld-mips-elf/attr-gnu-4-01.d, ld-mips-elf/attr-gnu-4-02.d,
265         ld-mips-elf/attr-gnu-4-03.d, ld-mips-elf/attr-gnu-4-04.d,
266         ld-mips-elf/attr-gnu-4-05.d, ld-mips-elf/attr-gnu-4-10.d,
267         ld-mips-elf/attr-gnu-4-11.d, ld-mips-elf/attr-gnu-4-12.d,
268         ld-mips-elf/attr-gnu-4-13.d, ld-mips-elf/attr-gnu-4-14.d,
269         ld-mips-elf/attr-gnu-4-15.d, ld-mips-elf/attr-gnu-4-20.d,
270         ld-mips-elf/attr-gnu-4-21.d, ld-mips-elf/attr-gnu-4-22.d,
271         ld-mips-elf/attr-gnu-4-23.d, ld-mips-elf/attr-gnu-4-24.d,
272         ld-mips-elf/attr-gnu-4-25.d, ld-mips-elf/attr-gnu-4-30.d,
273         ld-mips-elf/attr-gnu-4-31.d, ld-mips-elf/attr-gnu-4-32.d,
274         ld-mips-elf/attr-gnu-4-33.d, ld-mips-elf/attr-gnu-4-34.d,
275         ld-mips-elf/attr-gnu-4-35.d, ld-mips-elf/attr-gnu-4-40.d,
276         ld-mips-elf/attr-gnu-4-41.d, ld-mips-elf/attr-gnu-4-42.d,
277         ld-mips-elf/attr-gnu-4-43.d, ld-mips-elf/attr-gnu-4-44.d,
278         ld-mips-elf/attr-gnu-4-45.d, ld-mips-elf/attr-gnu-4-51.d: Likewise.
279
280 2012-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
281
282         * ld-mips-elf/eh-frame1.ld (.gcc_compiled_long32): Add KEEP.
283         * ld-mips-elf/eh-frame3.d: Move definition of foo to the link line
284         and change to a 32-bit value.  Expect CIEs to be marged.
285         * ld-mips-elf/eh-frame4.d: Move definition of foo to the link line.
286
287 2012-05-12  H.J. Lu  <hongjiu.lu@intel.com>
288
289         * ld-alpha/tlspic.rd: Updated.
290         * ld-powerpc/tlsso.r: Likewise.
291         * ld-powerpc/tlsso32.r: Likewise.
292         * ld-powerpc/vxworks1-lib.rd: Likewise.
293         * ld-s390/tlspic.rd: Likewise.
294         * ld-s390/tlspic_64.rd: Likewise.
295         * ld-sh/shared-1.d: Likewise.
296         * ld-sh/tlspic-2.d: Likewise.
297         * ld-sparc/tlssunnopic32.rd: Likewise.
298         * ld-sparc/tlssunnopic64.rd: Likewise.
299         * ld-sparc/tlssunpic32.rd: Likewise.
300         * ld-sparc/tlssunpic64.rd: Likewise.
301
302 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
303
304         * ld-cris/hiddef1.d: Updated.
305         * ld-cris/libdso-2.d: Likewise.
306         * ld-cris/tls-js1.d: Likewise.
307         * ld-cris/tls-local-63.d: Likewise.
308         * ld-cris/tls-local-64.d: Likewise.
309
310 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
311
312         PR binutils/14088
313         * ld-ia64/tlspic.rd: Updated.
314         * ld-x86-64/tlsdesc-nacl.rd: Likewise.
315         * ld-x86-64/tlsdesc.rd: Likewise.
316         * ld-x86-64/tlspic-nacl.rd: Likewise.
317         * ld-x86-64/tlspic.rd: Likewise.
318
319 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
320
321         * ld-x86-64/ilp32-11.d: Updated.
322
323 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
324
325         * ld-x86-64/pr13082-1a.d: Check RELACOUNT.
326         * ld-x86-64/pr13082-1b.d: Likewise.
327
328 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
329
330         * ld-x86-64/ilp32-11.d: New file.
331         * ld-x86-64/ilp32-11.s: Likewise.
332
333         * ld-x86-64/x86-64.exp: Run ilp32-11.
334
335 2012-05-05  H.J. Lu  <hongjiu.lu@intel.com>
336
337         PR ld/14052
338         * ld-elf/pr14052.d: New file.
339         * ld-elf/pr14052.t: Likewise.
340
341 2012-05-05  Alan Modra  <amodra@gmail.com>
342
343         PR ld/14052
344         PR ld/13621
345         * ld-elf/warn2.d: Revert 2012-02-13 change.
346         * ld-elf/zerosize1.d, ld-elf/zerosize1.s: Delete.
347
348 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
349
350         * ld-elf/eh1.d: Skip x86_64-*-linux-gnux32.
351         * ld-elf/eh2.d: Likewise.
352         * ld-elf/eh3.d: Likewise.
353         * ld-elf/eh4.d: Likewise.
354
355         * ld-elfvsb/elfvsb.exp: Xfail x86_64-*-linux-gnux32.
356         * ld-shared/shared.exp: Likewise.
357
358         * ld-ifunc/ifunc-3a-x86.d: Support x86_64-*-linux-gnux32.
359
360 2012-04-24  Roland McGrath  <mcgrathr@google.com>
361
362         * ld-x86-64/plt-nacl.pd: Fix expected nop padding.
363         * ld-x86-64/tlsdesc-nacl.pd: Likewise.
364
365 2012-04-24  Hans-Peter Nilsson  <hp@axis.com>
366
367         PR ld/13990
368         * ld-arm/arm-elf.exp: Run gc-hidden-1.
369         * ld-arm/gc-hidden-1.d: New test-file.
370         * ld-arm/gcdfn.s, ld-arm/hideall.ld, ld-arm/hidfn.s,
371         ld-arm/main.s: New files.
372
373 2012-04-23  Andreas Schwab  <schwab@linux-m68k.org>
374
375         * ld-pie/pie.exp: Remove extra braces.
376
377 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
378
379         PR ld/13947
380         * ld-x86-64/x86-64.exp: Run pr13947.
381         * ld-x86-64/pr13947.d: New file.
382         * ld-x86-64/pr13947.s: Likewise.
383
384 2012-04-13  Roland McGrath  <mcgrathr@google.com>
385
386         * ld-arm/arm-elf.exp (armelftests_common): Move cases using
387         mixed-lib.so to ...
388         (armelftests_nonacl): ... here.
389
390 2012-04-12  Roland McGrath  <mcgrathr@google.com>
391
392         * ld-arm/arm-elf.exp (armelftests): Split out into ...
393         (armelftests_common, armelftests_nonacl): ... these two.
394         (armeabitests): Split out into ...
395         (armeabitests_common, armeabitests_nonacl): ... these two.
396         Omit _nonacl sets for arm*-*-nacl* targets.
397
398         * ld-arm/farcall-mix.d: Don't match exact addresses, only symbolic ones.
399         * ld-arm/farcall-mix2.d: Likewise.
400         * ld-arm/farcall-group.d: Likewise.
401
402         * ld-arm/tls-gdesc-got.d: Match variant file formats too.
403         Accept some variation in exact addresses.
404
405         * ld-arm/thumb2-b-interwork.d: Match variant file formats too.
406         Fix regexps not to care about exact addresses where not relevant.
407
408         * ld-arm/thumb2-bl-undefweak.d: Match any hex strings, not any
409         strings of particular exact lengths.
410         * ld-arm/thumb2-bl-undefweak1.d: Likewise.
411
412         * ld-arm/arm-app.r: Match variant file formats too.
413         * ld-arm/arm-app-abs32.r: Likewise.
414         * ld-arm/arm-lib.d: Likewise.
415         * ld-arm/arm-lib.r: Likewise.
416         * ld-arm/arm-static-app.r: Likewise.
417         * ld-arm/armv4-bx.d: Likewise.
418         * ld-arm/data-only-map.d: Likewise.
419         * ld-arm/group-relocs.d: Likewise.
420         * ld-arm/jump19.d: Likewise.
421         * ld-arm/reloc-boundaries.d: Likewise.
422         * ld-arm/thumb1-bl.d: Likewise.
423         * ld-arm/thumb2-bl.d: Likewise.
424         * ld-arm/tls-app.d: Likewise.
425         * ld-arm/tls-app.r: Likewise.
426         * ld-arm/tls-gdierelax.d: Likewise.
427         * ld-arm/tls-gdierelax2.d: Likewise.
428         * ld-arm/tls-gdlerelax.d: Likewise.
429         * ld-arm/tls-lib.d: Likewise.
430         * ld-arm/tls-lib.r: Likewise.
431         * ld-arm/tls-mixed.r: Likewise.
432         * ld-arm/vfp11-fix-none.d: Likewise.
433         * ld-arm/vfp11-fix-scalar.d: Likewise.
434         * ld-arm/vfp11-fix-vector.d: Likewise.
435         * ld-arm/arm-static-app.d: Likewise.
436         Fix regexps not to care about exact number of leading spaces.
437         * ld-arm/arm-app-abs32.d: Likewise.
438         * ld-arm/fix-arm1176-off.d: Likewise.
439         * ld-arm/fix-arm1176-on.d: Likewise.
440
441         * ld-arm/arm-elf.exp: Treat nacl targets like eabi targets.
442
443 2012-04-09  Roland McGrath  <mcgrathr@google.com>
444
445         * ld-elf/eh1.d: Add explicit --64 to as options, and explicit
446         -melf_x86_64 and -Ttext to ld options, so we don't assume every
447         x86_64-*-* target uses --64 (vs --x32) by default or has the
448         same address space layout.
449         * ld-elf/eh2.d: Likewise.
450         * ld-elf/eh3.d: Likewise.
451         * ld-elf/eh4.d: Likewise.
452         * ld-elf/elf.exp: For target *-*-nacl*, use options_regsub(ld) to
453         map -melf_x86_64 to -melf_x86_64_nacl.
454
455 2012-04-07  David S. Miller  <davem@davemloft.net>
456
457         * ld-sparc/tlssunbin32.rd: Fix regexp.
458         * ld-sparc/tlssunbin64.rd: Likewise.
459
460 2012-04-03  Roland McGrath  <mcgrathr@google.com>
461
462         * ld-x86-64/ilp32-4-nacl.d: New file.
463         * ld-x86-64/x86-64.exp: Run it.
464
465         * ld-discard/discard.exp: Accept nacl targets too.
466         * ld-elf/binutils.exp: Likewise.
467         * ld-elf/comm-data.exp: Likewise.
468         * ld-elf/elf.exp: Likewise.
469         * ld-elf/tls_common.exp: Likewise.
470         * ld-elfvers/vers.exp: Likewise.
471         * ld-elfvsb/elfvsb.exp: Likewise.
472         * ld-elfweak/elfweak.exp: Likewise.
473         * ld-gc/gc.exp: Likewise.
474         * ld-ifunc/binutils.exp: Likewise.
475         * ld-ifunc/ifunc.exp: Likewise.
476         * ld-linkonce/linkonce.exp:Likewise.
477         * ld-pie/pie.exp: Likewise.
478         * ld-shared/shared.exp: Likewise.
479         * ld-undefined/weak-undef.exp: Likewise.
480         * ld-unique/unique.exp: Likewise.
481         * ld-x86-64/dwarfreloc.exp: Likewise.
482         * ld-x86-64/line.exp: Likewise.
483
484         * lib/ld-lib.exp (slurp_options): Support global array
485         options_regsub to apply substitutions to the contents
486         of options lines read from the file.
487         * ld-i386/emit-relocs.d: Renamed to ...
488         * ld-i386/emit-relocs.rd: ... this.
489         * ld-i386/i386.exp: Accept nacl targets too.
490         For them, use options_regsub to replace elf_i386 with
491         elf_i386_nacl in run_dump_test cases; apply the same
492         substitution in $i386tests; replace foo.rd expectations
493         files with foo-nacl.rd in $i386tests.
494         (i386tests): Change emit-relocs.d to emit-relocs.rd here.
495         * ld-i386/emit-relocs-nacl.rd: New file.
496         * ld-i386/plt-nacl.pd: New file.
497         * ld-i386/plt-pic-nacl.pd: New file.
498         * ld-i386/tlsbin-nacl.rd: New file.
499         * ld-i386/tlsbindesc-nacl.rd: New file.
500         * ld-i386/tlsdesc-nacl.rd: New file.
501         * ld-i386/tlsgdesc-nacl.rd: New file.
502         * ld-i386/tlsnopic-nacl.rd: New file.
503         * ld-i386/tlspic-nacl.rd: New file.
504         * ld-x86-64/x86-64.exp: Accept nacl targets too.
505         For them, use options_regsub to replace elf_x86_64 with
506         elf_x86_64_nacl in run_dump_test cases; apply the same
507         substitution in $x86_64tests; replace foo.rd expectations
508         files with foo-nacl.rd in $x86_64tests.
509         Add explicit -melf_x86_64 to ld options in tests that need it,
510         in case the default emulation is x32 (as it is for x86_64-nacl).
511         * ld/testsuite/ld-x86-64/plt-nacl.pd: New file.
512         * ld/testsuite/ld-x86-64/split-by-file-nacl.rd: New file.
513         * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: New file.
514         * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: New file.
515         * ld/testsuite/ld-x86-64/tlsdesc-nacl.pd: New file.
516         * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: New file.
517         * ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: New file.
518         * ld/testsuite/ld-x86-64/tlspic-nacl.rd: New file.
519
520         * ld-i386/hidden2.d: Loosen regexps to match any file format variant,
521         and not to depend on exact addresses, displacements, etc. where
522         they are irrelevant.
523         * ld-i386/pcrel16.d: Likewise.
524         * ld-i386/pcrel16abs.d: Likewise.
525         * ld-i386/pr12718.d: Likewise.
526         * ld-i386/pr12921.d: Likewise.
527         * ld-i386/reloc.d: Likewise.
528         * ld-i386/tlsbin.dd: Likewise.
529         * ld-i386/tlsbin.sd: Likewise.
530         * ld-i386/tlsbin.td: Likewise.
531         * ld-i386/tlsbindesc.dd: Likewise.
532         * ld-i386/tlsbindesc.sd: Likewise.
533         * ld-i386/tlsbindesc.td: Likewise.
534         * ld-i386/tlsdesc.dd: Likewise.
535         * ld-i386/tlsdesc.sd: Likewise.
536         * ld-i386/tlsdesc.td: Likewise.
537         * ld-i386/tlsg.sd: Likewise.
538         * ld-i386/tlsgdesc.dd: Likewise.
539         * ld-i386/tlsindntpoff.dd: Likewise.
540         * ld-i386/tlsnopic.dd: Likewise.
541         * ld-i386/tlsnopic.sd: Likewise.
542         * ld-i386/tlspic.dd: Likewise.
543         * ld-i386/tlspic.sd: Likewise.
544         * ld-i386/tlspic.td: Likewise.
545         * ld-i386/tlspie2.d: Likewise.
546         * ld-x86-64/hidden2.d: Likewise.
547         * ld-x86-64/pcrel16.d: Likewise.
548         * ld-x86-64/pr12718.d: Likewise.
549         * ld-x86-64/pr12921.d: Likewise.
550         * ld-x86-64/protected3.d: Likewise.
551         * ld-x86-64/tlsbin.dd: Likewise.
552         * ld-x86-64/tlsbin.sd: Likewise.
553         * ld-x86-64/tlsbin.td: Likewise.
554         * ld-x86-64/tlsbindesc.dd: Likewise.
555         * ld-x86-64/tlsbindesc.sd: Likewise.
556         * ld-x86-64/tlsbindesc.td: Likewise.
557         * ld-x86-64/tlsdesc.dd: Likewise.
558         * ld-x86-64/tlsdesc.sd: Likewise.
559         * ld-x86-64/tlsdesc.td: Likewise.
560         * ld-x86-64/tlsg.sd: Likewise.
561         * ld-x86-64/tlsgd5.dd: Likewise.
562         * ld-x86-64/tlsgd6.dd: Likewise.
563         * ld-x86-64/tlsgdesc.dd: Likewise.
564         * ld-x86-64/tlspic.dd: Likewise.
565         * ld-x86-64/tlspic.sd: Likewise.
566         * ld-x86-64/tlspic.td: Likewise.
567
568         * ld-x86-64/ilp32-8.d: Match any file format variant.
569         Use a -Ttext and adjust expected results, to handle variant layouts.
570         * ld-x86-64/ilp32-9.d: Likewise.
571
572         * ld-i386/alloc.t: Remove superfluous OUTPUT_FORMAT statement.
573         * ld-i386/pr12627.t: Likewise.
574
575         * ld-x86-64/abs-l1om.d: Add target: constraint.
576         * ld-x86-64/protected2-l1om.d: Likewise.
577         * ld-x86-64/protected3-l1om.d: Likewise.
578         * ld-x86-64/ilp32-4.d: Likewise.
579
580         * ld-x86-64/plt.s: New file.
581         * ld-x86-64/pltlib.s: New file.
582         * ld-x86-64/plt.pd: New file.
583         * ld-x86-64/x86-64.exp (x86_64tests): Add them.
584
585         * ld-i386/plt.s: New file.
586         * ld-i386/pltlib.s: New file.
587         * ld-i386/plt.pd: New file.
588         * ld-i386/plt-pic.s: New file.
589         * ld-i386/plt-pic.pd: New file.
590         * ld-i386/i386.exp (i386tests): Add them.
591
592 2012-03-25  Alan Modra  <amodra@gmail.com>
593
594         * ld-powerpc/vxworks-relax.rd: Remove check on reloc section
595         file offset and reloc symbol indices.
596
597 2012-03-21  Hans-Peter Nilsson  <hp@axis.com>
598
599         PR ld/13813
600         * ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64
601         tests, also specify assembler option -march=mips3.
602
603 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
604
605         PR ld/13880
606         * ld-i386/i386.exp: Run protected4 and protected5.
607         * ld-x86-64/x86-64.exp: Likewise.
608
609         * ld-i386/protected4.d: New.
610         * ld-i386/protected4.s: Likewise.
611         * ld-i386/protected5.d: Likewise.
612         * ld-i386/protected5.s: Likewise.
613         * ld-x86-64/protected4.d: Likewise.
614         * ld-x86-64/protected4.s: Likewise.
615         * ld-x86-64/protected5.d: Likewise.
616         * ld-x86-64/protected5.s: Likewise.
617
618 2012-03-19  Andreas Schwab  <schwab@linux-m68k.org>
619
620         * ld-m68k/m68k.exp ("TLS indirect symbol use"): Pass
621         --copy-dt-needed-entries.
622
623 2012-03-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
624
625         * ld-arm/arm-elf.exp: Add new testcases.
626         * ld-arm/attr-merge-2.attr: Update ouput.
627         * ld-arm/attr-merge-2a.s: Remove Tag_DIV_use test.
628         * ld-arm/attr-merge-2b.s: Likewise.
629         * ld-arm/attr-merge-3.attr: Updated expected output.
630         * ld-arm/attr-merge-4.attr: Likewise.
631         * ld-arm/attr-merge-5.attr: Likewise.
632         * ld-arm/attr-merge-6.attr: Likewise.
633         * ld-arm/attr-merge-7.attr: Likewise.
634         * ld-arm/attr-merge-arch-1.attr: Likewise.
635         * ld-arm/attr-merge-arch-2.attr: Likewise.
636         * ld-arm/attr-merge-unknown-2.d: Likewise.
637         * ld-arm/attr-merge-unknown-2r.d: Likewise.
638         * ld-arm/attr-merge-unknown-3.d: Likewise.
639         * ld-arm/attr-merge-vfp-1.d: Likewise.
640         * ld-arm/attr-merge-vfp-1r.d: Likewise.
641         * ld-arm/attr-merge-vfp-2.d: Likewise.
642         * ld-arm/attr-merge-vfp-2r.d: Likewise.
643         * ld-arm/attr-merge-vfp-3.d: Likewise.
644         * ld-arm/attr-merge-vfp-3r.d: Likewise.
645         * ld-arm/attr-merge-vfp-4.d: Likewise.
646         * ld-arm/attr-merge-vfp-4r.d: Likewise.
647         * ld-arm/attr-merge-vfp-5.d: Likewise.
648         * ld-arm/attr-merge-vfp-5r.d: Likewise.
649         * ld-arm/attr-merge-vfp-6.d: Likewise.
650         * ld-arm/attr-merge-vfp-6r.d: Likewise.
651         * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
652         * ld-arm/attr-merge-wchar-00.d: Likewise.
653         * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
654         * ld-arm/attr-merge-wchar-02.d: Likewise.
655         * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
656         * ld-arm/attr-merge-wchar-04.d: Likewise.
657         * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
658         * ld-arm/attr-merge-wchar-20.d: Likewise.
659         * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
660         * ld-arm/attr-merge-wchar-22.d: Likewise.
661         * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
662         * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
663         * ld-arm/attr-merge-wchar-40.d: Likewise.
664         * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
665         * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
666         * ld-arm/attr-merge-wchar-44.d: Likewise.
667         * ld-arm/attr-merge.attr: Likewise.
668         * ld-arm/attr-merge-div-0.s: New testcase.
669         * ld-arm/attr-merge-div-00.d: Likewise.
670         * ld-arm/attr-merge-div-01-m3.d: Likewise.
671         * ld-arm/attr-merge-div-01.d: Likewise.
672         * ld-arm/attr-merge-div-02.d: Likewise.
673         * ld-arm/attr-merge-div-1.s: Likewise.
674         * ld-arm/attr-merge-div-10-m3.d: Likewise.
675         * ld-arm/attr-merge-div-10.d: Likewise.
676         * ld-arm/attr-merge-div-11.d: Likewise.
677         * ld-arm/attr-merge-div-12.d: Likewise.
678         * ld-arm/attr-merge-div-120.d: Likewise.
679         * ld-arm/attr-merge-div-2.s: Likewise.
680         * ld-arm/attr-merge-div-20.d: Likewise.
681         * ld-arm/attr-merge-div-21.d: Likewise.
682         * ld-arm/attr-merge-div-22.d: Likewise.
683
684 2012-03-16  Alan Modra  <amodra@gmail.com>
685
686         * ld-gc/pr13683.d: Accept powerpc64 function descriptor syms.
687
688 2012-03-15  Alan Modra  <amodra@gmail.com>
689
690         * config/default.exp: Update copyright date.
691         * ld-elf/shared.exp: Pass --no-as-needed to various tests linking
692         shared libs.
693         * ld-elfvers/vers.exp: Likewise.
694
695 2012-03-14  H.J. Lu  <hongjiu.lu@intel.com>
696
697         PR ld/13839
698         * ld-elf/pr13839.d: New.
699         * ld-elf/pr13839.s: Likewise.
700         * ld-elf/pr13839.t: Likewise.
701
702 2012-03-09  H.J. Lu  <hongjiu.lu@intel.com>
703
704         PR ld/13817
705         * ld-i386/pr13302.d: Updated.
706         * ld-x86-64/pr13082-5b.d: Likewise.
707         * ld-x86-64/pr13082-6a.d: Likewise.
708         * ld-x86-64/pr13082-6b.d: Likewise.
709
710 2012-03-06  Alan Modra  <amodra@gmail.com>
711
712         PR ld/13683
713         * ld-gc/pr13683.d: Allow non-zero top address digit.
714
715 2012-03-05  Hans-Peter Nilsson  <hp@axis.com>
716
717         PR ld/13803
718         * ld-arm/fix-arm1176-off.d, ld-arm/fix-arm1176-on.d: Regexpify
719         address of func_to_branch_to.
720
721 2012-03-01  Hans-Peter Nilsson  <hp@axis.com>
722
723         PR ld/13789
724         * ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE.
725
726 2012-02-25  Walter Lee  <walt@tilera.com>
727
728         * ld-tilegx/reloc-be.d: New.
729         * ld-tilegx/reloc-le.d: New.
730         * ld-tilegx/reloc.d: Delete.
731         * ld-tilegx/tilegx.exp: Test big and little endian.
732
733 2012-02-22  Nick Clifton  <nickc@redhat.com>
734
735         PR ld/13683
736         * ld-gc/pr13683.c: New test source file.
737         * ld-gc/pr13683.d: New test control and output file.
738         * ld-gc/gc.exp: Run the pr13683 test.
739
740         * ld-cris/tls-gc-68: Update expected symbol table dump.
741         * ld-cris/tls-gc-69: Likewise.
742         * ld-cris/tls-gc-70: Likewise.
743         * ld-cris/tls-gc-71: Likewise.
744         * ld-cris/tls-gc-75: Likewise.
745         * ld-cris/tls-gc-76.d: Likewise.
746         * ld-cris/tls-gc-79.d: Likewise.
747
748 2012-02-20  Thomas Schwinge <thomas@schwinge.name>
749
750         * ld-elf/comm-data.exp: Run for *-*-gnu*.
751
752 2012-02-14  Alan Modra  <amodra@gmail.com>
753
754         * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux.
755         * ld-elf/pr11304a.s: Always have whitespace before directives.
756         * ld-elf/pr11304b.s: Likewise.
757         * ld-selective/selective.exp: Test m68hc1* variant of m6811, m6812.
758         * lib/ld-lib.exp: Likewise, and vice versa.
759
760 2012-02-13  Richard Henderson  <rth@redhat.com>
761
762         PR ld/13621
763         * ld-elf/warn2.d: Expect ABS section for Foo.
764         * ld-elf/zerosize1.d, ld-elf/zerosize1.s: New test.
765
766 2012-02-13  Alan Modra  <amodra@gmail.com>
767
768         * ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
769         * ld-m68hc11/adj-brset.d: Remove redundant #target line.  Add
770         -m m68hc11elf to ld invocation.
771         * ld-m68hc11/adj-jump.d: Likewise.
772         * ld-m68hc11/bug-1403.d: Likewise.
773         * ld-m68hc11/bug-1417.d: Likewise.
774         * ld-m68hc11/bug-3331.d: Likewise.
775         * ld-m68hc11/relax-direct.d: Likewise.
776         * ld-m68hc11/relax-group.d: Likewise.
777         * ld-m68hc11/far-hc11.d: Remove redundant #target line.  Adjust for
778         changed addresses.
779         * ld-m68hc11/far-hc12.d: Remove redundant #target line.
780         * ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
781
782 2012-02-09  H.J. Lu  <hongjiu.lu@intel.com>
783
784         PR ld/13675
785         * ld-i386/tlsnopic.dd: Update no-op padding.
786         * ld-i386/tlspic.dd: Likewise.
787
788 2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>
789
790         PR ld/13616
791         * ld-i386/tlsbindesc.dd: Update no-op padding.
792         * ld-i386/tlsnopic.dd: Likewise.
793         * ld-i386/tlspic.dd: Likewise.
794         * ld-x86-64/tlsbin.dd: Likewise.
795         * ld-x86-64/tlsbindesc.dd: Likewise.
796         * ld-x86-64/tlspic.dd: Likewise.
797
798 2012-01-17  Alan Modra  <amodra@gmail.com>
799
800         * config/default.exp: Provide tmpdir/ld/collect-ld.
801
802 2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>
803
804         PR ld/13581
805         * ld-x86-64/ilp32-4.s: New.
806         * ld-x86-64/ilp32-10.d: Likewise.
807         * ld-x86-64/ilp32-10.s: Likewise.
808
809         * ld-x86-64/ilp32-4.d: Adjusted.
810         * ld-x86-64/ilp32-5.d: Likewise.
811         * ld-x86-64/ilp32-5.s: Likewise.
812
813         * ld-x86-64/x86-64.exp: Run ilp32-10.
814
815 2012-01-05  Nick Clifton  <nickc@redhat.com>
816
817         * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit and
818         64-bit objects when the 32-bit object (loaded first) contains 32+
819         local symbols, all referenced by relocs and the 64-bit object
820         contains a reloc that uses a symbol in the 32-bit object.
821         * 32bit.s: New source file.
822         * 64bit.s: New source file.
823         * incompatible.l: New expected linker output file.
824
825 For older changes see ChangeLog-2011
826 \f
827 Local Variables:
828 mode: change-log
829 left-margin: 8
830 fill-column: 74
831 version-control: never
832 End: