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