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