ld/testsuite/
[external/binutils.git] / ld / testsuite / ChangeLog
1 2012-12-17  Roland McGrath  <mcgrathr@google.com>
2
3         * ld-elf/elf.exp (stack exec, stack size): Run for *-*-nacl* targets.
4         * ld-i386/export-class.exp: Run for i?86-*-nacl* targets.
5
6 2012-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7
8         * ld-elf/var1.d: Remove the leading zero.
9
10 2012-12-17  Nick Clifton  <nickc@redhat.com>
11
12         * ld-elf/frame.exp: Add copyright notice.
13         * ld-scripts/section-flags.exp: Likewise.
14         * ld-scripts/size-2.d: Likewise.
15         * ld-tic6x/tic6x.exp: Likewise.
16
17 2012-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18
19         PR ld/14962
20         * ld-elf/var1.d: New file.
21         * ld-elf/var1.s: Likewise.
22         * ld-elf/var1.t: Likewise.
23
24 2012-12-16  H.J. Lu  <hongjiu.lu@intel.com>
25
26         PR ld/14968
27         * ld-ifunc/ifunc-18a-i386.d: New file.
28         * ld-ifunc/ifunc-18a-x86-64.d: Likewise.
29         * ld-ifunc/ifunc-18a.s: Likewise.
30         * ld-ifunc/ifunc-18b-i386.d: Likewise.
31         * ld-ifunc/ifunc-18b-x86-64.d: Likewise.
32         * ld-ifunc/ifunc-18b.s: Likewise.
33         * ld-ifunc/ifunc-19a-i386.d: Likewise.
34         * ld-ifunc/ifunc-19a-x86-64.d: Likewise.
35         * ld-ifunc/ifunc-19a.s: Likewise.
36         * ld-ifunc/ifunc-19b-i386.d: Likewise.
37         * ld-ifunc/ifunc-19b-x86-64.d: Likewise.
38         * ld-ifunc/ifunc-19b.s: Likewise.
39
40 2012-12-15  Thomas Schwinge  <thomas@codesourcery.com>
41
42         * ld-elf/elf.exp (stack exec, stack size): Run for any GNU target.
43         * ld-elf/maxpage3c.d: Run for any x86 GNU target.
44         * ld-elf/maxpage4.d: Likewise.
45         * ld-elf/maxpage5.d: Likewise.
46         * ld-i386/export-class.exp: Likewise.
47
48 2012-12-14  Yufeng Zhang  <yufeng.zhang@arm.com>
49
50         * ld-elf/indirect.exp: Disable if -shared is not supported.
51         * lib/ld-lib.exp (check_shared_lib_support): Add aarch64*-*-elf and
52         arm*-*-elf to the exclude list.
53
54 2012-12-13  H.J. Lu  <hongjiu.lu@intel.com>
55
56         PR ld/14956
57         * ld-ifunc/ifunc-14-i386.d: Renamed to ...
58         * ld-ifunc/ifunc-14a-i386.d: This.
59
60         * ld-ifunc/ifunc-14-x86-64.d: Renamed to ...
61         * ld-ifunc/ifunc-14a-x86-64.d: This.
62
63         * ld-ifunc/ifunc-14b-i386.d: New file.
64         * ld-ifunc/ifunc-14b-x86-64.d: Likewise.
65         * ld-ifunc/ifunc-14c-i386.d: Likewise.
66         * ld-ifunc/ifunc-14c-x86-64.d: Likewise.
67         * ld-ifunc/ifunc-14d-i386.d: Likewise.
68         * ld-ifunc/ifunc-14d-x86-64.d: Likewise.
69
70 2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
71
72         * ld-elf/pr14926.d: Use "readelf -S --wide".
73
74 2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
75
76         PR ld/12248
77         PR ld/12277
78         PR ld/12314
79         PR ld/12319
80         PR ld/12364
81         PR ld/12369
82         PR ld/12439
83         PR ld/12496
84         PR ld/12507
85         PR ld/12696
86         PR ld/12758
87         PR ld/12760
88         PR ld/12942
89         PR ld/12975
90         PR ld/13066
91         PR ld/13183
92         PR ld/13201
93         PR ld/13229
94         PR ld/13244
95         PR ld/13287
96         * ld-plugin/dummy.c: New file.
97         * ld-plugin/dummy.s: Likewise.
98         * ld-plugin/lto-11.out: Likewise.
99         * ld-plugin/lto-11a.c: Likewise.
100         * ld-plugin/lto-11b.c: Likewise.
101         * ld-plugin/lto-11c.c: Likewise.
102         * ld-plugin/lto-12.out: Likewise.
103         * ld-plugin/lto-12a.c: Likewise.
104         * ld-plugin/lto-12b.c: Likewise.
105         * ld-plugin/lto-12c.c: Likewise.
106         * ld-plugin/lto-13.out: Likewise.
107         * ld-plugin/lto-13a.c: Likewise.
108         * ld-plugin/lto-13b.c: Likewise.
109         * ld-plugin/lto-13c.c: Likewise.
110         * ld-plugin/lto-14.out: Likewise.
111         * ld-plugin/lto-14a.c: Likewise.
112         * ld-plugin/lto-14b.c: Likewise.
113         * ld-plugin/lto-14c.c: Likewise.
114         * ld-plugin/lto-15.out: Likewise.
115         * ld-plugin/lto-15a.c: Likewise.
116         * ld-plugin/lto-15b.c: Likewise.
117         * ld-plugin/lto-16a.c: Likewise.
118         * ld-plugin/lto-16a.d: Likewise.
119         * ld-plugin/lto-16b.c: Likewise.
120         * ld-plugin/lto-16b.d: Likewise.
121         * ld-plugin/lto-17a.c: Likewise.
122         * ld-plugin/lto-17a.d: Likewise.
123         * ld-plugin/lto-17b-1.d: Likewise.
124         * ld-plugin/lto-17b-2.d: Likewise.
125         * ld-plugin/lto-17b.c: Likewise.
126         * ld-plugin/lto-1a.c: Likewise.
127         * ld-plugin/lto-1b.c: Likewise.
128         * ld-plugin/lto-2.c: Likewise.
129         * ld-plugin/lto-3.d: Likewise.
130         * ld-plugin/lto-3.out: Likewise.
131         * ld-plugin/lto-3a.c: Likewise.
132         * ld-plugin/lto-3b.c: Likewise.
133         * ld-plugin/lto-3c.c: Likewise.
134         * ld-plugin/lto-3r.d: Likewise.
135         * ld-plugin/lto-5.d: Likewise.
136         * ld-plugin/lto-5.out: Likewise.
137         * ld-plugin/lto-5a.c: Likewise.
138         * ld-plugin/lto-5b.c: Likewise.
139         * ld-plugin/lto-5r.d: Likewise.
140         * ld-plugin/lto-6.c: Likewise.
141         * ld-plugin/lto-7.out: Likewise.
142         * ld-plugin/lto-7a.c: Likewise.
143         * ld-plugin/lto-7b.c: Likewise.
144         * ld-plugin/lto-7c.c: Likewise.
145         * ld-plugin/lto-7d.c: Likewise.
146         * ld-plugin/lto-8.out: Likewise.
147         * ld-plugin/lto-8a.c: Likewise.
148         * ld-plugin/lto-8b.c: Likewise.
149         * ld-plugin/lto-9.cc: Likewise.
150         * ld-plugin/lto-9.d: Likewise.
151         * ld-plugin/lto.exp: Likewise.
152         * ld-plugin/pr12696-1.cc: Likewise.
153         * ld-plugin/pr12758a.s: Likewise.
154         * ld-plugin/pr12758b.c: Likewise.
155         * ld-plugin/pr12760a.c: Likewise.
156         * ld-plugin/pr12760b.c: Likewise.
157         * ld-plugin/pr12942.out: Likewise.
158         * ld-plugin/pr12942a.cc: Likewise.
159         * ld-plugin/pr12942a.h: Likewise.
160         * ld-plugin/pr12942b.cc: Likewise.
161         * ld-plugin/pr12942c.cc: Likewise.
162         * ld-plugin/pr12975.c: Likewise.
163         * ld-plugin/pr12975.d: Likewise.
164         * ld-plugin/pr12975.t: Likewise.
165         * ld-plugin/pr12982.c: Likewise.
166         * ld-plugin/pr12982.d: Likewise.
167         * ld-plugin/pr13066.cc: Likewise.
168         * ld-plugin/pr13066.out: Likewise.
169         * ld-plugin/pr13183.d: Likewise.
170         * ld-plugin/pr13183a.c: Likewise.
171         * ld-plugin/pr13183b.c: Likewise.
172         * ld-plugin/pr13201.c: Likewise.
173         * ld-plugin/pr13201.out: Likewise.
174         * ld-plugin/pr13229.cc: Likewise.
175         * ld-plugin/pr13229.d: Likewise.
176         * ld-plugin/pr13244.c: Likewise.
177         * ld-plugin/pr13244.d: Likewise.
178         * ld-plugin/pr13287.cc: Likewise.
179         * ld-plugin/run-ie.c: Likewise.
180         * ld-plugin/run-ie.out: Likewise.
181
182 2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
183
184         * ld-plugin/func1p.c: New file.
185         * ld-plugin/func2i.c: Likewise.
186         * ld-plugin/func3h.c: Likewise.
187
188         * ld-plugin/plugin.exp (plugin_extra_elf_tests): Add plugin
189         visibility test.
190
191 2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
192
193         * lib/ld-lib.exp (check_lto_available): New.  Check if compiler
194         supports LTO.
195
196 2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
197
198         * lib/ld-lib.exp (run_cc_link_tests): Properly check linker
199         warnings.
200
201 2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
202
203         * lib/ld-lib.exp (ar_simple_create): Pass -rc to ar.
204
205 2012-12-07  H.J. Lu  <hongjiu.lu@intel.com>
206
207         PR ld/14926
208         * ld-elf/pr14926.d: New file.
209         * ld-elf/pr14926.s: Likewise.
210
211 2012-12-07  Alan Modra  <amodra@gmail.com>
212
213         * ld-elf/comm-data.exp: Revert last change.
214         * ld-elf/comm-data5.d: xfail frv-linux.
215
216 2012-12-07  Alan Modra  <amodra@gmail.com>
217
218         * ld-elf/shared.exp (libneeded1a.so): Override any system
219         supplied --as-needed or --add-needed flag.
220
221 2012-12-05  H.J. Lu  <hongjiu.lu@intel.com>
222
223         PR ld/14915
224         * ld-elf/shared.exp (build_tests): Test --add-needed,
225         --copy-dt-needed-entries, --no-add-needed and
226         --no-copy-dt-needed-entries with -shared.
227         Add tests for --no-add-needed and --no-copy-dt-needed-entries
228         with -shared.
229
230 2012-12-06  Alan Modra  <amodra@gmail.com>
231
232         * ld-elf/comm-data4.d, ld-elf/comm-data4.s: New test.
233         * ld-elf/comm-data5.d, ld-elf/comm-data5.s: New test.
234         * ld-elf/comm-data.exp: Run them.
235
236 2012-12-04  H.J. Lu  <hongjiu.lu@intel.com>
237
238         * ld-elf/shared.exp (build_tests): Build libneeded1b.so,
239         libneeded1a.so and libneeded1c.o.
240         (run_tests): Test --add-needed and --copy-dt-needed-entries.
241         Add tests for --no-add-needed and --no-copy-dt-needed-entries.
242
243         * ld-elf/needed1.out: New file.
244         * ld-elf/needed1a.c: Likewise.
245         * ld-elf/needed1b.c: Likewise.
246         * ld-elf/needed1c.c: Likewise.
247
248 2012-12-03  Maciej W. Rozycki  <macro@codesourcery.com>
249
250         * ld-mips-elf/attr-gnu-4-45.d: Add missing "readelf" keyword.
251         Update dump according to current output.
252
253 2012-12-03  Maciej W. Rozycki  <macro@codesourcery.com>
254
255         * ld-mips-elf/attr-gnu-4-12.d: Update the warning message.
256         * ld-mips-elf/attr-gnu-4-13.d: Likewise.
257         * ld-mips-elf/attr-gnu-4-14.d: Likewise.
258         * ld-mips-elf/attr-gnu-4-15.d: Likewise.
259         * ld-mips-elf/attr-gnu-4-21.d: Likewise.
260         * ld-mips-elf/attr-gnu-4-23.d: Likewise.
261         * ld-mips-elf/attr-gnu-4-24.d: Likewise.
262         * ld-mips-elf/attr-gnu-4-25.d: Likewise.
263         * ld-mips-elf/attr-gnu-4-31.d: Likewise.
264         * ld-mips-elf/attr-gnu-4-32.d: Likewise.
265         * ld-mips-elf/attr-gnu-4-34.d: Likewise.
266         * ld-mips-elf/attr-gnu-4-35.d: Likewise.
267         * ld-mips-elf/attr-gnu-4-41.d: Likewise.
268         * ld-mips-elf/attr-gnu-4-42.d: Likewise.
269         * ld-mips-elf/attr-gnu-4-43.d: Likewise.
270         * ld-mips-elf/attr-gnu-4-45.d: Likewise.
271         * ld-mips-elf/attr-gnu-4-51.d: Likewise.
272
273 2012-12-03  Maciej W. Rozycki  <macro@codesourcery.com>
274
275         * ld-mips-elf/attr-gnu-4-12.d: Adjust the warning expected
276         according to changes to BFD.
277         * ld-mips-elf/attr-gnu-4-14.d: Likewise.
278         * ld-mips-elf/attr-gnu-4-31.d: Likewise.
279         * ld-mips-elf/attr-gnu-4-32.d: Likewise.
280         * ld-mips-elf/attr-gnu-4-34.d: Likewise.
281         * ld-mips-elf/attr-gnu-4-41.d: Likewise.
282
283 2012-12-03  H.J. Lu  <hongjiu.lu@intel.com>
284
285         PR ld/14904
286         * ld-plugin/plugin-2.d: Update expected error message.
287         * ld-plugin/plugin-4.d: Likewise.
288
289 2012-11-30  Roland McGrath  <mcgrathr@google.com>
290
291         * ld-elf/ehdr_start.s: Put reference in .rodata section, not .data.
292
293 2012-11-27  Roland McGrath  <mcgrathr@google.com>
294
295         * ld-elf/flags1.d: Add *-*-nacl* to xfail list.
296         * ld-elf/orphan-region.d: Likewise.
297
298 2012-11-27  Roland McGrath  <mcgrathr@google.com>
299
300         * ld-elf/compress.exp: Bail out if zlib is not supported.
301         * lib/ld-lib.exp (run_dump_test): If as options include
302         --compress-debug-sections and zlib is not available, report
303         the test as unsupported.
304
305 2012-11-23  Alan Modra  <amodra@gmail.com>
306
307         * ld-powerpc/plt1.d: Update for default "at" branch hints.
308         * ld-powerpc/tlsexe.d: Likewise.
309         * ld-powerpc/tlsexetoc.d: Likewise.
310         * ld-powerpc/tlsopt1.d: Likewise.
311         * ld-powerpc/tlsopt1_32.d: Likewise.
312         * ld-powerpc/tlsopt2.d: Likewise.
313         * ld-powerpc/tlsopt2_32.d: Likewise.
314         * ld-powerpc/tlsopt4.d: Likewise.
315         * ld-powerpc/tlsopt4_32.d: Likewise.
316         * ld-powerpc/tlsso.d: Likewise.
317         * ld-powerpc/tlstocso.d: Likewise.
318
319 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
320
321         PR binutils/14493
322         * ld-elf/maxpage5.d: New file.
323         * ld-elf/maxpage5.s: Likewise.
324         * ld-elf/maxpage5.t: Likewise.
325
326 2012-11-21  Roland McGrath  <mcgrathr@google.com>
327
328         * ld-elf/comm-data.exp: Add XFAIL for arm*-*-* targets, referring
329         to PR ld/13802.
330
331 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
332
333         * ld-elf/discard1.d: Run on x86_64-*-linux-gnu*.
334         * ld-elf/discard2.d: Likewise.
335         * ld-elf/discard3.d: Likewise.
336         * ld-elf/eh6.d: Likewise.
337         * ld-elf/maxpage3c.d: Run on i?86-*-linux-gnu.
338         * ld-elf/maxpage4.d: Likewise.
339
340 2012-11-20  H.J. Lu  <hongjiu.lu@intel.com>
341
342         PR ld/14862
343         * ld-elf/shared.exp (build_tests): Build libpr14862-1.o and
344         libpr14862.so.
345         (run_tests): Test pr14862.
346
347         * ld-elf/pr14862-1.c: New file.
348         * ld-elf/pr14862-2.c: Likewise.
349         * ld-elf/pr14862.map: Likewise.
350         * ld-elf/pr14862.out: Likewise.
351
352 2012-11-20  H.J. Lu  <hongjiu.lu@intel.com>
353
354         * ld-elf/global1.d: New file.
355
356 2012-11-07  James Murray   <jsm@jsm-net.demon.co.uk>
357
358         * ld-m68hc11/movw.d: New test for 16bit relocate.
359         * ld-m68hc11/movw.s: Source for test.
360
361 2012-10-30  Steve McIntyre   <steve.mcintyre@linaro.org>
362
363         * ld-arm/eabi-hard-float.s: New test source.
364         * ld-arm/eabi-soft-float.s: New test source.
365         * ld-arm/eabi-hard-float.d: New test.
366         * ld-arm/eabi-soft-float.d: New test.
367         * ld-arm/eabi-soft-float-ABI4.d: New test.
368         * ld-arm/eabi-soft-float-r.d: New test.
369         * ld-arm/arm-elf.xp: Use the new tests.
370
371 2012-10-29  Alan Modra  <amodra@gmail.com>
372
373         * ld-powerpc/powerpc.exp: Modify emulation option passed to ld
374         when little-endian.
375         * ld-powerpc/apuinfo-nul.rd: Update for le output.
376         * ld-powerpc/apuinfo.rd: Likewise.
377         * ld-powerpc/plt1.d: Likewise.
378         * ld-powerpc/relax.d: Likewise.
379         * ld-powerpc/relaxr.d: Likewise.
380         * ld-powerpc/sdadyn.d: Likewise.
381         * ld-powerpc/tls.d: Likewise.
382         * ld-powerpc/tls.g: Likewise.
383         * ld-powerpc/tls.t: Likewise.
384         * ld-powerpc/tls32.d: Likewise.
385         * ld-powerpc/tls32.g: Likewise.
386         * ld-powerpc/tls32.t: Likewise.
387         * ld-powerpc/tlsexe.d: Likewise.
388         * ld-powerpc/tlsexe.g: Likewise.
389         * ld-powerpc/tlsexe.r: Likewise.
390         * ld-powerpc/tlsexe.t: Likewise.
391         * ld-powerpc/tlsexe32.d: Likewise.
392         * ld-powerpc/tlsexe32.g: Likewise.
393         * ld-powerpc/tlsexe32.r: Likewise.
394         * ld-powerpc/tlsexe32.t: Likewise.
395         * ld-powerpc/tlsexetoc.d: Likewise.
396         * ld-powerpc/tlsexetoc.g: Likewise.
397         * ld-powerpc/tlsexetoc.r: Likewise.
398         * ld-powerpc/tlsexetoc.t: Likewise.
399         * ld-powerpc/tlsmark.d: Likewise.
400         * ld-powerpc/tlsmark32.d: Likewise.
401         * ld-powerpc/tlsopt1.d: Likewise.
402         * ld-powerpc/tlsopt1_32.d: Likewise.
403         * ld-powerpc/tlsopt2.d: Likewise.
404         * ld-powerpc/tlsopt2_32.d: Likewise.
405         * ld-powerpc/tlsopt3.d: Likewise.
406         * ld-powerpc/tlsopt3_32.d: Likewise.
407         * ld-powerpc/tlsopt4.d: Likewise.
408         * ld-powerpc/tlsopt4_32.d: Likewise.
409         * ld-powerpc/tlsso.d: Likewise.
410         * ld-powerpc/tlsso.g: Likewise.
411         * ld-powerpc/tlsso.r: Likewise.
412         * ld-powerpc/tlsso.t: Likewise.
413         * ld-powerpc/tlsso32.d: Likewise.
414         * ld-powerpc/tlsso32.g: Likewise.
415         * ld-powerpc/tlsso32.r: Likewise.
416         * ld-powerpc/tlsso32.t: Likewise.
417         * ld-powerpc/tlstoc.d: Likewise.
418         * ld-powerpc/tlstoc.g: Likewise.
419         * ld-powerpc/tlstoc.t: Likewise.
420         * ld-powerpc/tlstocso.d: Likewise.
421         * ld-powerpc/tlstocso.g: Likewise.
422         * ld-powerpc/tlstocso.t: Likewise.
423         * ld-powerpc/tocopt.out: Likewise.
424
425 2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
426
427         * ld-elfvsb/main.c (main_visibility_checkcom): Remove address
428         check for visibility_def if HIDDEN_UNDEF_TEST is defined.
429         (main_visibility_checkweak): Remove address check for
430         visibility_func if HIDDEN_UNDEF_TEST is defined.
431
432 2012-10-25  Nathan Sidwell  <nathan@codesourcery.com>
433
434         * ld-scripts/empty-aligned.d: Revert last change.  Allow more
435         than one header, just not two PT_LOAD.
436         * ld-elf/stack.s: Use .long 0 rather than nops.
437
438 2012-10-23  Nathan Sidwell  <nathan@codesourcery.com>
439
440         * ld-elf/binutils.exp: Add -z stack-size=0.
441         * ld-elf/elf.exp: Add stack-exec and stack-size tests.
442         * ld-elf/orphan-region.d: Add stack-size option. Remove xfail.
443         * ld-elf/stack-exec.rd: New.
444         * ld-elf/stack-size.rd: New.
445         * ld-elf/stack.s: New.
446         * ld-scripts/empty-aligned.d: Add stack-size option.
447         * ld-sh/fdpic-stack-set.d: New.
448         * ld-tic6x/shlib-1.rd: Remove __stacksize symbol.
449         * ld-tic6x/shlib-1b.rd: Likewise.
450         * ld-tic6x/shlib-1r.rd: Likewise.
451         * ld-tic6x/shlib-1rb.rd: Likewise.
452         * ld-tic6x/shlib-app-1.rd: Likewise.
453         * ld-tic6x/shlib-app-1b.rd: Likewise.
454         * ld-tic6x/shlib-app-1r.rd: Likewise.
455         * ld-tic6x/shlib-app-1rb.rd: Likewise.
456         * ld-tic6x/shlib-noindex.rd: Likewise.
457         * ld-tic6x/static-app-1.rd: Likewise.
458         * ld-tic6x/static-app-1b.rd: Likewise.
459         * ld-tic6x/static-app-1r.rd: Likewise.
460         * ld-tic6x/static-app-1rb.rd: Likewise.
461
462 2012-10-16  Sofiane Naci  <sofiane.naci@arm.com>
463
464         * ld-aarch64/tlsle-symbol-offset.s: New file.
465         * ld-aarch64/tlsle-symbol-offset.d: New file.
466         * ld-aarch64/aarch64-elf.exp: Add tlsle-symbol-offset test.
467
468 2012-10-08  Joe Seymour  <jseymour@codesourcery.com>
469
470         * ld-scripts/sane1.d: Sort output from nm. Allow for other symbols in
471         output.
472
473 2012-09-19  Chris Schlumberger-Socha  <chris.schlumberger-socha@arm.com>
474
475         * ld-aarch64/emit-relocs-309-low.d: Replace symbol with regexp.
476         * ld-aarch64/emit-relocs-309-up.d: Likewise.
477
478 2012-09-19  Andrew Burgess  <aburgess@broadcom.com>
479
480         * ld-scripts/assign-loc.d: New file.  Test for assigning absolute
481         symbol to location counter.
482         * ld-scripts/assign-loc.t: New file.  Linker script for above test.
483         * ld-scripts/expr.exp: Add new assignment test.
484
485 2012-09-18  H.J. Lu  <hongjiu.lu@intel.com>
486
487         PR ld/14591
488         * ld-elf/comm-data.exp (run_ld_link_tests): Add comm-data3a and
489         comm-data3b tests.
490
491         * ld-ifunc/ifunc.exp (run_ld_link_exec_tests): New.
492
493         * ld-elf/comm-data3.sd: New file.
494         * ld-elf/comm-data3a.s: Likewise.
495         * ld-elf/comm-data3b.s: Likewise.
496         * ld-ifunc/ifunc-17a-i386.d: Likewise.
497         * ld-ifunc/ifunc-17a-x86-64.d: Likewise.
498         * ld-ifunc/ifunc-17a.s: Likewise.
499         * ld-ifunc/ifunc-17b-i386.d: Likewise.
500         * ld-ifunc/ifunc-17b-x86-64.d: Likewise.
501         * ld-ifunc/ifunc-17b.s: Likewise.
502         * ld-ifunc/ifunc-common-1.out: Likewise.
503         * ld-ifunc/ifunc-common-1a.c: Likewise.
504         * ld-ifunc/ifunc-common-1b.c: Likewise.
505
506 2012-09-17  H.J. Lu  <hongjiu.lu@intel.com>
507
508         * ld-elf/shared.exp (build_cxx_tests): Move out the commented out
509         test.
510
511         * lib/ld-lib.exp (run_ld_link_exec_tests): Assemble all sources
512         files in each test.
513
514 2012-09-12  Chris Schlumberger-Socha  <chris.schlumberger-socha@arm.com>
515
516         * ld-aarch64/aarch64-elf.exp: New reloc tests.
517         * ld-aarch64/emit-relocs-309-low-bad.d: New file. Expected asm for test
518         failure (lower bound overflow).
519         * ld-aarch64/emit-relocs-309-low.d: New file. Expected asm for test
520         success (lower bound).
521         * ld-aarch64/emit-relocs-309-up-bad.d: New file. Expected asm for test
522         failure (upper bound overflow).
523         * ld-aarch64/emit-relocs-309-up.d: New file. Expected asm for test
524         success (upper bound).
525         * ld-aarch64/emit-relocs-309.s: New file. Asm for new reloc tests.
526
527 2012-09-09  Hans-Peter Nilsson  <hp@bitrange.com>
528
529         * ld-mmix/sec-1.d, ld-mmix/sec-3.d: Force end-of-section symbols
530         to be emitted and checked.
531         * ld-mmix/data-1.s, ld-mmix/orph-.d, ld-mmix/orph-awp.d,
532         ld-mmix/orph-d-a.d, ld-mmix/orph-d-awn.d, ld-mmix/orph-d-awp.d,
533         ld-mmix/orph-d-awpe.d, ld-mmix/orph-d.d, ld-mmix/orph-dc-ap.d,
534         ld-mmix/orph-dc-awp.d, ld-mmix/orph-dc.d, ld-mmix/tm-ae.s,
535         ld-mmix/tm-ape.s, ld-mmix/tm-awne.s, ld-mmix/tm-awpe.s,
536         ld-mmix/tm-d-ap.s, ld-mmix/tm-d-awp.s, ld-mmix/tm-d.s,
537         ld-mmix/tm-e.s, ld-mmix/tm-orph1.s: New test files.
538
539 2012-08-31  H.J. Lu  <hongjiu.lu@intel.com>
540
541         * ld-i386/i386.exp: Run mov1a, mov1b.
542         * ld-x86-64/x86-64.exp: Run mov1a, mov1b, mov1c, mov1d.
543
544         * ld-i386/mov1.s: New file.
545         * ld-i386/mov1a.d: Likewise.
546         * ld-i386/mov1b.d: Likewise.
547         * ld-x86-64/mov1.s: Likewise.
548         * ld-x86-64/mov1a.d: Likewise.
549         * ld-x86-64/mov1b.d: Likewise.
550         * ld-x86-64/mov1c.d: Likewise.
551         * ld-x86-64/mov1d.d: Likewise.
552
553 2012-08-31  H.J. Lu  <hongjiu.lu@intel.com>
554
555         * ld-i386/i386.exp: Run lea1d, lea1f, lea1f.
556         * ld-x86-64/x86-64.exp: Run lea1g, lea1h, lea1i, lea1j, lea1k,
557         lea1l.
558
559         * ld-ifunc/ifunc-13-i386.d: Remove R_386_RELATIVE entry.
560
561         * ld-i386/lea1d.d: New file.
562         * ld-i386/lea1e.d: Likewise.
563         * ld-i386/lea1f.d: Likewise.
564         * ld-x86-64/lea1g.d: Likewise.
565         * ld-x86-64/lea1h.d: Likewise.
566         * ld-x86-64/lea1i.d: Likewise.
567         * ld-x86-64/lea1j.d: Likewise.
568         * ld-x86-64/lea1k.d: Likewise.
569         * ld-x86-64/lea1l.d: Likewise.
570
571 2012-08-30  H.J. Lu  <hongjiu.lu@intel.com>
572
573         * ld-i386/i386.exp: Run lea1a, lea1b, lea1c.
574         * ld-x86-64/x86-64.exp: Run lea1a, lea1b, lea1c, lea1d, lea1e,
575         lea1f.
576
577         * ld-i386/lea1.s: New file.
578         * ld-i386/lea1a.d: Likewise.
579         * ld-i386/lea1b.d: Likewise.
580         * ld-i386/lea1c.d: Likewise.
581         * ld-x86-64/lea1.s: Likewise.
582         * ld-x86-64/lea1a.d: Likewise.
583         * ld-x86-64/lea1b.d: Likewise.
584         * ld-x86-64/lea1c.d: Likewise.
585         * ld-x86-64/lea1d.d: Likewise.
586         * ld-x86-64/lea1e.d: Likewise.
587         * ld-x86-64/lea1f.d: Likewise.
588
589 2012-08-30  H.J. Lu  <hongjiu.lu@intel.com>
590
591         PR ld/14525
592         * ld-elf/elf.exp: Run pr14525.
593
594         * ld-elf/pr14525.c: New.
595         * ld-elf/pr14525.out: Likewise.
596
597 2012-08-28  Maciej W. Rozycki  <macro@codesourcery.com>
598
599         * ld-elf/export-class.sd: New test.
600         * ld-elf/export-class.vd: New test.
601         * ld-elf/export-class-def.s: New test source.
602         * ld-elf/export-class-dep.s: New test source.
603         * ld-elf/export-class-lib.s: New test source.
604         * ld-elf/export-class-ref.s: New test source.
605         * ld-elf/export-class-lib.ver: New test version script.
606         * ld-elf/export-class.exp: New test script.
607         * ld-arm/arm-export-class.rd: New test.
608         * ld-arm/arm-export-class.xd: New test.
609         * ld-arm/export-class.exp: New test script.
610         * ld-i386/i386-export-class.rd: New test.
611         * ld-i386/i386-export-class.xd: New test.
612         * ld-i386/export-class.exp: New test script.
613         * ld-mips-elf/mips-32-export-class.rd: New test.
614         * ld-mips-elf/mips-32-export-class.xd: New test.
615         * ld-mips-elf/mips-64-export-class.rd: New test.
616         * ld-mips-elf/mips-64-export-class.xd: New test.
617         * ld-mips-elf/export-class.exp: New test script.
618         * ld-powerpc/powerpc-32-export-class.rd: New test.
619         * ld-powerpc/powerpc-32-export-class.xd: New test.
620         * ld-powerpc/powerpc-64-export-class.rd: New test.
621         * ld-powerpc/powerpc-64-export-class.xd: New test.
622         * ld-powerpc/export-class.exp: New test script.
623         * ld-x86-64/x86-64-64-export-class.rd: New test.
624         * ld-x86-64/x86-64-x32-export-class.rd: New test.
625         * ld-x86-64/export-class.exp: New test script.
626
627 2012-08-24  H.J. Lu  <hongjiu.lu@intel.com>
628
629         * ld-elf/exclude3a.d: Remove target and use failif.
630
631         * ld-elf/exclude3b.d: Change target to *-*-linux* *-*-gnu* and
632         use failif
633
634         * ld-elf/exclude3d.d: Removed.
635
636 2012-08-24  H.J. Lu  <hongjiu.lu@intel.com>
637
638         * ld-elf/elf.exp: Add Solaris/x86-64 support to eh[1-4] test.
639
640 2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
641
642         * ld-arm/arm-elf.exp: Add new testcases.
643         * ld-arm/attr-merge-vfp-3.d: Update for change in expected
644         output.
645         * ld-arm/attr-merge-vfp-3r.d: Likewise.
646         * ld-arm/attr-merge-vfp-4.d: Likewise.
647         * ld-arm/attr-merge-vfp-4r.d: Likewise.
648         * ld-arm/attr-merge-vfp-5.d: Likewise.
649         * ld-arm/attr-merge-vfp-5r.d: Likewise.
650         * ld-arm/attr-merge-vfp-7.d: New testcase.
651         * ld-arm/attr-merge-vfp-7r.d: Likewise.
652         * ld-arm/attr-merge-vfp-armv8-hard.s: Likewise.
653         * ld-arm/attr-merge-vfp-armv8.s: Likewise.
654
655 2012-08-14  Nick Clifton  <nickc@redhat.com>
656
657         PR ld/14265
658         * ld-gc/gc.exp: Add a new test.
659         * ld-gc/pr14265.c: Source file for the new test.
660         * ld-gc/pr14265.t: Linker script for the new test.
661         * ld-gc/pr14265.d: Expected symbol dump.
662
663 2012-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
664
665         * ld-mips-elf/export-class-call16-o32.dd: New test.
666         * ld-mips-elf/export-class-call16-o32-irix.dd: New test.
667         * ld-mips-elf/export-class-call16-o32.gd: New test.
668         * ld-mips-elf/export-class-call16-n32.dd: New test.
669         * ld-mips-elf/export-class-call16-n32.gd: New test.
670         * ld-mips-elf/export-class-call16-n64.dd: New test.
671         * ld-mips-elf/export-class-call16-n64.gd: New test.
672         * ld-mips-elf/export-class-call16-def.s: New test source.
673         * ld-mips-elf/export-class-call16-o32.s: New test source.
674         * ld-mips-elf/export-class-call16-n32.s: New test source.
675         * ld-mips-elf/export-class-call16-n64.s: New test source.
676         * ld-mips-elf/export-class-call16.ld: New test linker script.
677         * ld-mips-elf/mips-elf.exp: Run the new tests.
678
679 2012-08-13  Ian Bolton  <ian.bolton@arm.com>
680             Laurent Desnogues  <laurent.desnogues@arm.com>
681             Jim MacArthur  <jim.macarthur@arm.com>
682             Marcus Shawcroft  <marcus.shawcroft@arm.com>
683             Nigel Stephens  <nigel.stephens@arm.com>
684             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
685             Richard Earnshaw  <rearnsha@arm.com>
686             Sofiane Naci  <sofiane.naci@arm.com>
687             Tejas Belagod  <tejas.belagod@arm.com>
688             Yufeng Zhang  <yufeng.zhang@arm.com>
689
690         * ld-aarch64/aarch64-elf.exp: New file.
691         * ld-aarch64/aarch64.ld: New file.
692         * ld-aarch64/eh-frame-bar.s: New file.
693         * ld-aarch64/eh-frame-foo.s: New file.
694         * ld-aarch64/eh-frame.d: New file.
695         * ld-aarch64/emit-relocs-257-be.d: New file.
696         * ld-aarch64/emit-relocs-257.d: New file.
697         * ld-aarch64/emit-relocs-257.s: New file.
698         * ld-aarch64/emit-relocs-260-be.d: New file.
699         * ld-aarch64/emit-relocs-260.d: New file.
700         * ld-aarch64/emit-relocs-260.s: New file.
701         * ld-aarch64/emit-relocs-262.d: New file.
702         * ld-aarch64/emit-relocs-262.s: New file.
703         * ld-aarch64/emit-relocs-263.d: New file.
704         * ld-aarch64/emit-relocs-263.s: New file.
705         * ld-aarch64/emit-relocs-264.d: New file.
706         * ld-aarch64/emit-relocs-264.s: New file.
707         * ld-aarch64/emit-relocs-265.d: New file.
708         * ld-aarch64/emit-relocs-265.s: New file.
709         * ld-aarch64/emit-relocs-266.d: New file.
710         * ld-aarch64/emit-relocs-266.s: New file.
711         * ld-aarch64/emit-relocs-267.d: New file.
712         * ld-aarch64/emit-relocs-267.s: New file.
713         * ld-aarch64/emit-relocs-268.d: New file.
714         * ld-aarch64/emit-relocs-268.s: New file.
715         * ld-aarch64/emit-relocs-269.d: New file.
716         * ld-aarch64/emit-relocs-269.s: New file.
717         * ld-aarch64/emit-relocs-270-bad.d: New file.
718         * ld-aarch64/emit-relocs-270.d: New file.
719         * ld-aarch64/emit-relocs-270.s: New file.
720         * ld-aarch64/emit-relocs-271.d: New file.
721         * ld-aarch64/emit-relocs-271.s: New file.
722         * ld-aarch64/emit-relocs-272.d: New file.
723         * ld-aarch64/emit-relocs-272.s: New file.
724         * ld-aarch64/emit-relocs-273.d: New file.
725         * ld-aarch64/emit-relocs-273.s: New file.
726         * ld-aarch64/emit-relocs-274.d: New file.
727         * ld-aarch64/emit-relocs-274.s: New file.
728         * ld-aarch64/emit-relocs-275.d: New file.
729         * ld-aarch64/emit-relocs-275.s: New file.
730         * ld-aarch64/emit-relocs-276.d: New file.
731         * ld-aarch64/emit-relocs-276.s: New file.
732         * ld-aarch64/emit-relocs-277.d: New file.
733         * ld-aarch64/emit-relocs-277.s: New file.
734         * ld-aarch64/emit-relocs-278.d: New file.
735         * ld-aarch64/emit-relocs-278.s: New file.
736         * ld-aarch64/emit-relocs-279-bad.d: New file.
737         * ld-aarch64/emit-relocs-279.d: New file.
738         * ld-aarch64/emit-relocs-279.s: New file.
739         * ld-aarch64/emit-relocs-280.d: New file.
740         * ld-aarch64/emit-relocs-280.s: New file.
741         * ld-aarch64/emit-relocs-282.d: New file.
742         * ld-aarch64/emit-relocs-282.s: New file.
743         * ld-aarch64/emit-relocs-283.d: New file.
744         * ld-aarch64/emit-relocs-283.s: New file.
745         * ld-aarch64/emit-relocs-284.d: New file.
746         * ld-aarch64/emit-relocs-284.s: New file.
747         * ld-aarch64/emit-relocs-285.d: New file.
748         * ld-aarch64/emit-relocs-285.s: New file.
749         * ld-aarch64/emit-relocs-286-bad.d: New file.
750         * ld-aarch64/emit-relocs-286.d: New file.
751         * ld-aarch64/emit-relocs-286.s: New file.
752         * ld-aarch64/emit-relocs-287.d: New file.
753         * ld-aarch64/emit-relocs-287.s: New file.
754         * ld-aarch64/emit-relocs-299.d: New file.
755         * ld-aarch64/emit-relocs-299.s: New file.
756         * ld-aarch64/emit-relocs-311.d: New file.
757         * ld-aarch64/emit-relocs-311.s: New file.
758         * ld-aarch64/emit-relocs-312.d: New file.
759         * ld-aarch64/emit-relocs-312.s: New file.
760         * ld-aarch64/emit-relocs1.s: New file.
761         * ld-aarch64/farcall-b-none-function.d: New file.
762         * ld-aarch64/farcall-b-none-function.s: New file.
763         * ld-aarch64/farcall-b.d: New file.
764         * ld-aarch64/farcall-b.s: New file.
765         * ld-aarch64/farcall-back.d: New file.
766         * ld-aarch64/farcall-back.s: New file.
767         * ld-aarch64/farcall-bl-none-function.d: New file.
768         * ld-aarch64/farcall-bl-none-function.s: New file.
769         * ld-aarch64/farcall-bl.d: New file.
770         * ld-aarch64/farcall-bl.s: New file.
771         * ld-aarch64/farcall-section.d: New file.
772         * ld-aarch64/farcall-section.s: New file.
773         * ld-aarch64/limit-b.d: New file.
774         * ld-aarch64/limit-b.s: New file.
775         * ld-aarch64/limit-bl.d: New file.
776         * ld-aarch64/limit-bl.s: New file.
777         * ld-aarch64/relocs.ld: New file.
778         * ld-aarch64/tls-desc-ie.d: New file.
779         * ld-aarch64/tls-desc-ie.s: New file.
780         * ld-aarch64/tls-relax-all.d: New file.
781         * ld-aarch64/tls-relax-all.s: New file.
782         * ld-aarch64/tls-relax-gd-ie.d: New file.
783         * ld-aarch64/tls-relax-gd-ie.s: New file.
784         * ld-aarch64/tls-relax-gd-le.d: New file.
785         * ld-aarch64/tls-relax-gd-le.s: New file.
786         * ld-aarch64/tls-relax-gdesc-ie-2.d: New file.
787         * ld-aarch64/tls-relax-gdesc-ie-2.s: New file.
788         * ld-aarch64/tls-relax-gdesc-ie.d: New file.
789         * ld-aarch64/tls-relax-gdesc-ie.s: New file.
790         * ld-aarch64/tls-relax-gdesc-le-2.d: New file.
791         * ld-aarch64/tls-relax-gdesc-le-2.s: New file.
792         * ld-aarch64/tls-relax-gdesc-le.d: New file.
793         * ld-aarch64/tls-relax-gdesc-le.s: New file.
794         * ld-aarch64/tls-relax-ie-le-2.d: New file.
795         * ld-aarch64/tls-relax-ie-le-2.s: New file.
796         * ld-aarch64/tls-relax-ie-le-3.d: New file.
797         * ld-aarch64/tls-relax-ie-le-3.s: New file.
798         * ld-aarch64/tls-relax-ie-le.d: New file.
799         * ld-aarch64/tls-relax-ie-le.s: New file.
800         * ld-aarch64/weak-undefined.d: New file.
801         * ld-aarch64/weak-undefined.s: New file.
802         * ld-elf/binutils.exp (binutils_test): Add optional parameter
803         'test_name'; change to construct 'test_name' from the 'prog_name'
804         and 'ld_options' only when "$test_name" == "".
805         * ld-elf/group8a.d (#notarget): Add AArch64.
806         * ld-elf/group8b.d (#notarget): Add AArch64.
807         * ld-elf/group9a.d (#notarget): Add AArch64.
808         * ld-elf/group9b.d (#notarget): Add AArch64.
809         * ld-elf/pr12851.d (#notarget): Add AArch64.
810         * ld-elf/pr12975.d (#notarget): Add AArch64.
811         * ld-elf/pr13177.d (#notarget): Add AArch64.
812         * ld-elf/pr13195.d (#notarget): Add AArch64.
813         * ld-elfvers/vers.exp: Add AArch64.
814         * ld-shared/shared.exp: Add AArch64.
815         * ld-srec/srec.exp: Add AArch64.
816         * lib/ld-lib.exp: Add AArch64.
817
818 2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
819
820         * ld-mips-elf/dyn-sec64.ld: Use HIDDEN to define _gp.
821         * ld-mips-elf/eh-frame5.ld: Likewise.
822         * ld-mips-elf/got-dump-1.ld: Likewise.
823         * ld-mips-elf/got-dump-2.ld: Likewise.
824         * ld-mips-elf/got-page-1.ld: Likewise.
825         * ld-mips-elf/mips-dyn.ld: Likewise.
826         * ld-mips-elf/mips-lib.ld: Likewise.
827         * ld-mips-elf/mips16-pic-1.ld: Likewise.
828         * ld-mips-elf/no-shared-1.ld: Likewise.
829         * ld-mips-elf/pic-and-nonpic-1.ld: Likewise.
830         * ld-mips-elf/pic-and-nonpic-3a.ld: Likewise.
831         * ld-mips-elf/pic-and-nonpic-3b.ld: Likewise.
832         * ld-mips-elf/pic-and-nonpic-4b.ld: Likewise.
833         * ld-mips-elf/pic-and-nonpic-5b.ld: Likewise.
834         * ld-mips-elf/pic-and-nonpic-6.ld: Likewise.
835         * ld-mips-elf/reloc-2.ld: Likewise.
836         * ld-mips-elf/reloc-estimate-1.ld: Likewise.
837         * ld-mips-elf/stub-dynsym-1.ld: Likewise.
838         * ld-mips-elf/tls-hidden3.ld: Likewise.
839         * ld-mips-elf/mips16-pic-2.ad: Update accordingly.
840         * ld-mips-elf/pic-and-nonpic-3b.ad: Likewise.
841         * ld-mips-elf/pic-and-nonpic-4b.ad: Likewise.
842         * ld-mips-elf/pic-and-nonpic-5b.ad: Likewise.
843         * ld-mips-elf/pic-and-nonpic-6-n32.ad: Likewise.
844         * ld-mips-elf/pic-and-nonpic-6-n64.ad: Likewise.
845         * ld-mips-elf/pic-and-nonpic-6-o32.ad: Likewise.
846         * ld-mips-elf/eh-frame5.d: Likewise.
847         * ld-mips-elf/tlsdyn-o32-1.d: Likewise.
848         * ld-mips-elf/tlsdyn-o32-2.d: Likewise.
849         * ld-mips-elf/tlsdyn-o32-3.d: Likewise.
850         * ld-mips-elf/tlsdyn-o32.d: Likewise.
851         * ld-mips-elf/pic-and-nonpic-3a.dd: Likewise.
852         * ld-mips-elf/pic-and-nonpic-3b.dd: Likewise.
853         * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise.
854         * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise.
855         * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise.
856         * ld-mips-elf/tls-multi-got-1.got: Likewise.
857         * ld-mips-elf/tlsdyn-o32-1.got: Likewise.
858         * ld-mips-elf/tlsdyn-o32-2.got: Likewise.
859         * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
860         * ld-mips-elf/tlsdyn-o32.got: Likewise.
861         * ld-mips-elf/tlslib-o32-ver.got: Likewise.
862         * ld-mips-elf/tlslib-o32.got: Likewise.
863         * ld-mips-elf/mips16-pic-2.nd: Likewise.
864         * ld-mips-elf/pic-and-nonpic-1.nd: Likewise.
865         * ld-mips-elf/pic-and-nonpic-3b.nd: Likewise.
866         * ld-mips-elf/pic-and-nonpic-4b.nd: Likewise.
867         * ld-mips-elf/pic-and-nonpic-5b.nd: Likewise.
868         * ld-mips-elf/pic-and-nonpic-6-n32.nd: Likewise.
869         * ld-mips-elf/pic-and-nonpic-6-n64.nd: Likewise.
870         * ld-mips-elf/pic-and-nonpic-6-o32.nd: Likewise.
871         * ld-mips-elf/tls-multi-got-1.r: Likewise.
872         * ld-mips-elf/pic-and-nonpic-3b.rd: Likewise.
873         * ld-mips-elf/pic-and-nonpic-4b.rd: Likewise.
874         * ld-mips-elf/mips-elf.exp: Likewise.
875
876 2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
877
878         * ld-mips-elf/gp-hidden.rd: New test.
879         * ld-mips-elf/gp-hidden.sd: New test.
880         * ld-mips-elf/gp-hidden-lib.rd: New test.
881         * ld-mips-elf/gp-hidden-ver.rd: New test.
882         * ld-mips-elf/gp-hidden-64.rd: New test.
883         * ld-mips-elf/gp-hidden-lib-64.rd: New test.
884         * ld-mips-elf/gp-hidden-ver-64.rd: New test.
885         * ld-mips-elf/gp-hidden.s: New test source.
886         * ld-mips-elf/gp-hidden-lib.s: New test source.
887         * ld-mips-elf/gp-hidden-ver.s: New test source.
888         * ld-mips-elf/gp-hidden-ver.ver: New test version script.
889         * ld-mips-elf/mips-elf.exp: Run the new tests.
890
891 2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
892
893         * ld-mips-elf/rel32-o32.d: Adjust section VMAs after the removal
894         of _gp from the global scope.
895         * ld-mips-elf/rel32-n32.d: Likewise.
896         * ld-mips-elf/rel64.d: Likewise.
897
898 2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
899
900         * ld-mips-elf/mips-elf.exp: Set has_newabi for all Linux targets.
901         Adjust abi_asflags for targets that do not infer the ISA from the
902         ABI.
903         * ld-mips-elf/eh-frame1-n32.d: Adjust for targets that do not
904         infer the ISA from the ABI.
905         * ld-mips-elf/eh-frame1-n64.d: Likewise.
906         * ld-mips-elf/eh-frame2-n32.d: Likewise.
907         * ld-mips-elf/eh-frame2-n64.d: Likewise.
908         * ld-mips-elf/elf-rel-got-n32-embed.d: Likewise.
909         * ld-mips-elf/elf-rel-got-n32.d: Likewise.
910         * ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
911         * ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
912         * ld-mips-elf/elf-rel-got-n64.d: Likewise.
913         * ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
914         * ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
915         * ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
916         * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
917         * ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
918         * ld-mips-elf/emit-relocs-1.d: Likewise.
919         * ld-mips-elf/got-page-2.d: Likewise.
920         * ld-mips-elf/no-shared-1-n32.d: Likewise.
921         * ld-mips-elf/no-shared-1-n64.d: Likewise.
922         * ld-mips-elf/rel32-n32.d: Likewise.
923         * ld-mips-elf/rel64.d: Likewise.
924         * ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
925         * ld-mips-elf/relax-jalr-n32.d: Likewise.
926         * ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
927         * ld-mips-elf/relax-jalr-n64.d: Likewise.
928         * ld-mips-elf/reloc-1-n32.d: Likewise.
929         * ld-mips-elf/reloc-1-n64.d: Likewise.
930         * ld-mips-elf/textrel-1.d: Likewise.
931
932 2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
933
934         * ld-mips-elf/reloc-1-n32.d: Add -EB to GAS flags.
935         * ld-mips-elf/mips-elf.exp: Update GAS flags in reloc test 6.
936
937 2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
938
939         * lib/ld-lib.exp (run_dump_test): Implement the EXTRA_OPTIONS
940         argument and the "dump" keyword.
941         * ld-mips-elf/emit-relocs-1a.s: Make section alignment uniform
942         across targets.
943         * ld-mips-elf/emit-relocs-1b.s: Likewise.
944         * ld-mips-elf/jalbal.s: Adjust padding.
945         * ld-mips-elf/elf-rel-got-n32-embed.d: New test.
946         * ld-mips-elf/elf-rel-got-n64-embed.d: New test.
947         * ld-mips-elf/elf-rel-xgot-n32-embed.d: New test.
948         * ld-mips-elf/elf-rel-xgot-n64-embed.d: New test.
949         * ld-mips-elf/elf-rel-got-n32.d: Remove -melf32btsmipn32.
950         * ld-mips-elf/elf-rel-got-n64.d: Remove -melf64btsmip.  Adjust
951         output.
952         * ld-mips-elf/elf-rel-got-n64-linux.d: Remove -melf64btsmip.
953         * ld-mips-elf/elf-rel-xgot-n32.d: Remove -melf32btsmipn32.
954         Adjust output.
955         * ld-mips-elf/elf-rel-xgot-n64.d: Remove -melf64btsmip.  Adjust
956         output.
957         * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
958         * ld-mips-elf/reloc-1-n64.d: Remove -melf64btsmip.
959         * ld-mips-elf/mips-elf.exp: Set has_newabi for mips*-sde-elf*
960         too.  Move tool flags from o32_as_flags and o32_ld_flags
961         variables into abi_asflags and abi_ldflags arrays.  Adjust test
962         cases run to use them.  Run the new tests.
963
964 2012-08-05  Maciej W. Rozycki  <macro@linux-mips.org>
965
966         * ld-vax-elf: New directory.
967         * ld-vax-elf/plt-local-lib.dd: New test.
968         * ld-vax-elf/plt-local-lib.ld: New test linker script.
969         * ld-vax-elf/plt-local-lib.s: New test source.
970         * ld-vax-elf/plt-local.dd: New test.
971         * ld-vax-elf/plt-local.ld: New test linker script.
972         * ld-vax-elf/plt-local.s: New test source.
973         * ld-vax-elf/plt-local-hidden-pic.s: New test source.
974         * ld-vax-elf/plt-local-rehidden-pic.s: New test source.
975         * ld-vax-elf/vax-elf.exp: New test script.
976
977 2012-08-03  Maciej W. Rozycki  <macro@codesourcery.com>
978
979         * lib/ld-lib.exp (at_least_gcc_version): Accept more version
980         number formats; avoid throwing exceptions in any case.
981
982 2012-08-03  Maciej W. Rozycki  <macro@codesourcery.com>
983
984         * ld-mips-elf/mode-change-error-1.d: Update the error message.
985
986 2012-08-02  Maciej W. Rozycki  <macro@codesourcery.com>
987
988         * ld-mips-elf/got-vers-1.rd: Fix a typo.
989
990 2012-08-01  James Lemke  <jwlemke@codesourcery.com>
991
992         * ld-gc/pr13683.d: XFAIL for powerpc*-*-eabivle.
993
994 2012-07-31  H.J. Lu  <hongjiu.lu@intel.com>
995
996         * ld-elf/fini0.s: Indent global directive.
997         * ld-elf/foo0.s: Likewise.
998         * ld-elf/init0.s: Likewise.
999
1000         * ld-elf/pr14156c.t: Keep text section.
1001
1002 2012-07-26  Meador Inge  <meadori@codesourcery.com>
1003
1004         PR ld/14397
1005         * ld-arm/arm-elf.exp: Add tests of linking without .rel.plt.
1006         * ld-arm/arm-no-rel-plt.out: Linker script without .rel.plt section.
1007         * ld-arm/arm-no-rel-plt.out: Expected output.
1008
1009 2012-07-13  Hans-Peter Nilsson  <hp@axis.com>
1010
1011         * ld-elf/foo0.s: Use ARM-compatible .section syntax.
1012         * ld-elf/foo1.s: Likewise.
1013         * ld-elf/foo2.s: Likewise.
1014         * ld-elf/foo3.s: Likewise.
1015         * ld-elf/foon.s: Likewise.
1016
1017 2012-07-10  H.J. Lu  <hongjiu.lu@intel.com>
1018
1019         PR ld/14156
1020         * ld-elf/fini0.s: New file.
1021         * ld-elf/fini1.s: Likewise.
1022         * ld-elf/fini2.s: Likewise.
1023         * ld-elf/fini3.s: Likewise.
1024         * ld-elf/finin.s: Likewise.
1025         * ld-elf/foo0.s: Likewise.
1026         * ld-elf/foo1.s: Likewise.
1027         * ld-elf/foo2.s: Likewise.
1028         * ld-elf/foo3.s: Likewise.
1029         * ld-elf/foon.s: Likewise.
1030         * ld-elf/init0.s: Likewise.
1031         * ld-elf/init1.s: Likewise.
1032         * ld-elf/init2.s: Likewise.
1033         * ld-elf/init3.s: Likewise.
1034         * ld-elf/initn.s: Likewise.
1035         * ld-elf/pr14156a.d: Likewise.
1036         * ld-elf/pr14156b.d: Likewise.
1037         * ld-elf/pr14156c.d: Likewise.
1038         * ld-elf/pr14156c.t: Likewise.
1039
1040 2012-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1041
1042         PR ld/14323
1043         * ld-elf/pr14323-1.c: New.
1044         * ld-elf/pr14323-2.c: Likewise.
1045
1046         * ld-elf/shared.exp (build_tests): Add libpr14323-2.so.
1047         (run_tests): Add pr14323.
1048
1049 2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>
1050
1051         PR ld/3351
1052         * ld-elf/indirect.exp: New file.
1053         * ld-elf/indirect1a.c: Likewise.
1054         * ld-elf/indirect1b.c: Likewise.
1055         * ld-elf/indirect1c.c: Likewise.
1056         * ld-elf/indirect2.c: Likewise.
1057         * ld-elf/indirect3.out: Likewise.
1058         * ld-elf/indirect3a.c: Likewise.
1059         * ld-elf/indirect3b.c: Likewise.
1060         * ld-elf/indirect3c.c: Likewise.
1061         * ld-elf/indirect4.out: Likewise.
1062         * ld-elf/indirect4a.c: Likewise.
1063         * ld-elf/indirect4b.c: Likewise.
1064         * ld-elf/indirect4c.c: Likewise.
1065
1066 2012-07-02  Roland McGrath  <mcgrathr@google.com>
1067
1068         * ld/testsuite/ld-i386/tlsbin-nacl.rd: Update for symbol table changes.
1069         * ld/testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1070         * ld/testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1071         * ld/testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1072         * ld/testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1073         * ld/testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1074         * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1075         * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1076         * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1077         * ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1078         * ld/testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1079
1080 2012-07-02  H.J. Lu  <hongjiu.lu@intel.com>
1081
1082         * ld-elf/data2.c: New file.
1083         * ld-elf/weakdef1.c: Likewise.
1084
1085         * ld-elf/shared.exp: Add tests for libdata2 and weakdef1.
1086
1087 2012-06-28  Roland McGrath  <mcgrathr@google.com>
1088
1089         * ld-arm/arm-elf.exp (armelftests_common): Add a test that gets
1090         arm-lib.so built so armeabitests_common can use it.
1091         (unresolved-1-dyn): Exclude this test for [istarget "arm*-*-nacl*"].
1092
1093 2012-06-26  Roland McGrath  <mcgrathr@google.com>
1094
1095         * ld-elf/ehdr_start.d (target): Add *-*-nacl*.
1096
1097 2012-06-27  Alan Modra  <amodra@gmail.com>
1098
1099         * ld-elf/ehdr_start.s: Use data rather than rodata.
1100         * ld-elf/ehdr_start.d: Run on linux and gnu targets only.
1101
1102 2012-06-25  Roland McGrath  <mcgrathr@google.com>
1103
1104         * ld-elf/ehdr_start.d (ld): Add explicit -e _start.
1105         (notarget): Add arm*-*-eabi* cris-*-*.
1106
1107 2012-06-22  Roland McGrath  <mcgrathr@google.com>
1108
1109         * ld-elf/ehdr_start.s: New file.
1110         * ld-elf/ehdr_start.d: New file.
1111
1112 2012-06-21  Alan Modra  <amodra@gmail.com>
1113
1114         * ld-gc/start.d: Update.
1115
1116 2012-06-18  Hans-Peter Nilsson  <hp@axis.com>
1117
1118         * ld-cris/dso-pltdis1.d, ld-cris/dso-pltdis2.d, dsofng.s
1119         dsofn4g.s: New tests.
1120
1121 2012-06-17  Hans-Peter Nilsson  <hp@axis.com>
1122
1123         * ld-cris/tls-e-tpiecomm1.d, ld-cris/tls-e-tpiecomm1.s: New test.
1124         * ld-cris/tls-dso-tpoffgotcomm1.d,
1125         ld-cris/tls-dso-tpoffgotcomm1.s: Ditto.
1126
1127         * ld-cris/tls-e-tpoffgotcomm1.d: New test.
1128
1129 2012-06-16  Alan Modra  <amodra@gmail.com>
1130
1131         * ld-alpha/emptygot.nm, * ld-alpha/tlsbin.rd, * ld-alpha/tlsbinr.rd,
1132         * ld-alpha/tlspic.rd, * ld-arm/arm-dyn.ld, * ld-arm/armthumb-lib.sym,
1133         * ld-arm/farcall-mixed-app.sym, * ld-arm/mixed-app.sym,
1134         * ld-arm/mixed-lib.sym, * ld-arm/preempt-app.sym,
1135         * ld-cris/libdso-2.d, * ld-cris/pv32-1.d, * ld-cris/tls-e-20.d,
1136         * ld-cris/tls-e-20a.d, * ld-cris/tls-e-80.d,
1137         * ld-cris/tls-e-tpoffcomm1.d, * ld-cris/tls-gc-68.d,
1138         * ld-cris/tls-gc-69.d, * ld-cris/tls-gc-70.d, * ld-cris/tls-gc-71.d,
1139         * ld-cris/tls-gc-75.d, * ld-cris/tls-gc-76.d, * ld-cris/tls-gc-79.d,
1140         * ld-cris/weakhiddso.d, * ld-cris/weakref3.d, * ld-cris/weakref4.d,
1141         * ld-elfvsb/hidden2.d, * ld-i386/tlsbin.rd, * ld-i386/tlsbindesc.rd,
1142         * ld-i386/tlsdesc.rd, * ld-i386/tlsgdesc.rd, * ld-i386/tlsnopic.rd,
1143         * ld-i386/tlspic.rd, * ld-ia64/tlsbin.rd, * ld-ia64/tlspic.rd,
1144         * ld-mips-elf/tlsdyn-o32-1.d, * ld-mips-elf/tlsdyn-o32-1.got,
1145         * ld-mips-elf/tlsdyn-o32-2.d, * ld-mips-elf/tlsdyn-o32-2.got,
1146         * ld-mips-elf/tlsdyn-o32-3.d, * ld-mips-elf/tlsdyn-o32-3.got,
1147         * ld-mmix/bpo-10.d, * ld-mmix/bpo-11.d, * ld-mmix/greg-6.d,
1148         * ld-mmix/greg-7.d, * ld-mmix/loc1.d, * ld-mmix/loc2.d,
1149         * ld-mmix/loc3.d, * ld-mmix/loc4.d, * ld-mmix/loc6.d,
1150         * ld-mmix/locdo-1.d, * ld-mmix/loct-1.d, * ld-mmix/locto-1.d,
1151         * ld-mmix/start-1.d, * ld-mmix/undef-3.d, * ld-powerpc/relbrlt.d,
1152         * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexe32.r,
1153         * ld-powerpc/tlsexetoc.r, * ld-powerpc/tlsso.r,
1154         * ld-powerpc/tlsso32.r, * ld-powerpc/tlstocso.r,
1155         * ld-s390/tlsbin.rd, * ld-s390/tlsbin_64.rd, * ld-s390/tlspic.rd,
1156         * ld-s390/tlspic_64.rd, * ld-scripts/empty-address-1.d,
1157         * ld-scripts/empty-address-2a.d, * ld-scripts/empty-address-2b.d,
1158         * ld-scripts/empty-address-3a.d, * ld-scripts/empty-address-3b.d,
1159         * ld-scripts/empty-address-3c.d, * ld-sh/sh64/abi32.xd,
1160         * ld-sh/sh64/abi64.xd, * ld-sh/sh64/cmpct1.xd,
1161         * ld-sh/sh64/crange1.rd, * ld-sh/sh64/crange2.rd,
1162         * ld-sh/sh64/crange3-cmpct.rd, * ld-sh/sh64/crange3-media.rd,
1163         * ld-sh/sh64/crange3.rd, * ld-sh/sh64/mix1.xd, * ld-sh/sh64/mix2.xd,
1164         * ld-sh/sh64/shdl32.xd, * ld-sh/sh64/shdl64.xd,
1165         * ld-sparc/gotop32.rd, * ld-sparc/gotop64.rd,
1166         * ld-sparc/tlssunbin32.rd, * ld-sparc/tlssunbin64.rd,
1167         * ld-sparc/tlssunnopic32.rd, * ld-sparc/tlssunnopic64.rd,
1168         * ld-sparc/tlssunpic32.rd, * ld-sparc/tlssunpic64.rd,
1169         * ld-spu/icache1.d, * ld-spu/pic.d, * ld-tic6x/shlib-1.rd,
1170         * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd,
1171         * ld-tic6x/shlib-1rb.rd, * ld-tic6x/shlib-app-1.rd,
1172         * ld-tic6x/shlib-app-1b.rd, * ld-tic6x/shlib-app-1r.rd,
1173         * ld-tic6x/shlib-app-1rb.rd, * ld-tic6x/shlib-noindex.rd,
1174         * ld-tic6x/static-app-1.rd, * ld-tic6x/static-app-1b.rd,
1175         * ld-tic6x/static-app-1r.rd, * ld-tic6x/static-app-1rb.rd,
1176         * ld-x86-64/tlsbin.rd, * ld-x86-64/tlsbindesc.rd,
1177         * ld-x86-64/tlsdesc.rd, * ld-x86-64/tlsgdesc.rd,
1178         * ld-x86-64/tlspic.rd: Update.
1179         * ld-tic6x/dsbt-be.ld: Add ". = .;" before __c6xabi_DSBT_BASE.
1180         * ld-tic6x/dsbt.ld: Likewise.
1181
1182 2012-06-13  Nick Clifton  <nickc@redhat.com>
1183
1184         * ld-arm/arm-app-abs32.d; Update expected disassembly in line with
1185         improved architecture detection.
1186         * ld-arm/arm-app.d: Likewise.
1187         * ld-arm/arm-lib-plt32.d: Likewise.
1188         * ld-arm/arm-lib.d: Likewise.
1189         * ld-arm/arm-static-app.d: Likewise.
1190         * ld-arm/armthumb-lib.d: Likewise.
1191         * ld-arm/farcall-mixed-app-v5.d: Likewise.
1192         * ld-arm/farcall-mixed-app.d: Likewise.
1193         * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
1194         * ld-arm/farcall-mixed-lib.d: Likewise.
1195         * ld-arm/mixed-app-v5.d: Likewise.
1196         * ld-arm/mixed-app.d: Likewise.
1197         * ld-arm/mixed-lib.d: Likewise.
1198         * ld-arm/tls-app.d: Likewise.
1199         * ld-arm/tls-descrelax-be32.d: Likewise.
1200         * ld-arm/tls-descrelax.d: Likewise.
1201         * ld-arm/tls-descseq.d: Likewise.
1202         * ld-arm/tls-gdesc-got.d: Likewise.
1203         * ld-arm/tls-gdesc.d: Likewise.
1204         * ld-arm/tls-gdierelax.d: Likewise.
1205         * ld-arm/tls-gdierelax2.d: Likewise.
1206         * ld-arm/tls-gdlerelax.d: Likewise.
1207         * ld-arm/tls-lib-loc.d: Likewise.
1208         * ld-arm/tls-lib.d: Likewise.
1209         * ld-arm/tls-thumb1.d: Likewise.
1210
1211 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1212
1213         PR ld/14207
1214         * ld-x86-64/x86-64.exp: Run pr14207.
1215
1216         * ld-x86-64/pr14207.d: New file.
1217         * ld-x86-64/pr14207.s: Likewise.
1218
1219 2012-06-11  H.J. Lu  <hongjiu.lu@intel.com>
1220
1221         PR ld/14215
1222         * ld-i386/i386.exp: Run pr14215.
1223         * ld-x86-64/x86-64.exp: Likewise.
1224
1225         * ld-i386/pr14215.d: New file.
1226         * ld-i386/pr14215.s: Likewise.
1227         * ld-x86-64/pr14215.d: Likewise.
1228         * ld-x86-64/pr14215.s: Likewise.
1229
1230 2012-06-06  Alan Modra  <amodra@gmail.com>
1231
1232         * ld-alpha/tlsbin.rd, * ld-alpha/tlsbinr.rd, * ld-alpha/tlspic.rd,
1233         * ld-arm/script-type.sym, * ld-cris/hiddef1.d, * ld-cris/tls-e-20a.d,
1234         * ld-cris/tls-e-tpoffcomm1.d, * ld-cris/tls-gc-76.d,
1235         * ld-cris/tls-local-64.d, * ld-i386/pr12718.d, * ld-i386/pr12921.d,
1236         * ld-i386/tlsbin.rd, * ld-i386/tlsbindesc.rd, * ld-i386/tlsdesc.rd,
1237         * ld-i386/tlsnopic.rd, * ld-i386/tlspic.rd, * ld-ia64/tlsbin.rd,
1238         * ld-ia64/tlspic.rd, * ld-mips-elf/reloc-merge-lo16.d,
1239         * ld-mmix/bpo-1.d, * ld-mmix/bpo-10.d, * ld-mmix/bpo-11.d,
1240         * ld-mmix/bpo-14.d, * ld-mmix/bpo-16.d, * ld-mmix/bpo-17.d,
1241         * ld-mmix/bpo-18.d, * ld-mmix/bpo-2.d, * ld-mmix/bpo-22.d,
1242         * ld-mmix/bpo-3.d, * ld-mmix/bpo-4.d, * ld-mmix/bpo-5.d,
1243         * ld-mmix/bpo-9.d, * ld-mmix/greg-1.d, * ld-mmix/greg-19.d,
1244         * ld-mmix/greg-2.d, * ld-mmix/greg-3.d, * ld-mmix/greg-4.d,
1245         * ld-mmix/greg-5.d, * ld-mmix/greg-5s.d, * ld-mmix/greg-6.d,
1246         * ld-mmix/greg-7.d, * ld-mmix/loc4.d, * ld-mmix/local1.d,
1247         * ld-mmix/local3.d, * ld-mmix/local5.d, * ld-mmix/local7.d,
1248         * ld-mmix/loct-1.d, * ld-mn10300/i135409-1.d, * ld-powerpc/tlsexe.r,
1249         * ld-powerpc/tlsexe32.r, * ld-powerpc/tlsexetoc.r,
1250         * ld-powerpc/tlsso.r, * ld-powerpc/tlsso32.r, * ld-powerpc/tlstocso.r,
1251         * ld-powerpc/vxworks-relax-2.rd, * ld-s390/tlsbin.rd,
1252         * ld-s390/tlspic.rd, * ld-s390/tlspic_64.rd, * ld-sh/sub2l-1.d,
1253         * ld-sh/weak1.d, * ld-sh/sh64/abi32.xd, * ld-sh/sh64/abi64.xd,
1254         * ld-sh/sh64/cmpct1.xd, * ld-sh/sh64/crange1.rd,
1255         * ld-sh/sh64/crange2.rd, * ld-sh/sh64/crange3-cmpct.rd,
1256         * ld-sh/sh64/crange3-media.rd, * ld-sh/sh64/crange3.rd,
1257         * ld-sh/sh64/crangerel1.rd, * ld-sh/sh64/crangerel2.rd,
1258         * ld-sh/sh64/mix1.xd, * ld-sh/sh64/mix2.xd, * ld-sh/sh64/shdl32.xd,
1259         * ld-sh/sh64/shdl64.xd, * ld-sparc/gotop32.rd,
1260         * ld-sparc/gotop64.rd, * ld-sparc/tlssunbin32.rd,
1261         * ld-sparc/tlssunbin64.rd, * ld-sparc/tlssunnopic32.rd,
1262         * ld-sparc/tlssunnopic64.rd, * ld-sparc/tlssunpic32.rd,
1263         * ld-sparc/tlssunpic64.rd, * ld-tic6x/shlib-1.rd,
1264         * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd, * ld-tic6x/shlib-1rb.rd,
1265         * ld-tic6x/shlib-app-1.rd, * ld-tic6x/shlib-app-1b.rd,
1266         * ld-tic6x/shlib-app-1r.rd, * ld-tic6x/shlib-app-1rb.rd,
1267         * ld-tic6x/shlib-noindex.rd, * ld-tic6x/static-app-1.rd,
1268         * ld-tic6x/static-app-1b.rd, * ld-tic6x/static-app-1r.rd,
1269         * ld-tic6x/static-app-1rb.rd, * ld-x86-64/ilp32-4-nacl.d,
1270         * ld-x86-64/ilp32-4.d, * ld-x86-64/pr12718.d, * ld-x86-64/pr12921.d,
1271         * ld-x86-64/split-by-file-nacl.rd, * ld-x86-64/split-by-file.rd,
1272         * ld-x86-64/tlsbin.rd, * ld-x86-64/tlsbindesc.rd,
1273         * ld-x86-64/tlsdesc.rd, * ld-x86-64/tlspic.rd: Update to suit
1274         added STT_FILE symbols.
1275
1276 2012-06-06  Alan Modra  <amodra@gmail.com>
1277
1278         * ld-mmix/bpo-9.d: Update.
1279         * ld-mmix/bpo-10.d: Update.
1280         * ld-mmix/bpo-11.d: Update.
1281         * ld-mmix/sec-7m.d: Update.
1282
1283 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
1284
1285         * ld-ifunc/ifunc-13a-x86-64.s: Add missing "foo" after ".global".
1286         * ld-ifunc/ifunc-15-x86-64.s: Likewise.
1287
1288 2012-05-30  Nick Clifton  <nickc@redhat.com>
1289
1290         * ld-tic6x/shlib-1b.rd: Revert previous delta.
1291         * ld-tic6x/shlib-1rb.rd: Likewise.
1292         * ld-tic6x/shlib-1.rd: Likewise.
1293         * ld-tic6x/shlib-1r.rd: Likewise.
1294         * ld-tic6x/shlib-app-1b.rd: Likewise.
1295         * ld-tic6x/shlib-app-1rb.rd: Likewise.
1296         * ld-tic6x/shlib-app-1.rd: Likewise.
1297         * ld-tic6x/shlib-app-1r.rd: Likewise.
1298         * ld-tic6x/shlib-noindex.rd: Likewise.
1299         * ld-tic6x/static-app-1b.rd: Likewise.
1300         * ld-tic6x/static-app-1rb.rd: Likewise.
1301         * ld-tic6x/static-app-1.rd: Likewise.
1302         * ld-tic6x/static-app-1r.rd: Likewise.
1303
1304 2012-05-29  Nick Clifton  <nickc@redhat.com>
1305
1306         * ld-tic6x/shlib-1b.rd: Update expected readelf output.
1307         * ld-tic6x/shlib-1rb.rd: Likewise.
1308         * ld-tic6x/shlib-1.rd: Likewise.
1309         * ld-tic6x/shlib-1r.rd: Likewise.
1310         * ld-tic6x/shlib-app-1b.rd: Likewise.
1311         * ld-tic6x/shlib-app-1rb.rd: Likewise.
1312         * ld-tic6x/shlib-app-1.rd: Likewise.
1313         * ld-tic6x/shlib-app-1r.rd: Likewise.
1314         * ld-tic6x/shlib-noindex.rd: Likewise.
1315         * ld-tic6x/static-app-1b.rd: Likewise.
1316         * ld-tic6x/static-app-1rb.rd: Likewise.
1317         * ld-tic6x/static-app-1.rd: Likewise.
1318         * ld-tic6x/static-app-1r.rd: Likewise.
1319
1320 2012-05-28  Nick Clifton  <nickc@redhat.com>
1321
1322         * ld-ifunc/ifunc-13a-i386.s: Fix use of .global directive.
1323         * ld-ifunc/ifunc-15a-i385.s: Likewise.
1324
1325 2012-05-28  Alan Modra  <amodra@gmail.com>
1326
1327         PR ld/14170
1328         * ld-elf/pr14170a.s: Put foo, bar address in .data.
1329         * ld-elf/elf.exp: Don't run pr14170 test on hppa64-hpux.  Ignore
1330         tic6x warnings.
1331
1332 2012-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1333
1334         PR ld/14170
1335         * ld-elf/elf.exp: Add a test for PR ld/14170.
1336
1337         * ld-elf/pr14170a.s: New file.
1338         * ld-elf/pr14170b.s: Likewise.
1339         * ld-elf/pr14170c.s: Likewise.
1340
1341 2012-05-26  Alan Modra  <amodra@gmail.com>
1342
1343         * ld-srec/srec.exp: Remove powerpc64 flag setting.
1344
1345 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1346
1347         * ld-elf/eh1.d: Don't skip x86_64-*-linux-gnux32.
1348         * ld-elf/eh2.d: Likewise.
1349         * ld-elf/eh3.d: Likewise.
1350         * ld-elf/eh4.d: Likewise.
1351
1352 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1353
1354         * ld-x86-64/ilp32-11.s Add ".space 0x1000" before func.
1355         (func): Make it global and hidden.
1356         * ld-x86-64/ilp32-11.d: Updated.
1357
1358 2012-05-22  Roland McGrath  <mcgrathr@google.com>
1359
1360         * ld-elf/eh4.d: Revert last change.
1361         Loosen CFI-matching regexps so they match x86_64-*-nacl* variant too.
1362
1363         * ld-x86-64/pr12570a.d (name): Distinguish it from pr12570b.d case.
1364         Loosen CFI-matching regexp so it matches x86_64-*-nacl* variant too.
1365         * ld-x86-64/pr12570b.d: Likewise.
1366         * ld-x86-64/x86-64.exp: Revert last change.
1367
1368 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1369
1370         * ld-elf/eh4.d: Skip x86_64-*-nacl*.
1371
1372         * ld-x86-64/x86-64.exp: Xfail pr12570a for x86_64-*-nacl*.
1373
1374 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1375
1376         PR ld/13909
1377         * ld-i386/i386.exp: Revert the last change.
1378         * ld-x86-64/x86-64.exp: Likewise.
1379
1380         * ld-i386/dummy.s: Removed.
1381         * ld-i386/pr13909.d: Likewise.
1382         * ld-x86-64/pr13909.d: Likewise.
1383
1384 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1385
1386         PR ld/13909
1387         * ld-i386/i386.exp: Run pr13909.
1388         * ld-x86-64/x86-64.exp: Likewise.
1389
1390         * ld-i386/dummy.s: New file.
1391         * ld-i386/pr13909.d: Likewise.
1392         * ld-x86-64/pr13909.d: Likewise.
1393
1394 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1395
1396         PR ld/14105
1397         * ld-elf/eh4.d: Add PLT eh_frame.
1398
1399         * ld-i386/i386.exp: Run pr12570a and pr12570b.
1400         * ld-x86-64/x86-64.exp: Likewise.
1401
1402         * ld-i386/pr12570a.d: New file.
1403         * ld-i386/pr12570a.s: Likewise.
1404         * ld-i386/pr12570b.s: Likewise.
1405         * ld-i386/pr12570b.s: Likewise.
1406         * ld-x86-64/pr12570a.d: Likewise.
1407         * ld-x86-64/pr12570a.s: Likewise.
1408         * ld-x86-64/pr12570b.d: Likewise.
1409         * ld-x86-64/pr12570b.s: Likewise.
1410
1411 2012-05-19  Alan Modra  <amodra@gmail.com>
1412
1413         * ld-elf/elf.exp (note-3.so): xfail tic6x due to non-pic warnings.
1414
1415 2012-05-19  Alan Modra  <amodra@gmail.com>
1416
1417         * ld-powerpc/vle.ld: New.
1418         * ld-powerpc/powerpc.exp (vle reloc tests): Link using vle.ld.
1419
1420 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1421
1422         * ld-i386/tlsdesc-nacl.rd: Update for dynamic sym changes.
1423         * ld-i386/tlsdesc.rd: Likewise.
1424         * ld-i386/tlsgdesc-nacl.rd: Likewise.
1425         * ld-i386/tlsgdesc.rd: Likewise.
1426         * ld-i386/tlsnopic-nacl.rd: Likewise.
1427         * ld-i386/tlsnopic.rd: Likewise.
1428         * ld-i386/tlspic-nacl.rd: Likewise.
1429         * ld-i386/tlspic.rd: Likewise.
1430         * ld-x86-64/tlsdesc-nacl.rd: Likewise.
1431         * ld-x86-64/tlsdesc.rd: Likewise.
1432         * ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1433         * ld-x86-64/tlsgdesc.rd: Likewise.
1434         * ld-x86-64/tlspic-nacl.rd: Likewise.
1435         * ld-x86-64/tlspic.rd: Likewise.
1436
1437 2012-05-18  Alan Modra  <amodra@gmail.com>
1438
1439         * ld-tic6x/mvk-reloc-local-r.d: Adjust for signed addend.
1440         * ld-tic6x/unwind-6.d: Typo fix.
1441
1442 2012-05-18  Alan Modra  <amodra@gmail.com>
1443
1444         * ld-elf/init-mixed.c: Include config.h first.
1445
1446 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1447
1448         * ld-arm/emit-relocs1-vxworks.d: Expect addend as signed.
1449         * ld-spu/pic.d: Likewise.
1450
1451 2012-05-17  Hans-Peter Nilsson  <hp@axis.com>
1452
1453         * lib/ld-lib.exp (run_dump_test): For options "warning" and
1454         "error", append to earlier option values without adding a space.
1455
1456 2012-05-17  Alan Modra  <amodra@gmail.com>
1457
1458         * ld-m68k/tls-ld-1.d: Update.
1459
1460 2012-05-17  Alan Modra  <amodra@gmail.com>
1461
1462         * ld-powerpc/tlsso.r: Update for dynamic sym changes.
1463         * ld-powerpc/tlsso32.d: Likewise.
1464         * ld-powerpc/tlsso32.r: Likewise.
1465         * ld-powerpc/tlstocso.r: Likewise.
1466
1467 2012-05-16  Meador Inge  <meadori@codesourcery.com>
1468
1469         * ld-arm/gc-hidden-1.d: Fix disassembly pattern.
1470
1471 2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
1472
1473         * ld-m68hc11/xgate-link.s: New.
1474         * ld-m68hc11/xgate-link.d: New.
1475         * ld-m68hc11/xgate-offset.s: New.
1476         * ld-m68hc11/xgate-offset.d: New.
1477         * ld-m68hc11/xgate1.s: New.
1478         * ld-m68hc11/xgate1.d: New.
1479         * ld-m68hc11/xgate2.s: New.
1480         * ld-m68hc11/m68hc11.exp: Updated.
1481         * ld-m68hc11/*.d: Brought in line with changed objdump output.
1482         * ld-gc/gc.exp: Update CFLAGS for m68hc11.
1483         * ld-plugin/plugin.exp: Likewise.
1484         * ld-srec/srec.exp: XFAIL for m68hc11 and m68hc12.
1485
1486 2012-05-14  David S. Miller  <davem@davemloft.net>
1487
1488         * ld-sparc/tlssunbin32.rd: Update.
1489         * ld-sparc/tlssunbin64.rd: Likewise.
1490
1491 2012-05-14  James Lemke  <jwlemke@codesourcery.com>
1492
1493         * ld-powerpc/powerpc.exp: Create ppceabitests.
1494         * ld-powerpc/vle-multiseg.s: New.
1495         * ld-powerpc/vle-multiseg-1.d: New.
1496         * ld-powerpc/vle-multiseg-1.ld: New.
1497         * ld-powerpc/vle-multiseg-2.d: New.
1498         * ld-powerpc/vle-multiseg-2.ld: New.
1499         * ld-powerpc/vle-multiseg-3.d: New.
1500         * ld-powerpc/vle-multiseg-3.ld: New.
1501         * ld-powerpc/vle-multiseg-4.d: New.
1502         * ld-powerpc/vle-multiseg-4.ld: New.
1503         * ld-powerpc/vle-multiseg-5.d: New.
1504         * ld-powerpc/vle-multiseg-5.ld: New.
1505         * ld-powerpc/vle-multiseg-6.d: New.
1506         * ld-powerpc/vle-multiseg-6.ld: New.
1507         * ld-powerpc/vle-multiseg-6a.s: New.
1508         * ld-powerpc/vle-multiseg-6b.s: New.
1509         * ld-powerpc/vle-multiseg-6c.s: New.
1510         * ld-powerpc/vle-multiseg-6d.s: New.
1511         * ld-powerpc/powerpc.exp: Run new tests.
1512
1513 2012-05-14  Catherine Moore  <clm@codesourcery.com>
1514
1515         * ld-powerpc/apuinfo.rd: Update for VLE.
1516         * ld-powerpc/vle-reloc-1.d: New.
1517         * ld-powerpc/vle-reloc-1.s: New.
1518         * ld-powerpc/vle-reloc-2.d: New.
1519         * ld-powerpc/vle-reloc-2.s: New.
1520         * ld-powerpc/vle-reloc-3.d: New.
1521         * ld-powerpc/vle-reloc-3.s: New.
1522         * ld-powerpc/vle-reloc-def-1.s: New.
1523         * ld-powerpc/vle-reloc-def-2.s: New.
1524         * ld-powerpc/vle-reloc-def-3.s: New.
1525
1526 2012-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
1527
1528         * ld-mips-elf/mips-elf.exp (mips16_call_global_test): Use the
1529         no-shared-1.ld linker script.
1530         * ld-mips-elf/mips16-call-global-1.s: Add alignment directive.
1531         * ld-mips-elf/mips16-call-global-2.s: Likewise.
1532         * ld-mips-elf/mips16-call-global-3.s: Likewise.
1533         * ld-mips-elf/mips16-call-global.d: Use 50000 as the base address.
1534
1535 2012-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
1536
1537         * ld-mips-elf/attr-gnu-4-00.d: Remove assembler options and emulator
1538         linker option.
1539         * ld-mips-elf/attr-gnu-4-01.d, ld-mips-elf/attr-gnu-4-02.d,
1540         ld-mips-elf/attr-gnu-4-03.d, ld-mips-elf/attr-gnu-4-04.d,
1541         ld-mips-elf/attr-gnu-4-05.d, ld-mips-elf/attr-gnu-4-10.d,
1542         ld-mips-elf/attr-gnu-4-11.d, ld-mips-elf/attr-gnu-4-12.d,
1543         ld-mips-elf/attr-gnu-4-13.d, ld-mips-elf/attr-gnu-4-14.d,
1544         ld-mips-elf/attr-gnu-4-15.d, ld-mips-elf/attr-gnu-4-20.d,
1545         ld-mips-elf/attr-gnu-4-21.d, ld-mips-elf/attr-gnu-4-22.d,
1546         ld-mips-elf/attr-gnu-4-23.d, ld-mips-elf/attr-gnu-4-24.d,
1547         ld-mips-elf/attr-gnu-4-25.d, ld-mips-elf/attr-gnu-4-30.d,
1548         ld-mips-elf/attr-gnu-4-31.d, ld-mips-elf/attr-gnu-4-32.d,
1549         ld-mips-elf/attr-gnu-4-33.d, ld-mips-elf/attr-gnu-4-34.d,
1550         ld-mips-elf/attr-gnu-4-35.d, ld-mips-elf/attr-gnu-4-40.d,
1551         ld-mips-elf/attr-gnu-4-41.d, ld-mips-elf/attr-gnu-4-42.d,
1552         ld-mips-elf/attr-gnu-4-43.d, ld-mips-elf/attr-gnu-4-44.d,
1553         ld-mips-elf/attr-gnu-4-45.d, ld-mips-elf/attr-gnu-4-51.d: Likewise.
1554
1555 2012-05-13  Richard Sandiford  <rdsandiford@googlemail.com>
1556
1557         * ld-mips-elf/eh-frame1.ld (.gcc_compiled_long32): Add KEEP.
1558         * ld-mips-elf/eh-frame3.d: Move definition of foo to the link line
1559         and change to a 32-bit value.  Expect CIEs to be marged.
1560         * ld-mips-elf/eh-frame4.d: Move definition of foo to the link line.
1561
1562 2012-05-12  H.J. Lu  <hongjiu.lu@intel.com>
1563
1564         * ld-alpha/tlspic.rd: Updated.
1565         * ld-powerpc/tlsso.r: Likewise.
1566         * ld-powerpc/tlsso32.r: Likewise.
1567         * ld-powerpc/vxworks1-lib.rd: Likewise.
1568         * ld-s390/tlspic.rd: Likewise.
1569         * ld-s390/tlspic_64.rd: Likewise.
1570         * ld-sh/shared-1.d: Likewise.
1571         * ld-sh/tlspic-2.d: Likewise.
1572         * ld-sparc/tlssunnopic32.rd: Likewise.
1573         * ld-sparc/tlssunnopic64.rd: Likewise.
1574         * ld-sparc/tlssunpic32.rd: Likewise.
1575         * ld-sparc/tlssunpic64.rd: Likewise.
1576
1577 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1578
1579         * ld-cris/hiddef1.d: Updated.
1580         * ld-cris/libdso-2.d: Likewise.
1581         * ld-cris/tls-js1.d: Likewise.
1582         * ld-cris/tls-local-63.d: Likewise.
1583         * ld-cris/tls-local-64.d: Likewise.
1584
1585 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1586
1587         PR binutils/14088
1588         * ld-ia64/tlspic.rd: Updated.
1589         * ld-x86-64/tlsdesc-nacl.rd: Likewise.
1590         * ld-x86-64/tlsdesc.rd: Likewise.
1591         * ld-x86-64/tlspic-nacl.rd: Likewise.
1592         * ld-x86-64/tlspic.rd: Likewise.
1593
1594 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1595
1596         * ld-x86-64/ilp32-11.d: Updated.
1597
1598 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
1599
1600         * ld-x86-64/pr13082-1a.d: Check RELACOUNT.
1601         * ld-x86-64/pr13082-1b.d: Likewise.
1602
1603 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1604
1605         * ld-x86-64/ilp32-11.d: New file.
1606         * ld-x86-64/ilp32-11.s: Likewise.
1607
1608         * ld-x86-64/x86-64.exp: Run ilp32-11.
1609
1610 2012-05-05  H.J. Lu  <hongjiu.lu@intel.com>
1611
1612         PR ld/14052
1613         * ld-elf/pr14052.d: New file.
1614         * ld-elf/pr14052.t: Likewise.
1615
1616 2012-05-05  Alan Modra  <amodra@gmail.com>
1617
1618         PR ld/14052
1619         PR ld/13621
1620         * ld-elf/warn2.d: Revert 2012-02-13 change.
1621         * ld-elf/zerosize1.d, ld-elf/zerosize1.s: Delete.
1622
1623 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1624
1625         * ld-elf/eh1.d: Skip x86_64-*-linux-gnux32.
1626         * ld-elf/eh2.d: Likewise.
1627         * ld-elf/eh3.d: Likewise.
1628         * ld-elf/eh4.d: Likewise.
1629
1630         * ld-elfvsb/elfvsb.exp: Xfail x86_64-*-linux-gnux32.
1631         * ld-shared/shared.exp: Likewise.
1632
1633         * ld-ifunc/ifunc-3a-x86.d: Support x86_64-*-linux-gnux32.
1634
1635 2012-04-24  Roland McGrath  <mcgrathr@google.com>
1636
1637         * ld-x86-64/plt-nacl.pd: Fix expected nop padding.
1638         * ld-x86-64/tlsdesc-nacl.pd: Likewise.
1639
1640 2012-04-24  Hans-Peter Nilsson  <hp@axis.com>
1641
1642         PR ld/13990
1643         * ld-arm/arm-elf.exp: Run gc-hidden-1.
1644         * ld-arm/gc-hidden-1.d: New test-file.
1645         * ld-arm/gcdfn.s, ld-arm/hideall.ld, ld-arm/hidfn.s,
1646         ld-arm/main.s: New files.
1647
1648 2012-04-23  Andreas Schwab  <schwab@linux-m68k.org>
1649
1650         * ld-pie/pie.exp: Remove extra braces.
1651
1652 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1653
1654         PR ld/13947
1655         * ld-x86-64/x86-64.exp: Run pr13947.
1656         * ld-x86-64/pr13947.d: New file.
1657         * ld-x86-64/pr13947.s: Likewise.
1658
1659 2012-04-13  Roland McGrath  <mcgrathr@google.com>
1660
1661         * ld-arm/arm-elf.exp (armelftests_common): Move cases using
1662         mixed-lib.so to ...
1663         (armelftests_nonacl): ... here.
1664
1665 2012-04-12  Roland McGrath  <mcgrathr@google.com>
1666
1667         * ld-arm/arm-elf.exp (armelftests): Split out into ...
1668         (armelftests_common, armelftests_nonacl): ... these two.
1669         (armeabitests): Split out into ...
1670         (armeabitests_common, armeabitests_nonacl): ... these two.
1671         Omit _nonacl sets for arm*-*-nacl* targets.
1672
1673         * ld-arm/farcall-mix.d: Don't match exact addresses, only symbolic ones.
1674         * ld-arm/farcall-mix2.d: Likewise.
1675         * ld-arm/farcall-group.d: Likewise.
1676
1677         * ld-arm/tls-gdesc-got.d: Match variant file formats too.
1678         Accept some variation in exact addresses.
1679
1680         * ld-arm/thumb2-b-interwork.d: Match variant file formats too.
1681         Fix regexps not to care about exact addresses where not relevant.
1682
1683         * ld-arm/thumb2-bl-undefweak.d: Match any hex strings, not any
1684         strings of particular exact lengths.
1685         * ld-arm/thumb2-bl-undefweak1.d: Likewise.
1686
1687         * ld-arm/arm-app.r: Match variant file formats too.
1688         * ld-arm/arm-app-abs32.r: Likewise.
1689         * ld-arm/arm-lib.d: Likewise.
1690         * ld-arm/arm-lib.r: Likewise.
1691         * ld-arm/arm-static-app.r: Likewise.
1692         * ld-arm/armv4-bx.d: Likewise.
1693         * ld-arm/data-only-map.d: Likewise.
1694         * ld-arm/group-relocs.d: Likewise.
1695         * ld-arm/jump19.d: Likewise.
1696         * ld-arm/reloc-boundaries.d: Likewise.
1697         * ld-arm/thumb1-bl.d: Likewise.
1698         * ld-arm/thumb2-bl.d: Likewise.
1699         * ld-arm/tls-app.d: Likewise.
1700         * ld-arm/tls-app.r: Likewise.
1701         * ld-arm/tls-gdierelax.d: Likewise.
1702         * ld-arm/tls-gdierelax2.d: Likewise.
1703         * ld-arm/tls-gdlerelax.d: Likewise.
1704         * ld-arm/tls-lib.d: Likewise.
1705         * ld-arm/tls-lib.r: Likewise.
1706         * ld-arm/tls-mixed.r: Likewise.
1707         * ld-arm/vfp11-fix-none.d: Likewise.
1708         * ld-arm/vfp11-fix-scalar.d: Likewise.
1709         * ld-arm/vfp11-fix-vector.d: Likewise.
1710         * ld-arm/arm-static-app.d: Likewise.
1711         Fix regexps not to care about exact number of leading spaces.
1712         * ld-arm/arm-app-abs32.d: Likewise.
1713         * ld-arm/fix-arm1176-off.d: Likewise.
1714         * ld-arm/fix-arm1176-on.d: Likewise.
1715
1716         * ld-arm/arm-elf.exp: Treat nacl targets like eabi targets.
1717
1718 2012-04-09  Roland McGrath  <mcgrathr@google.com>
1719
1720         * ld-elf/eh1.d: Add explicit --64 to as options, and explicit
1721         -melf_x86_64 and -Ttext to ld options, so we don't assume every
1722         x86_64-*-* target uses --64 (vs --x32) by default or has the
1723         same address space layout.
1724         * ld-elf/eh2.d: Likewise.
1725         * ld-elf/eh3.d: Likewise.
1726         * ld-elf/eh4.d: Likewise.
1727         * ld-elf/elf.exp: For target *-*-nacl*, use options_regsub(ld) to
1728         map -melf_x86_64 to -melf_x86_64_nacl.
1729
1730 2012-04-07  David S. Miller  <davem@davemloft.net>
1731
1732         * ld-sparc/tlssunbin32.rd: Fix regexp.
1733         * ld-sparc/tlssunbin64.rd: Likewise.
1734
1735 2012-04-03  Roland McGrath  <mcgrathr@google.com>
1736
1737         * ld-x86-64/ilp32-4-nacl.d: New file.
1738         * ld-x86-64/x86-64.exp: Run it.
1739
1740         * ld-discard/discard.exp: Accept nacl targets too.
1741         * ld-elf/binutils.exp: Likewise.
1742         * ld-elf/comm-data.exp: Likewise.
1743         * ld-elf/elf.exp: Likewise.
1744         * ld-elf/tls_common.exp: Likewise.
1745         * ld-elfvers/vers.exp: Likewise.
1746         * ld-elfvsb/elfvsb.exp: Likewise.
1747         * ld-elfweak/elfweak.exp: Likewise.
1748         * ld-gc/gc.exp: Likewise.
1749         * ld-ifunc/binutils.exp: Likewise.
1750         * ld-ifunc/ifunc.exp: Likewise.
1751         * ld-linkonce/linkonce.exp:Likewise.
1752         * ld-pie/pie.exp: Likewise.
1753         * ld-shared/shared.exp: Likewise.
1754         * ld-undefined/weak-undef.exp: Likewise.
1755         * ld-unique/unique.exp: Likewise.
1756         * ld-x86-64/dwarfreloc.exp: Likewise.
1757         * ld-x86-64/line.exp: Likewise.
1758
1759         * lib/ld-lib.exp (slurp_options): Support global array
1760         options_regsub to apply substitutions to the contents
1761         of options lines read from the file.
1762         * ld-i386/emit-relocs.d: Renamed to ...
1763         * ld-i386/emit-relocs.rd: ... this.
1764         * ld-i386/i386.exp: Accept nacl targets too.
1765         For them, use options_regsub to replace elf_i386 with
1766         elf_i386_nacl in run_dump_test cases; apply the same
1767         substitution in $i386tests; replace foo.rd expectations
1768         files with foo-nacl.rd in $i386tests.
1769         (i386tests): Change emit-relocs.d to emit-relocs.rd here.
1770         * ld-i386/emit-relocs-nacl.rd: New file.
1771         * ld-i386/plt-nacl.pd: New file.
1772         * ld-i386/plt-pic-nacl.pd: New file.
1773         * ld-i386/tlsbin-nacl.rd: New file.
1774         * ld-i386/tlsbindesc-nacl.rd: New file.
1775         * ld-i386/tlsdesc-nacl.rd: New file.
1776         * ld-i386/tlsgdesc-nacl.rd: New file.
1777         * ld-i386/tlsnopic-nacl.rd: New file.
1778         * ld-i386/tlspic-nacl.rd: New file.
1779         * ld-x86-64/x86-64.exp: Accept nacl targets too.
1780         For them, use options_regsub to replace elf_x86_64 with
1781         elf_x86_64_nacl in run_dump_test cases; apply the same
1782         substitution in $x86_64tests; replace foo.rd expectations
1783         files with foo-nacl.rd in $x86_64tests.
1784         Add explicit -melf_x86_64 to ld options in tests that need it,
1785         in case the default emulation is x32 (as it is for x86_64-nacl).
1786         * ld/testsuite/ld-x86-64/plt-nacl.pd: New file.
1787         * ld/testsuite/ld-x86-64/split-by-file-nacl.rd: New file.
1788         * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: New file.
1789         * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: New file.
1790         * ld/testsuite/ld-x86-64/tlsdesc-nacl.pd: New file.
1791         * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: New file.
1792         * ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: New file.
1793         * ld/testsuite/ld-x86-64/tlspic-nacl.rd: New file.
1794
1795         * ld-i386/hidden2.d: Loosen regexps to match any file format variant,
1796         and not to depend on exact addresses, displacements, etc. where
1797         they are irrelevant.
1798         * ld-i386/pcrel16.d: Likewise.
1799         * ld-i386/pcrel16abs.d: Likewise.
1800         * ld-i386/pr12718.d: Likewise.
1801         * ld-i386/pr12921.d: Likewise.
1802         * ld-i386/reloc.d: Likewise.
1803         * ld-i386/tlsbin.dd: Likewise.
1804         * ld-i386/tlsbin.sd: Likewise.
1805         * ld-i386/tlsbin.td: Likewise.
1806         * ld-i386/tlsbindesc.dd: Likewise.
1807         * ld-i386/tlsbindesc.sd: Likewise.
1808         * ld-i386/tlsbindesc.td: Likewise.
1809         * ld-i386/tlsdesc.dd: Likewise.
1810         * ld-i386/tlsdesc.sd: Likewise.
1811         * ld-i386/tlsdesc.td: Likewise.
1812         * ld-i386/tlsg.sd: Likewise.
1813         * ld-i386/tlsgdesc.dd: Likewise.
1814         * ld-i386/tlsindntpoff.dd: Likewise.
1815         * ld-i386/tlsnopic.dd: Likewise.
1816         * ld-i386/tlsnopic.sd: Likewise.
1817         * ld-i386/tlspic.dd: Likewise.
1818         * ld-i386/tlspic.sd: Likewise.
1819         * ld-i386/tlspic.td: Likewise.
1820         * ld-i386/tlspie2.d: Likewise.
1821         * ld-x86-64/hidden2.d: Likewise.
1822         * ld-x86-64/pcrel16.d: Likewise.
1823         * ld-x86-64/pr12718.d: Likewise.
1824         * ld-x86-64/pr12921.d: Likewise.
1825         * ld-x86-64/protected3.d: Likewise.
1826         * ld-x86-64/tlsbin.dd: Likewise.
1827         * ld-x86-64/tlsbin.sd: Likewise.
1828         * ld-x86-64/tlsbin.td: Likewise.
1829         * ld-x86-64/tlsbindesc.dd: Likewise.
1830         * ld-x86-64/tlsbindesc.sd: Likewise.
1831         * ld-x86-64/tlsbindesc.td: Likewise.
1832         * ld-x86-64/tlsdesc.dd: Likewise.
1833         * ld-x86-64/tlsdesc.sd: Likewise.
1834         * ld-x86-64/tlsdesc.td: Likewise.
1835         * ld-x86-64/tlsg.sd: Likewise.
1836         * ld-x86-64/tlsgd5.dd: Likewise.
1837         * ld-x86-64/tlsgd6.dd: Likewise.
1838         * ld-x86-64/tlsgdesc.dd: Likewise.
1839         * ld-x86-64/tlspic.dd: Likewise.
1840         * ld-x86-64/tlspic.sd: Likewise.
1841         * ld-x86-64/tlspic.td: Likewise.
1842
1843         * ld-x86-64/ilp32-8.d: Match any file format variant.
1844         Use a -Ttext and adjust expected results, to handle variant layouts.
1845         * ld-x86-64/ilp32-9.d: Likewise.
1846
1847         * ld-i386/alloc.t: Remove superfluous OUTPUT_FORMAT statement.
1848         * ld-i386/pr12627.t: Likewise.
1849
1850         * ld-x86-64/abs-l1om.d: Add target: constraint.
1851         * ld-x86-64/protected2-l1om.d: Likewise.
1852         * ld-x86-64/protected3-l1om.d: Likewise.
1853         * ld-x86-64/ilp32-4.d: Likewise.
1854
1855         * ld-x86-64/plt.s: New file.
1856         * ld-x86-64/pltlib.s: New file.
1857         * ld-x86-64/plt.pd: New file.
1858         * ld-x86-64/x86-64.exp (x86_64tests): Add them.
1859
1860         * ld-i386/plt.s: New file.
1861         * ld-i386/pltlib.s: New file.
1862         * ld-i386/plt.pd: New file.
1863         * ld-i386/plt-pic.s: New file.
1864         * ld-i386/plt-pic.pd: New file.
1865         * ld-i386/i386.exp (i386tests): Add them.
1866
1867 2012-03-25  Alan Modra  <amodra@gmail.com>
1868
1869         * ld-powerpc/vxworks-relax.rd: Remove check on reloc section
1870         file offset and reloc symbol indices.
1871
1872 2012-03-21  Hans-Peter Nilsson  <hp@axis.com>
1873
1874         PR ld/13813
1875         * ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64
1876         tests, also specify assembler option -march=mips3.
1877
1878 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1879
1880         PR ld/13880
1881         * ld-i386/i386.exp: Run protected4 and protected5.
1882         * ld-x86-64/x86-64.exp: Likewise.
1883
1884         * ld-i386/protected4.d: New.
1885         * ld-i386/protected4.s: Likewise.
1886         * ld-i386/protected5.d: Likewise.
1887         * ld-i386/protected5.s: Likewise.
1888         * ld-x86-64/protected4.d: Likewise.
1889         * ld-x86-64/protected4.s: Likewise.
1890         * ld-x86-64/protected5.d: Likewise.
1891         * ld-x86-64/protected5.s: Likewise.
1892
1893 2012-03-19  Andreas Schwab  <schwab@linux-m68k.org>
1894
1895         * ld-m68k/m68k.exp ("TLS indirect symbol use"): Pass
1896         --copy-dt-needed-entries.
1897
1898 2012-03-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1899
1900         * ld-arm/arm-elf.exp: Add new testcases.
1901         * ld-arm/attr-merge-2.attr: Update ouput.
1902         * ld-arm/attr-merge-2a.s: Remove Tag_DIV_use test.
1903         * ld-arm/attr-merge-2b.s: Likewise.
1904         * ld-arm/attr-merge-3.attr: Updated expected output.
1905         * ld-arm/attr-merge-4.attr: Likewise.
1906         * ld-arm/attr-merge-5.attr: Likewise.
1907         * ld-arm/attr-merge-6.attr: Likewise.
1908         * ld-arm/attr-merge-7.attr: Likewise.
1909         * ld-arm/attr-merge-arch-1.attr: Likewise.
1910         * ld-arm/attr-merge-arch-2.attr: Likewise.
1911         * ld-arm/attr-merge-unknown-2.d: Likewise.
1912         * ld-arm/attr-merge-unknown-2r.d: Likewise.
1913         * ld-arm/attr-merge-unknown-3.d: Likewise.
1914         * ld-arm/attr-merge-vfp-1.d: Likewise.
1915         * ld-arm/attr-merge-vfp-1r.d: Likewise.
1916         * ld-arm/attr-merge-vfp-2.d: Likewise.
1917         * ld-arm/attr-merge-vfp-2r.d: Likewise.
1918         * ld-arm/attr-merge-vfp-3.d: Likewise.
1919         * ld-arm/attr-merge-vfp-3r.d: Likewise.
1920         * ld-arm/attr-merge-vfp-4.d: Likewise.
1921         * ld-arm/attr-merge-vfp-4r.d: Likewise.
1922         * ld-arm/attr-merge-vfp-5.d: Likewise.
1923         * ld-arm/attr-merge-vfp-5r.d: Likewise.
1924         * ld-arm/attr-merge-vfp-6.d: Likewise.
1925         * ld-arm/attr-merge-vfp-6r.d: Likewise.
1926         * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
1927         * ld-arm/attr-merge-wchar-00.d: Likewise.
1928         * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
1929         * ld-arm/attr-merge-wchar-02.d: Likewise.
1930         * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
1931         * ld-arm/attr-merge-wchar-04.d: Likewise.
1932         * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
1933         * ld-arm/attr-merge-wchar-20.d: Likewise.
1934         * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
1935         * ld-arm/attr-merge-wchar-22.d: Likewise.
1936         * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
1937         * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
1938         * ld-arm/attr-merge-wchar-40.d: Likewise.
1939         * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
1940         * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
1941         * ld-arm/attr-merge-wchar-44.d: Likewise.
1942         * ld-arm/attr-merge.attr: Likewise.
1943         * ld-arm/attr-merge-div-0.s: New testcase.
1944         * ld-arm/attr-merge-div-00.d: Likewise.
1945         * ld-arm/attr-merge-div-01-m3.d: Likewise.
1946         * ld-arm/attr-merge-div-01.d: Likewise.
1947         * ld-arm/attr-merge-div-02.d: Likewise.
1948         * ld-arm/attr-merge-div-1.s: Likewise.
1949         * ld-arm/attr-merge-div-10-m3.d: Likewise.
1950         * ld-arm/attr-merge-div-10.d: Likewise.
1951         * ld-arm/attr-merge-div-11.d: Likewise.
1952         * ld-arm/attr-merge-div-12.d: Likewise.
1953         * ld-arm/attr-merge-div-120.d: Likewise.
1954         * ld-arm/attr-merge-div-2.s: Likewise.
1955         * ld-arm/attr-merge-div-20.d: Likewise.
1956         * ld-arm/attr-merge-div-21.d: Likewise.
1957         * ld-arm/attr-merge-div-22.d: Likewise.
1958
1959 2012-03-16  Alan Modra  <amodra@gmail.com>
1960
1961         * ld-gc/pr13683.d: Accept powerpc64 function descriptor syms.
1962
1963 2012-03-15  Alan Modra  <amodra@gmail.com>
1964
1965         * config/default.exp: Update copyright date.
1966         * ld-elf/shared.exp: Pass --no-as-needed to various tests linking
1967         shared libs.
1968         * ld-elfvers/vers.exp: Likewise.
1969
1970 2012-03-14  H.J. Lu  <hongjiu.lu@intel.com>
1971
1972         PR ld/13839
1973         * ld-elf/pr13839.d: New.
1974         * ld-elf/pr13839.s: Likewise.
1975         * ld-elf/pr13839.t: Likewise.
1976
1977 2012-03-09  H.J. Lu  <hongjiu.lu@intel.com>
1978
1979         PR ld/13817
1980         * ld-i386/pr13302.d: Updated.
1981         * ld-x86-64/pr13082-5b.d: Likewise.
1982         * ld-x86-64/pr13082-6a.d: Likewise.
1983         * ld-x86-64/pr13082-6b.d: Likewise.
1984
1985 2012-03-06  Alan Modra  <amodra@gmail.com>
1986
1987         PR ld/13683
1988         * ld-gc/pr13683.d: Allow non-zero top address digit.
1989
1990 2012-03-05  Hans-Peter Nilsson  <hp@axis.com>
1991
1992         PR ld/13803
1993         * ld-arm/fix-arm1176-off.d, ld-arm/fix-arm1176-on.d: Regexpify
1994         address of func_to_branch_to.
1995
1996 2012-03-01  Hans-Peter Nilsson  <hp@axis.com>
1997
1998         PR ld/13789
1999         * ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE.
2000
2001 2012-02-25  Walter Lee  <walt@tilera.com>
2002
2003         * ld-tilegx/reloc-be.d: New.
2004         * ld-tilegx/reloc-le.d: New.
2005         * ld-tilegx/reloc.d: Delete.
2006         * ld-tilegx/tilegx.exp: Test big and little endian.
2007
2008 2012-02-22  Nick Clifton  <nickc@redhat.com>
2009
2010         PR ld/13683
2011         * ld-gc/pr13683.c: New test source file.
2012         * ld-gc/pr13683.d: New test control and output file.
2013         * ld-gc/gc.exp: Run the pr13683 test.
2014
2015         * ld-cris/tls-gc-68: Update expected symbol table dump.
2016         * ld-cris/tls-gc-69: Likewise.
2017         * ld-cris/tls-gc-70: Likewise.
2018         * ld-cris/tls-gc-71: Likewise.
2019         * ld-cris/tls-gc-75: Likewise.
2020         * ld-cris/tls-gc-76.d: Likewise.
2021         * ld-cris/tls-gc-79.d: Likewise.
2022
2023 2012-02-20  Thomas Schwinge <thomas@schwinge.name>
2024
2025         * ld-elf/comm-data.exp: Run for *-*-gnu*.
2026
2027 2012-02-14  Alan Modra  <amodra@gmail.com>
2028
2029         * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux.
2030         * ld-elf/pr11304a.s: Always have whitespace before directives.
2031         * ld-elf/pr11304b.s: Likewise.
2032         * ld-selective/selective.exp: Test m68hc1* variant of m6811, m6812.
2033         * lib/ld-lib.exp: Likewise, and vice versa.
2034
2035 2012-02-13  Richard Henderson  <rth@redhat.com>
2036
2037         PR ld/13621
2038         * ld-elf/warn2.d: Expect ABS section for Foo.
2039         * ld-elf/zerosize1.d, ld-elf/zerosize1.s: New test.
2040
2041 2012-02-13  Alan Modra  <amodra@gmail.com>
2042
2043         * ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
2044         * ld-m68hc11/adj-brset.d: Remove redundant #target line.  Add
2045         -m m68hc11elf to ld invocation.
2046         * ld-m68hc11/adj-jump.d: Likewise.
2047         * ld-m68hc11/bug-1403.d: Likewise.
2048         * ld-m68hc11/bug-1417.d: Likewise.
2049         * ld-m68hc11/bug-3331.d: Likewise.
2050         * ld-m68hc11/relax-direct.d: Likewise.
2051         * ld-m68hc11/relax-group.d: Likewise.
2052         * ld-m68hc11/far-hc11.d: Remove redundant #target line.  Adjust for
2053         changed addresses.
2054         * ld-m68hc11/far-hc12.d: Remove redundant #target line.
2055         * ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
2056
2057 2012-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2058
2059         PR ld/13675
2060         * ld-i386/tlsnopic.dd: Update no-op padding.
2061         * ld-i386/tlspic.dd: Likewise.
2062
2063 2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>
2064
2065         PR ld/13616
2066         * ld-i386/tlsbindesc.dd: Update no-op padding.
2067         * ld-i386/tlsnopic.dd: Likewise.
2068         * ld-i386/tlspic.dd: Likewise.
2069         * ld-x86-64/tlsbin.dd: Likewise.
2070         * ld-x86-64/tlsbindesc.dd: Likewise.
2071         * ld-x86-64/tlspic.dd: Likewise.
2072
2073 2012-01-17  Alan Modra  <amodra@gmail.com>
2074
2075         * config/default.exp: Provide tmpdir/ld/collect-ld.
2076
2077 2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2078
2079         PR ld/13581
2080         * ld-x86-64/ilp32-4.s: New.
2081         * ld-x86-64/ilp32-10.d: Likewise.
2082         * ld-x86-64/ilp32-10.s: Likewise.
2083
2084         * ld-x86-64/ilp32-4.d: Adjusted.
2085         * ld-x86-64/ilp32-5.d: Likewise.
2086         * ld-x86-64/ilp32-5.s: Likewise.
2087
2088         * ld-x86-64/x86-64.exp: Run ilp32-10.
2089
2090 2012-01-05  Nick Clifton  <nickc@redhat.com>
2091
2092         * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit and
2093         64-bit objects when the 32-bit object (loaded first) contains 32+
2094         local symbols, all referenced by relocs and the 64-bit object
2095         contains a reloc that uses a symbol in the 32-bit object.
2096         * 32bit.s: New source file.
2097         * 64bit.s: New source file.
2098         * incompatible.l: New expected linker output file.
2099
2100 For older changes see ChangeLog-2011
2101 \f
2102 Copyright (C) 2012 Free Software Foundation, Inc.
2103
2104 Copying and distribution of this file, with or without modification,
2105 are permitted in any medium without royalty provided the copyright
2106 notice and this notice are preserved.
2107
2108 Local Variables:
2109 mode: change-log
2110 left-margin: 8
2111 fill-column: 74
2112 version-control: never
2113 End: