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