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