6beeb25d5042e80ca3cbd2a4ea6651eccb2a8130
[platform/upstream/binutils.git] / ld / testsuite / ChangeLog
1 2013-10-03  Will Newton  <will.newton@linaro.org>
2
3         * ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64.
4         * ld-aarch64/aarch64-elf.exp: Run ifunc tests.
5         * ld-aarch64/ifunc-1-local.d: New file.
6         * ld-aarch64/ifunc-1-local.s: Likewise.
7         * ld-aarch64/ifunc-1.d: Likewise.
8         * ld-aarch64/ifunc-1.s: Likewise.
9         * ld-aarch64/ifunc-10.d: Likewise.
10         * ld-aarch64/ifunc-10.s: Likewise.
11         * ld-aarch64/ifunc-11.d: Likewise.
12         * ld-aarch64/ifunc-11.s: Likewise.
13         * ld-aarch64/ifunc-12.d: Likewise.
14         * ld-aarch64/ifunc-12.s: Likewise.
15         * ld-aarch64/ifunc-13.d: Likewise.
16         * ld-aarch64/ifunc-13a.s: Likewise.
17         * ld-aarch64/ifunc-13b.s: Likewise.
18         * ld-aarch64/ifunc-14a.d: Likewise.
19         * ld-aarch64/ifunc-14a.s: Likewise.
20         * ld-aarch64/ifunc-14b.d: Likewise.
21         * ld-aarch64/ifunc-14b.s: Likewise.
22         * ld-aarch64/ifunc-14c.d: Likewise.
23         * ld-aarch64/ifunc-14c.s: Likewise.
24         * ld-aarch64/ifunc-14d.d: Likewise.
25         * ld-aarch64/ifunc-14e.d: Likewise.
26         * ld-aarch64/ifunc-14f.d: Likewise.
27         * ld-aarch64/ifunc-15.d: Likewise.
28         * ld-aarch64/ifunc-15.s: Likewise.
29         * ld-aarch64/ifunc-16.d: Likewise.
30         * ld-aarch64/ifunc-16.s: Likewise.
31         * ld-aarch64/ifunc-17a.d: Likewise.
32         * ld-aarch64/ifunc-17a.s: Likewise.
33         * ld-aarch64/ifunc-17b.d: Likewise.
34         * ld-aarch64/ifunc-17b.s: Likewise.
35         * ld-aarch64/ifunc-18a.d: Likewise.
36         * ld-aarch64/ifunc-18a.s: Likewise.
37         * ld-aarch64/ifunc-18b.d: Likewise.
38         * ld-aarch64/ifunc-18b.s: Likewise.
39         * ld-aarch64/ifunc-19a.d: Likewise.
40         * ld-aarch64/ifunc-19a.s: Likewise.
41         * ld-aarch64/ifunc-19b.d: Likewise.
42         * ld-aarch64/ifunc-19b.s: Likewise.
43         * ld-aarch64/ifunc-2-local.d: Likewise.
44         * ld-aarch64/ifunc-2-local.s: Likewise.
45         * ld-aarch64/ifunc-2.d: Likewise.
46         * ld-aarch64/ifunc-2.s: Likewise.
47         * ld-aarch64/ifunc-20.d: Likewise.
48         * ld-aarch64/ifunc-20.s: Likewise.
49         * ld-aarch64/ifunc-3.s: Likewise.
50         * ld-aarch64/ifunc-3a.d: Likewise.
51         * ld-aarch64/ifunc-3b.d: Likewise.
52         * ld-aarch64/ifunc-4.d: Likewise.
53         * ld-aarch64/ifunc-4.s: Likewise.
54         * ld-aarch64/ifunc-4a.d: Likewise.
55         * ld-aarch64/ifunc-5-local.s: Likewise.
56         * ld-aarch64/ifunc-5.s: Likewise.
57         * ld-aarch64/ifunc-5a-local.d: Likewise.
58         * ld-aarch64/ifunc-5a.d: Likewise.
59         * ld-aarch64/ifunc-5b-local.d: Likewise.
60         * ld-aarch64/ifunc-5b.d: Likewise.
61         * ld-aarch64/ifunc-5r-local.d: Likewise.
62         * ld-aarch64/ifunc-6.s: Likewise.
63         * ld-aarch64/ifunc-6a.d: Likewise.
64         * ld-aarch64/ifunc-6b.d: Likewise.
65         * ld-aarch64/ifunc-7.s: Likewise.
66         * ld-aarch64/ifunc-7a.d: Likewise.
67         * ld-aarch64/ifunc-7b.d: Likewise.
68         * ld-aarch64/ifunc-7c.d: Likewise.
69         * ld-aarch64/ifunc-8.d: Likewise.
70         * ld-aarch64/ifunc-8a.s: Likewise.
71         * ld-aarch64/ifunc-8b.s: Likewise.
72         * ld-aarch64/ifunc-9.d: Likewise.
73         * ld-aarch64/ifunc-9.s: Likewise.
74
75 2013-09-24  Gregory Fong  <gregory.0xf0@gmail.com>
76
77         * ld-mips-elf/eh-frame5.d, ld-mips-elf/jalx-2.dd,
78         ld-mips-elf/mips-elf.exp, ld-mips-elf/mips16-pic-2.ad,
79         ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/pic-and-nonpic-3a.dd,
80         ld-mips-elf/pic-and-nonpic-3b.ad, ld-mips-elf/pic-and-nonpic-3b.dd,
81         ld-mips-elf/pic-and-nonpic-3b.nd, ld-mips-elf/pic-and-nonpic-4b.ad,
82         ld-mips-elf/pic-and-nonpic-4b.nd, ld-mips-elf/pic-and-nonpic-4b.rd,
83         ld-mips-elf/pic-and-nonpic-5b.ad, ld-mips-elf/pic-and-nonpic-5b.nd,
84         ld-mips-elf/pic-and-nonpic-6-n32.ad,
85         ld-mips-elf/pic-and-nonpic-6-n32.dd,
86         ld-mips-elf/pic-and-nonpic-6-n32.nd,
87         ld-mips-elf/pic-and-nonpic-6-n64.ad,
88         ld-mips-elf/pic-and-nonpic-6-n64.dd,
89         ld-mips-elf/pic-and-nonpic-6-n64.nd,
90         ld-mips-elf/pic-and-nonpic-6-o32.ad,
91         ld-mips-elf/pic-and-nonpic-6-o32.dd,
92         ld-mips-elf/pic-and-nonpic-6-o32.nd, ld-mips-elf/rel32-n32.d,
93         ld-mips-elf/rel32-o32.d, ld-mips-elf/rel64.d,
94         ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r,
95         ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
96         ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
97         ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
98         ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got,
99         ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got: Update
100         for removal of _GLOBAL_OFFSET_TABLE_ from .dynsym.
101
102 2013-09-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
103
104         * ld-aarch64/eh-frame.d: Update expected output to allow for
105         64-bit addresses.
106
107 2013-09-12  Nick Clifton  <nickc@redhat.com>
108
109         * ld-elf/eh1.d: Update expected output to allow for
110         64-bit addresses.
111         * ld-elf/eh2.d: Likewise.
112         * ld-elf/eh3.d: Likewise.
113         * ld-elf/eh4.d: Likewise.
114         * ld-elf/eh5.d: Likewise.
115         * ld-elf/eh6.d: Likewise.
116         * ld-mips-elf/eh-frame1-n64.d: Likewise.
117         * ld-mips-elf/eh-frame2-n64.d: Likewise.
118         * ld-mips-elf/eh-frame3.d: Likewise.
119
120 2013-09-04  Vidya Praveen  <vidyapraveen@arm.com>
121
122         * ld-arm/export-class.exp: Fix the condition.
123
124 2013-08-29  Jakub Jelinek  <jakub@redhat.com>
125
126         * ld-x86-64/x86-64.exp: Add tlsld3, tlsgd7 and tlsgd8 tests.
127         * ld-x86-64/tlspic1.s: Add -mcmodel=large -fpic TLS GD and LD
128         sequences.
129         * ld-x86-64/tlspic.dd: Adjusted.
130         * ld-x86-64/tlspic.rd: Adjusted.
131         * ld-x86-64/tlspic-nacl.rd: Adjusted.
132         * ld-x86-64/tlsld3.dd: New test.
133         * ld-x86-64/tlsld3.s: New file.
134         * ld-x86-64/tlsgd7.dd: New test.
135         * ld-x86-64/tlsgd7.s: New file.
136         * ld-x86-64/tlsgd8.dd: New test.
137         * ld-x86-64/tlsgd8.s: New file.
138
139 2013-08-26  Roland McGrath  <mcgrathr@google.com>
140
141         * ld-x86-64/x86-64.exp (Mixed x86_64 and i386 input test 1):
142         Loosen string match to admit i386:x86-64*.
143         (Mixed x86_64 and i386 input test 2): Likewise.
144         * ld-x86-64/ilp32-2.d: Likewise.
145         * ld-x86-64/ilp32-3.d: Likewise.
146         * ld-x86-64/lp64-2.d: Likewise.
147         * ld-x86-64/lp64-3.d: Likewise.
148         * ld-x86-64/ia32-2.d: Likewise, and i386.* too.
149         * ld-x86-64/ia32-3.d: Likewise.
150
151 2013-08-26  Roland McGrath  <mcgrathr@google.com>
152
153         * ld-x86-64/ilp32-4-nacl.d: Loosen .shstrtab line regexp to match
154         any file offset.
155         * ld-x86-64/tlsbin-nacl.rd: Update expected code segment PT_LOAD.
156         * ld-x86-64/tlsbindesc-nacl.rd: Likewise.
157         * ld-scripts/rgn-at3.d: XFAIL for *-*-nacl* targets.
158         * ld-scripts/rgn-over8-ok.d: Likewise.
159
160 2013-08-24  Maciej W. Rozycki  <macro@linux-mips.org>
161
162         * ld-elf/comm-data.exp: Use check_shared_lib_support rather than
163         explicit patterns for test target qualification.  Define extra
164         tool flags for *-*-hpux* and tic6x-*-* targets.  Link with a
165         linker script.  Use alternative patterns for targets that do not
166         eliminate copy relocs, currently mn10300-*-* and vax-*-*.
167         * ld-elf/comm-data2.s: Handle HPUX's `.comm' syntax.
168         * ld-elf/comm-data2.ld: New test linker script.
169         * ld-elf/comm-data2.xd: Match section's VMA too.  Ignore ASCII
170         data dump.
171         * ld-elf/comm-data2r.rd: New test pattern.
172         * ld-elf/comm-data2r.sd: New test pattern.
173         * ld-elf/comm-data2r.xd: New test pattern.
174         * ld-mips-elf/comm-data.exp: Use check_shared_lib_support rather
175         than an explicit pattern for test target qualification.  Link
176         with a linker script.
177
178 2013-08-24  Maciej W. Rozycki  <macro@linux-mips.org>
179
180         * ld-arm/export-class.exp: Handle non-EABI targets.
181
182 2013-08-23  Roland McGrath  <mcgrathr@google.com>
183
184         * ld-x86-64/ilp32-4-nacl.d: Update for 2013-05-31 gas alignment change.
185         * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
186         * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
187         * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
188         * ld/testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
189
190 2013-08-23  Yuri Chornoivan  <yurchor@ukr.net>
191
192         PR binutils/15834
193         * ld-mips-elf/mips16-pic-1.inc: Fix typos.
194
195 2013-08-22  Alan Modra  <amodra@gmail.com>
196
197         * ld-powerpc/powerpc.exp: Substitute for le in options_regsub(ld).
198         Correct ppc64elftests option replacement.
199         (supports_ppc64): Match elf64lppc too.
200         * ld-powerpc/relbrlt.d: Update for little-endian.
201         * ld-powerpc/symtocbase.d: Likewise.
202         * ld-powerpc/tls.t: Likewise.
203         * ld-powerpc/tlsexetoc.g: Likewise.
204         * ld-powerpc/tlsso.d: Likewise.
205         * ld-powerpc/tlsso.g: Likewise.
206         * ld-powerpc/tlstoc.t: Likewise.
207         * ld-powerpc/tlstocso.d: Likewise.
208         * ld-powerpc/tlstocso.g: Likewise.
209         * ld-powerpc/tlstocso.t: Likewise.
210         * ld-powerpc/tocopt.d: Likewise.
211         * ld-powerpc/tocopt2.d: Likewise.
212         * ld-powerpc/tocopt3.d: Likewise.
213         * ld-powerpc/tocopt4.d: Likewise.
214         * ld-powerpc/tocopt5.d: Likewise.
215
216 2013-08-14  Clemens Lang  <clemens.lang@fau.de>
217
218         * ld-scripts/log2.exp: New: Run the new log2 test.
219         * ld-scripts/log2.s: Source for the new test.
220         * ld-scripts/log2.t: Linker script for new test.
221
222 2013-08-14  John Tytgat  <john@bass-software.com>
223
224         PR ld/15787
225         * ld-arm/group-relocs-ldr-bad.s: Redefine bar into foo section
226         beyond 16 bit offset width.
227         * ld-arm/group-relocs-ldrs-bad.s: Likewise.
228         * ld-arm/group-relocs-ldr-bad.d: Adjust expected result.
229         * ld-arm/group-relocs-ldrs-bad.d: Likewise.
230         * ld-arm/group-relocs.s: Add comments.  Move symbols used for sb
231         group relocations into .data section.  Drop section zero.  Use pc/r0
232         as base register when pc/sb group relocations are used.
233         * ld-arm/group-relocs.d: Adjust expected result.
234         * ld-arm/group-relocs-alu-bad-2.d: New test for sb group relocation.
235         * ld-arm/group-relocs-ldc-bad-2.d: Likewise.
236         * ld-arm/group-relocs-ldr-bad-2.d: New test for pc group relocation.
237         * ld-arm/group-relocs-ldrs-bad-2.d: Likewise.
238         * ld-arm/unresolved-2.d: Add sb relocation failure test.
239         * ld-arm/group-relocs-alu-bad-2.s: New test source.
240         * ld-arm/group-relocs-ldr-bad-2.s: Likewise.
241         * ld-arm/group-relocs-ldrs-bad-2.s: Likewise.
242         * ld-arm/group-relocs-ldc-bad-2.s: Likewise.
243         * ld-arm/unresolved-2.s: Likewise.
244         * ld-arm/arm-elf.exp: For group-relocs, drop section zero start
245         definition.  Run the new tests.
246
247 2013-08-09  Nick Clifton  <nickc@redhat.com>
248
249         * lib/ld-lib.exp (check_shared_lib_support): Note that the RL78
250         does not support shared library generation.
251
252 2013-07-31  John Tytgat  <john@bass-software.com>
253
254         PR ld/15787
255         * ld-arm/group-relocs-alu-bad-2.d; New.
256         * ld-arm/group-relocs-alu-bad-2.s: New.
257         * ld-arm/group-relocs-ldc-bad-2.d: New.
258         * ld-arm/group-relocs-ldc-bad-2.s: New.
259         * ld-arm/group-relocs-ldr-bad-2.d: New.
260         * ld-arm/group-relocs-ldr-bad-2.s: New.
261         * ld-arm/group-relocs-ldrs-bad-2.d: New.
262         * ld-arm/group-relocs-ldrs-bad-2: New.
263         * ld-arm/arm-elf.exp: Add the new tests.
264         * ld-arm/group-relocs-ldr-bad.d: Update expected output.
265         * ld-arm/group-relocs-ldr-bad.s: Likewise.
266         * ld-arm/group-relocs-ldrs-bad.d: Likewise.
267         * ld-arm/group-relocs-ldrs-bad.s: Likewise.
268         * ld-arm/group-relocs.d: Likewise.
269         * ld-arm/group-relocs.s: Likewise.
270
271 2013-07-27  Maciej W. Rozycki  <macro@linux-mips.org>
272
273         * ld-vax-elf/export-class-call.dd: New test.
274         * ld-vax-elf/export-class-call.rd: New test.
275         * ld-vax-elf/export-class-call.xd: New test.
276         * ld-vax-elf/export-class-data.dd: New test.
277         * ld-vax-elf/export-class-data.rd: New test.
278         * ld-vax-elf/export-class-data.xd: New test.
279         * ld-vax-elf/export-class.ld: New test linker script.
280         * ld-vax-elf/export-class-call.s: New test source.
281         * ld-vax-elf/export-class-data.s: New test source.
282         * ld-vax-elf/export-class-def.s: New test source.
283         * ld-vax-elf/vax-elf.exp: Run the new tests.
284         * ld-vax-elf/vax-export-class.rd: New test.
285         * ld-vax-elf/vax-export-class.xd: New test.
286         * ld-vax-elf/export-class.exp: New test script.
287
288 2013-07-27  Maciej W. Rozycki  <macro@linux-mips.org>
289
290         * ld-vax-elf/got-local-exe.xd: New test.
291         * ld-vax-elf/got-local-lib.xd: New test.
292         * ld-vax-elf/got-local-aux.s: New test source.
293         * ld-vax-elf/got-local-def.s: New test source.
294         * ld-vax-elf/got-local-ref.s: New test source.
295         * ld-vax-elf/vax-elf.exp: Run the new tests.
296
297 2013-07-24  H.J. Lu  <hongjiu.lu@intel.com>
298
299         PR ld/15762
300         * ld-elf/shared.exp (build_tests): Check .gnu.warning section
301         in the libbarw.so library.
302         * ld-elf/libbarw.rd: New.
303
304         * lib/ld-lib.exp (run_cc_link_tests): Support checking on
305         output with warning message.
306
307 2013-07-22  Sebastian Huber  <sebastian.huber@embedded-brains.de>
308
309         * ld-scripts/script.exp: Use run_dump_test instead of
310         ld_simple_link to check the error message.
311         * ld-scripts/align-with-input.d: New file.
312         * ld-scripts/region-alias-1.d: Likewise.
313         * ld-scripts/region-alias-2.d: Likewise.
314         * ld-scripts/region-alias-3.d: Likewise.
315         * ld-scripts/region-alias-4.d: Likewise.
316
317 2013-07-19  Sebastian Huber  <sebastian.huber@embedded-brains.de>
318
319         * ld-scripts/script.exp: Run align with input test.
320         * ld-scripts/align-with-input.t: New file.
321         * ld-scripts/rgn-at8.d: Likewise.
322         * ld-scripts/rgn-at8.t: Likewise.
323
324 2013-07-18  Terry Guo  <terry.guo@arm.com>
325
326         * ld-arm/thumb-b-lks-sym.d: Updated to be more flexible.
327         * ld-arm/thumb-bl-lks-sym.d: Likewise.
328
329 2013-07-18  Roland McGrath  <mcgrathr@google.com>
330
331         * ld-arm/farcall-arm-nacl.d: New file.
332         * ld-arm/farcall-arm-nacl-pic.d: New file.
333         * ld-arm/farcall-data-nacl.d: New file.
334         * ld-arm/arm-elf.exp (armeabitests_common): Add extra element to
335         "action" lists for those cases to use a different dump file for NaCl
336         targets.
337         Massage $armeabitests_common to drop the extra element or the one
338         before it, depending on [istarget "arm*-*-nacl*"].
339
340         * ld-arm/arm-elf.exp (armelftests_common): Move all "Cortex-A8
341         erratum fix", Thumb-only and interworking cases to ...
342         (armelftests_nonacl): ... here.
343         (armeabitests_common): Move all "erratum 760522 fix", Thumb-only
344         and interworking cases to ...
345         (armeabitests_nonacl): ... here.
346
347 2013-07-12  Maciej W. Rozycki  <macro@codesourcery.com>
348
349         * ld-mips-elf/nan-2008.d: New test.
350         * ld-mips-elf/nan-legacy.d: New test.
351         * ld-mips-elf/nan-mixed-1.d: New test.
352         * ld-mips-elf/nan-mixed-2.d: New test.
353         * ld-mips-elf/nan-2008.s: New test source.
354         * ld-mips-elf/nan-legacy.s: New test source.
355
356 2013-07-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
357
358         * ld-aarch64/emit-relocs-309.s: Replace got_prel19 with got.
359         * ld-aarch64/gc-relocs-309.s: Likewise.
360
361 2013-07-02  Marcus Shawcroft  <marcus.shawcroft@arm.com>
362
363         * ld-aarch64/gc-plt-relocs.d: Adjust expected .got offsets.
364         * ld-aarch64/tls-desc-ie.d: Likewise.
365         * ld-aarch64/emit-relocs-311.d: Adjust expected symbol.
366         * ld-aarch64/tls-relax-all.d: Likewise.
367         * ld-aarch64/tls-relax-gd-ie.d: Likewise.
368         * ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
369         * ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
370
371 2013-07-01  H.J. Lu  <hongjiu.lu@intel.com>
372
373         * ld-x86-64/tlsg.sd: Adjusted.
374
375 2013-06-28  H.J. Lu  <hongjiu.lu@intel.com>
376
377         PR ld/15685
378         * ld-x86-64/tlsg.s: Add a test for R_X86_64_DTPOFF64.
379         * ld-x86-64/tlsg.sd: Updated.
380
381 2013-06-24  Maciej W. Rozycki  <macro@codesourcery.com>
382
383         * ld-mips-elf/jalx-2.dd: Update for microMIPS PLT support.
384         * ld-mips-elf/pic-and-nonpic-3a.dd: Update for the _MIPS_STUBS_
385         magic symbol.
386         * ld-mips-elf/pic-and-nonpic-3b.dd: Likewise.
387         * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise.
388         * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise.
389         * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise.
390         * ld-mips-elf/stub-dynsym-1-10000.d: Likewise.
391         * ld-mips-elf/stub-dynsym-1-2fe80.d: Likewise.
392         * ld-mips-elf/stub-dynsym-1-7fff.d: Likewise.
393         * ld-mips-elf/stub-dynsym-1-8000.d: Likewise.
394         * ld-mips-elf/stub-dynsym-1-fff0.d: Likewise.
395         * ld-mips-elf/tlslib-o32.d: Likewise.
396
397 2013-06-19  Will Newton  <will.newton@linaro.org>
398
399         * ld-aarch64/aarch64-elf.exp: Remove ifunc tests.
400         * ld-ifunc/ifunc.exp: Disable ifunc tests on AArch64.
401         * ld-aarch64/ifunc-1-local.d: Remove.
402         * ld-aarch64/ifunc-1-local.s: Likewise.
403         * ld-aarch64/ifunc-1.d: Likewise.
404         * ld-aarch64/ifunc-1.s: Likewise.
405         * ld-aarch64/ifunc-10.d: Likewise.
406         * ld-aarch64/ifunc-10.s: Likewise.
407         * ld-aarch64/ifunc-11.d: Likewise.
408         * ld-aarch64/ifunc-11.s: Likewise.
409         * ld-aarch64/ifunc-12.d: Likewise.
410         * ld-aarch64/ifunc-12.s: Likewise.
411         * ld-aarch64/ifunc-13.d: Likewise.
412         * ld-aarch64/ifunc-13a.s: Likewise.
413         * ld-aarch64/ifunc-13b.s: Likewise.
414         * ld-aarch64/ifunc-14a.d: Likewise.
415         * ld-aarch64/ifunc-14a.s: Likewise.
416         * ld-aarch64/ifunc-14b.d: Likewise.
417         * ld-aarch64/ifunc-14b.s: Likewise.
418         * ld-aarch64/ifunc-14c.d: Likewise.
419         * ld-aarch64/ifunc-14c.s: Likewise.
420         * ld-aarch64/ifunc-14d.d: Likewise.
421         * ld-aarch64/ifunc-14e.d: Likewise.
422         * ld-aarch64/ifunc-14f.d: Likewise.
423         * ld-aarch64/ifunc-15.d: Likewise.
424         * ld-aarch64/ifunc-15.s: Likewise.
425         * ld-aarch64/ifunc-16.d: Likewise.
426         * ld-aarch64/ifunc-16.s: Likewise.
427         * ld-aarch64/ifunc-17a.d: Likewise.
428         * ld-aarch64/ifunc-17a.s: Likewise.
429         * ld-aarch64/ifunc-17b.d: Likewise.
430         * ld-aarch64/ifunc-17b.s: Likewise.
431         * ld-aarch64/ifunc-18a.d: Likewise.
432         * ld-aarch64/ifunc-18a.s: Likewise.
433         * ld-aarch64/ifunc-18b.d: Likewise.
434         * ld-aarch64/ifunc-18b.s: Likewise.
435         * ld-aarch64/ifunc-19a.d: Likewise.
436         * ld-aarch64/ifunc-19a.s: Likewise.
437         * ld-aarch64/ifunc-19b.d: Likewise.
438         * ld-aarch64/ifunc-19b.s: Likewise.
439         * ld-aarch64/ifunc-2-local.d: Likewise.
440         * ld-aarch64/ifunc-2-local.s: Likewise.
441         * ld-aarch64/ifunc-2.d: Likewise.
442         * ld-aarch64/ifunc-2.s: Likewise.
443         * ld-aarch64/ifunc-20.d: Likewise.
444         * ld-aarch64/ifunc-20.s: Likewise.
445         * ld-aarch64/ifunc-3.s: Likewise.
446         * ld-aarch64/ifunc-3a.d: Likewise.
447         * ld-aarch64/ifunc-3b.d: Likewise.
448         * ld-aarch64/ifunc-4.d: Likewise.
449         * ld-aarch64/ifunc-4.s: Likewise.
450         * ld-aarch64/ifunc-4a.d: Likewise.
451         * ld-aarch64/ifunc-5-local.s: Likewise.
452         * ld-aarch64/ifunc-5.s: Likewise.
453         * ld-aarch64/ifunc-5a-local.d: Likewise.
454         * ld-aarch64/ifunc-5a.d: Likewise.
455         * ld-aarch64/ifunc-5b-local.d: Likewise.
456         * ld-aarch64/ifunc-5b.d: Likewise.
457         * ld-aarch64/ifunc-5r-local.d: Likewise.
458         * ld-aarch64/ifunc-6.s: Likewise.
459         * ld-aarch64/ifunc-6a.d: Likewise.
460         * ld-aarch64/ifunc-6b.d: Likewise.
461         * ld-aarch64/ifunc-7.s: Likewise.
462         * ld-aarch64/ifunc-7a.d: Likewise.
463         * ld-aarch64/ifunc-7b.d: Likewise.
464         * ld-aarch64/ifunc-7c.d: Likewise.
465         * ld-aarch64/ifunc-8.d: Likewise.
466         * ld-aarch64/ifunc-8a.s: Likewise.
467         * ld-aarch64/ifunc-8b.s: Likewise.
468         * ld-aarch64/ifunc-9.d: Likewise.
469         * ld-aarch64/ifunc-9.s: Likewise.
470
471 2013-06-17  Will Newton  <will.newton@linaro.org>
472
473         * ld-aarch64/ifunc-1-local.d: Enable test on aarch64_be.
474         * ld-aarch64/ifunc-1.d: Likewise.
475         * ld-aarch64/ifunc-10.d: Likewise.
476         * ld-aarch64/ifunc-11.d: Likewise.
477         * ld-aarch64/ifunc-12.d: Likewise.
478         * ld-aarch64/ifunc-13.d: Likewise.
479         * ld-aarch64/ifunc-14a.d: Likewise.
480         * ld-aarch64/ifunc-14b.d: Likewise.
481         * ld-aarch64/ifunc-14c.d: Likewise.
482         * ld-aarch64/ifunc-14d.d: Likewise.
483         * ld-aarch64/ifunc-14e.d: Likewise.
484         * ld-aarch64/ifunc-14f.d: Likewise.
485         * ld-aarch64/ifunc-15.d: Likewise.
486         * ld-aarch64/ifunc-16.d: Likewise.
487         * ld-aarch64/ifunc-17a.d: Likewise.
488         * ld-aarch64/ifunc-17b.d: Likewise.
489         * ld-aarch64/ifunc-18a.d: Likewise.
490         * ld-aarch64/ifunc-18b.d: Likewise.
491         * ld-aarch64/ifunc-19a.d: Likewise.
492         * ld-aarch64/ifunc-19b.d: Likewise.
493         * ld-aarch64/ifunc-2-local.d: Likewise.
494         * ld-aarch64/ifunc-2.d: Likewise.
495         * ld-aarch64/ifunc-20.d: Likewise.
496         * ld-aarch64/ifunc-3a.d: Likewise.
497         * ld-aarch64/ifunc-3b.d: Likewise.
498         * ld-aarch64/ifunc-4.d: Likewise.
499         * ld-aarch64/ifunc-4a.d: Likewise.
500         * ld-aarch64/ifunc-5a-local.d: Likewise.
501         * ld-aarch64/ifunc-5a.d: Likewise.
502         * ld-aarch64/ifunc-5b-local.d: Likewise.
503         * ld-aarch64/ifunc-5b.d: Likewise.
504         * ld-aarch64/ifunc-5r-local.d: Likewise.
505         * ld-aarch64/ifunc-6a.d: Likewise.
506         * ld-aarch64/ifunc-6b.d: Likewise.
507         * ld-aarch64/ifunc-7a.d: Likewise.
508         * ld-aarch64/ifunc-7b.d: Likewise.
509         * ld-aarch64/ifunc-8.d: Likewise.
510         * ld-aarch64/ifunc-9.d: Likewise.
511         * ld-ifunc/ifunc.exp: Likewise.
512
513 2013-06-14  Yufeng Zhang  <yufeng.zhang@arm.com>
514
515         * ld-aarch64/aarch64-elf.exp: Add 'ifunc-7c'.
516         * ld-aarch64/ifunc-7c.d: New test.
517
518 2013-06-14  Yufeng Zhang  <yufeng.zhang@arm.com>
519
520         * ld-aarch64/ifunc-1-local.d: Replace hard-coded immediate offset
521         with regexp.
522         * ld-aarch64/ifunc-1.d: Likewise.
523         * ld-aarch64/ifunc-2-local.d: Likewise.
524         * ld-aarch64/ifunc-2.d: Likewise.
525         * ld-aarch64/ifunc-3a.d: Likewise.
526         * ld-aarch64/ifunc-2-local.s: Change not to declare __GI_foo and foo
527         global.
528
529 2013-06-13  Terry Guo  <terry.guo@arm.com>
530
531         PR ld/15302
532         * ld-arm/branch-lks-sym.ld: New script.
533         * ld-arm/thumb-b-lks-sym.s: New test.
534         * ld-arm/thumb-b-lks-sym.d: Expected disassembly.
535         * ld-arm/thumb-bl-lks-sym.s: New test.
536         * ld-arm/thumb-bl-lks-sym.d: Expected disassembly.
537         * ld-arm/arm-elf.exp: Run the new tests.
538
539 2013-06-07  Will Newton  <will.newton@linaro.org>
540
541         * ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64.
542         * ld-aarch64/aarch64-elf.exp: Add ifunc tests.
543         * ld-aarch64/ifunc-1-local.d: New file.
544         * ld-aarch64/ifunc-1-local.s: Likewise.
545         * ld-aarch64/ifunc-1.d: Likewise.
546         * ld-aarch64/ifunc-1.s: Likewise.
547         * ld-aarch64/ifunc-10.d: Likewise.
548         * ld-aarch64/ifunc-10.s: Likewise.
549         * ld-aarch64/ifunc-11.d: Likewise.
550         * ld-aarch64/ifunc-11.s: Likewise.
551         * ld-aarch64/ifunc-12.d: Likewise.
552         * ld-aarch64/ifunc-12.s: Likewise.
553         * ld-aarch64/ifunc-13.d: Likewise.
554         * ld-aarch64/ifunc-13a.s: Likewise.
555         * ld-aarch64/ifunc-13b.s: Likewise.
556         * ld-aarch64/ifunc-14a.d: Likewise.
557         * ld-aarch64/ifunc-14a.s: Likewise.
558         * ld-aarch64/ifunc-14b.d: Likewise.
559         * ld-aarch64/ifunc-14b.s: Likewise.
560         * ld-aarch64/ifunc-14c.d: Likewise.
561         * ld-aarch64/ifunc-14c.s: Likewise.
562         * ld-aarch64/ifunc-14d.d: Likewise.
563         * ld-aarch64/ifunc-14e.d: Likewise.
564         * ld-aarch64/ifunc-14f.d: Likewise.
565         * ld-aarch64/ifunc-15.d: Likewise.
566         * ld-aarch64/ifunc-15.s: Likewise.
567         * ld-aarch64/ifunc-16.d: Likewise.
568         * ld-aarch64/ifunc-16.s: Likewise.
569         * ld-aarch64/ifunc-17a.d: Likewise.
570         * ld-aarch64/ifunc-17a.s: Likewise.
571         * ld-aarch64/ifunc-17b.d: Likewise.
572         * ld-aarch64/ifunc-17b.s: Likewise.
573         * ld-aarch64/ifunc-18a.d: Likewise.
574         * ld-aarch64/ifunc-18a.s: Likewise.
575         * ld-aarch64/ifunc-18b.d: Likewise.
576         * ld-aarch64/ifunc-18b.s: Likewise.
577         * ld-aarch64/ifunc-19a.d: Likewise.
578         * ld-aarch64/ifunc-19a.s: Likewise.
579         * ld-aarch64/ifunc-19b.d: Likewise.
580         * ld-aarch64/ifunc-19b.s: Likewise.
581         * ld-aarch64/ifunc-2-local.d: Likewise.
582         * ld-aarch64/ifunc-2-local.s: Likewise.
583         * ld-aarch64/ifunc-2.d: Likewise.
584         * ld-aarch64/ifunc-2.s: Likewise.
585         * ld-aarch64/ifunc-20.d: Likewise.
586         * ld-aarch64/ifunc-20.s: Likewise.
587         * ld-aarch64/ifunc-3.s: Likewise.
588         * ld-aarch64/ifunc-3a.d: Likewise.
589         * ld-aarch64/ifunc-3b.d: Likewise.
590         * ld-aarch64/ifunc-4.d: Likewise.
591         * ld-aarch64/ifunc-4.s: Likewise.
592         * ld-aarch64/ifunc-4a.d: Likewise.
593         * ld-aarch64/ifunc-5-local.s: Likewise.
594         * ld-aarch64/ifunc-5.s: Likewise.
595         * ld-aarch64/ifunc-5a-local.d: Likewise.
596         * ld-aarch64/ifunc-5a.d: Likewise.
597         * ld-aarch64/ifunc-5b-local.d: Likewise.
598         * ld-aarch64/ifunc-5b.d: Likewise.
599         * ld-aarch64/ifunc-5r-local.d: Likewise.
600         * ld-aarch64/ifunc-6.s: Likewise.
601         * ld-aarch64/ifunc-6a.d: Likewise.
602         * ld-aarch64/ifunc-6b.d: Likewise.
603         * ld-aarch64/ifunc-7.s: Likewise.
604         * ld-aarch64/ifunc-7a.d: Likewise.
605         * ld-aarch64/ifunc-7b.d: Likewise.
606         * ld-aarch64/ifunc-8.d: Likewise.
607         * ld-aarch64/ifunc-8a.s: Likewise.
608         * ld-aarch64/ifunc-8b.s: Likewise.
609         * ld-aarch64/ifunc-9.d: Likewise.
610         * ld-aarch64/ifunc-9.s: Likewise.
611
612 2013-06-04  Roland McGrath  <mcgrathr@google.com>
613
614         * ld-size/size.exp: For *-*-nacl* targets, use options_regsub(ld)
615         to massage -m arguments into _nacl variants.
616         * ld/testsuite/ld-size/size32-1-i386.d: Loosen regexps so they
617         don't care what the exact addresses are.
618         * ld/testsuite/ld-size/size32-1-x32.d: Likewise.
619         * ld/testsuite/ld-size/size32-1-x86-64.d: Likewise.
620         * ld/testsuite/ld-size/size32-2-i386.d: Likewise.
621         * ld/testsuite/ld-size/size32-2-x32.d: Likewise.
622         * ld/testsuite/ld-size/size32-2-x86-64.d: Likewise.
623         * ld/testsuite/ld-size/size64-1-x32.d: Likewise.
624         * ld/testsuite/ld-size/size64-1-x86-64.d: Likewise.
625         * ld/testsuite/ld-size/size64-2-x32.d: Likewise.
626         * ld/testsuite/ld-size/size64-2-x86-64.d: Likewise.
627
628 2013-06-04  H.J. Lu  <hongjiu.lu@intel.com>
629
630         * ld-i386/tlsbindesc-nacl.rd: Updated for text/data/bss section
631         alignment change.
632         * ld-x86-64/split-by-file-nacl.rd: Likewise.
633
634 2013-05-31  H.J. Lu  <hongjiu.lu@intel.com>
635
636         * ld-i386/pr12718.d: Updated for text/data/bss section alignment
637         change.
638         * ld-i386/tlsbindesc.dd: Likewise.
639         * ld-i386/tlsbindesc.rd: Likewise.
640         * ld-i386/tlsnopic.dd: Likewise.
641         * ld-i386/tlspic.dd: Likewise.
642         * ld-x86-64/ilp32-4.d: Likewise.
643         * ld-x86-64/pr12718.d: Likewise.
644         * ld-x86-64/split-by-file.rd: Likewise.
645         * ld-x86-64/tlsbin.dd: Likewise.
646         * ld-x86-64/tlsbin.rd: Likewise.
647         * ld-x86-64/tlsbindesc.dd: Likewise.
648         * ld-x86-64/tlsbindesc.rd: Likewise.
649         * ld-x86-64/tlsdesc.dd: Likewise.
650         * ld-x86-64/tlsdesc.rd: Likewise.
651         * ld-x86-64/tlspic.dd: Likewise.
652         * ld-x86-64/tlspic.rd: Likewise.
653
654 2013-05-29  Maciej W. Rozycki  <macro@codesourcery.com>
655
656         * ld-mips-elf/jalr3.dd: New test.
657         * ld-mips-elf/jalr3.ld: New test linker script.
658         * ld-mips-elf/mips-elf.exp: Run the new test.
659
660 2013-05-21  Alan Modra  <amodra@gmail.com>
661
662         PR ld/12982
663         * ld-plugin/pr12982.d: Fail if RWE GNU_STACK present.
664
665 2013-05-21  Alan Modra  <amodra@gmail.com>
666
667         * ld-powerpc/export-class.exp (supports_ppc64): Delete.
668         (powerpc_export_class_test): Add "endian" param.
669         (abis): Add little-endian targets and test.
670         * ld-powerpc/powerpc-64-export-class.xd: Update for little-endian.
671
672 2013-05-10  Joel Brobecker  <brobecker@adacore.com>
673
674         * ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.hd,
675         ld-powerpc/aix-core-sec-3.hd: Adjust expected section flags
676         for section .loader.
677
678 2013-05-03  Maciej W. Rozycki  <macro@codesourcery.com>
679
680         PR ld/15365
681         * ld-elf/ehdr_start.d: Expect __ehdr_start to be STB_LOCAL.
682         * ld-mips-elf/ehdr_start-1.nd: New test.
683         * ld-mips-elf/ehdr_start-2.nd: New test.
684         * ld-mips-elf/ehdr_start-1.ld: New test linker script.
685         * ld-mips-elf/ehdr_start-2.ld: New test linker script.
686         * ld-mips-elf/ehdr_start-new.s: New test source.
687         * ld-mips-elf/ehdr_start-o32.s: New test source.
688         * ld-mips-elf/mips-elf.exp: Run the new tests.
689
690 2013-05-03  Maciej W. Rozycki  <macro@codesourcery.com>
691
692         * ld-elf/provide-hidden-s.nd: New test.
693         * ld-elf/provide-hidden-abs.nd: New test.
694         * ld-elf/provide-hidden-def.nd: New test.
695         * ld-elf/provide-hidden-dyn.nd: New test.
696         * ld-elf/provide-hidden-sec.nd: New test.
697         * ld-elf/provide-hidden-dynabs.nd: New test.
698         * ld-elf/provide-hidden-dynsec.nd: New test.
699         * ld-elf/provide-hidden-s.ld: New test linker script.
700         * ld-elf/provide-hidden-1.ld: New test linker script.
701         * ld-elf/provide-hidden-2.ld: New test linker script.
702         * ld-elf/provide-hidden-1.s: New test source.
703         * ld-elf/provide-hidden-2.s: New test source.
704         * ld-elf/provide-hidden-3.s: New test source.
705         * ld-elf/provide-hidden-4.s: New test source.
706         * ld-elf/provide-hidden.exp: New test script.
707
708 2013-05-02  Nick Clifton  <nickc@redhat.com>
709
710         * ld-elf/flags1.d: Expect this test to pass on the MSP430.
711         * ld-elf/init-fini-arrays.d: Expect this test to fail on the
712         MSP430.
713         * ld-elf/merge.d: Expect this test to pass on the MSP430.
714         * ld-elf/sec64k.exp: Skip these tests for the MSP430.
715         * ld-gc/pr13683.d: Expect this test to fail on the MSP430.
716         * ld-srec/srec.exp: Expect these tests to fail on the MSP430.
717         * ld-undefined/undefined.exp: Expect the UNDEFINED LINE test to
718         fail on the MSP430.
719
720 2013-05-01  Maciej W. Rozycki  <macro@codesourcery.com>
721
722         * lib/ld-lib.exp (check_shared_lib_support): Also exclude
723         mips*-*-elf.
724
725 2013-04-30  Hans-Peter Nilsson  <hp@axis.com>
726
727         * lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf as
728         a negative pattern instead of cris*-*-*.
729
730 2013-04-30  Will Newton  <will.newton@linaro.org>
731
732         * ld-arm/arm-elf.exp: Use linker script for IFUNC test 17.
733         * ld-arm/ifunc-17.dd: Update offsets for linker script.
734         * ld-arm/ifunc-17.gd: Likewise.
735         * ld-arm/ifunc-17.rd: Likewise.
736
737 2013-04-29  Will Newton  <will.newton@linaro.org>
738
739         * ld-arm/arm-elf.exp: Add IFUNC test 17.
740         * ld-arm/ifunc-17.dd: New file.
741         * ld-arm/ifunc-17.gd: Likewise.
742         * ld-arm/ifunc-17.rd: Likewise.
743         * ld-arm/ifunc-17.s: Likweise.
744         * ld-arm/ifunc-1.rd: Reorder relocs to match linker output.
745         * ld-arm/ifunc-2.rd: Likewise.
746         * ld-arm/ifunc-5.rd: Likewise.
747         * ld-arm/ifunc-6.rd: Likewise.
748
749 2013-04-29  Will Newton  <will.newton@linaro.org>
750
751         * ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.
752
753 2013-04-22  Alan Modra  <amodra@gmail.com>
754
755         * ld-powerpc/tlsexe.d: Adjust for section id changes.
756         * ld-powerpc/tlsexe.r: Likewise.
757         * ld-powerpc/tlsexetoc.d: Likewise.
758         * ld-powerpc/tlsexetoc.r: Likewise.
759         * ld-powerpc/tlsso.d: Likewise.
760         * ld-powerpc/tlsso.r: Likewise.
761         * ld-powerpc/tlstocso.d: Likewise.
762         * ld-powerpc/tlstocso.r: Likewise.
763
764 2013-04-15  H.J. Lu  <hongjiu.lu@intel.com>
765
766         PR ld/15371
767         * ld-ifunc/ifunc-20-i386.d: New file.
768         * ld-ifunc/ifunc-20-x86-64.d: Likewise.
769         * ld-ifunc/ifunc-20.s: Likewise.
770
771 2013-04-10  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
772
773         * ld-aarch64/gc-plt1.s: New file.
774         * ld-aarch64/gc-plt2.s: Likewise.
775         * ld-aarch64/gc-plt-hidden.s: Likewise.
776         * ld-aarch64/gc-plt-main.s: Likewise.
777         * ld-aarch64/gc-relocs-257.s: Likewise.
778         * ld-aarch64/gc-plt-relocs.d: Update expected objdump.
779         * ld-aarch64/gc-relocs-257.d: Likewise.
780         * ld-aarch64/gc-relocs-257-dyn.d: Likewise.
781         * ld-aarch64/aarch64-elf.exp: Add test.
782
783 2013-04-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
784
785         * ld-aarch64/gc-tls-relocs.d: Handle big endian format.
786         * ld-aarch64/gc-got-relocs.d: Likewise.
787
788 2013-04-04  Alan Modra  <amodra@gmail.com>
789
790         * ld-elf/shared.exp: Update regexp on --no-add-needed and
791         --no-copy-dt-needed-entries tests.
792
793 2013-04-03  Alan Modra  <amodra@gmail.com>
794
795         PR ld/15227
796         * ld-plugin/lto.exp (PR ld/12942 (3)): Remove file name and
797         line number from regexp.
798         (PR ld/15146 (2)): Similarly.
799         * ld-plugin/pr12942a.cc (main): Use __builtin_abort.
800
801 2013-03-30  Alan Modra  <amodra@gmail.com>
802
803         PR ld/15323
804         * ld-plugin/lto.exp (pr15323a.c): Compile without -flto rather
805         than using -r to effectively strip out lto info.
806
807 2013-03-29  H.J. Lu  <hongjiu.lu@intel.com>
808
809         PR ld/15323
810         * ld-plugin/lto.exp (lto_link_tests): Add pr15323a-r.o.
811         (lto_run_tests): Add a test for PR ld/15323.
812
813         * ld-plugin/pr15323.out: New file.
814         * ld-plugin/pr15323a.c: Likewise.
815         * ld-plugin/pr15323b.c: Likewise.
816
817 2013-03-22  Nick Clifton  <nickc@redhat.com>
818
819         * ld-elf/init0.s: Add alloc attribute to .section directive.
820         * ld-elf/fini1.s: Likewise.
821         * ld-elf/fini2.s: Likewise.
822         * ld-elf/fini3.s: Likewise.
823         * ld-elf/finin.s: Likewise.
824         * ld-elf/init0.s: Likewise.
825         * ld-elf/init1.s: Likewise.
826         * ld-elf/init2.s: Likewise.
827         * ld-elf/init3.s: Likewise.
828         * ld-elf/initn.s: Likewise.
829
830 2013-02-02  Michael Schewe  <michael.schewe@gmx.net>
831
832         * ld-h8300/h8300.exp: Add new relax-7 test on ELF.
833         * ld-h8300/relax-2.s: Add other direction and .w/.l variants of
834         mov insns.
835         * ld-h8300/relax-2.d: Update expected disassembly.
836         * ld-h8300/relax-7a.s: New: tests for mov @(disp:32,ERx) -> mov
837         @(disp:16,ERx).
838         * ld-h8300/relax-7b.s: New: Likewise.
839         * ld-h8300/relax-7.d: New: expected disassembly.
840
841 2013-03-20  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
842
843         * ld-elf/group8a.d (notarget): Remove aarch64*-*-*.
844         * ld-elf/group8b.d: Likewise.
845         * ld-elf/group9a.d: Likewise.
846         * ld-elf/group9b.d: Likewise.
847         * ld-elf/pr12851.d: Likewise.
848         * ld-elf/pr12975.d: Likewise.
849         * ld-elf/pr13177.d: Likewise.
850         * ld-elf/pr13195.d: Likewise.
851
852 2013-03-20  Will Newton  <will.newton@linaro.org>
853
854         * ld-elfvers/vers.exp (objdump_symstuff): Sort objdump output
855         based on the symbol name rather than address.
856         * ld-elfvers/vers1.sym: Reorder contents to match changes to vers.exp.
857         * ld-elfvers/vers15.sym: Likewise.
858         * ld-elfvers/vers18.sym: Likewise.
859         * ld-elfvers/vers21.sym: Likewise.
860         * ld-elfvers/vers9.sym: Likewise.
861
862 2013-03-20  Alan Modra  <amodra@gmail.com>
863
864         * ld-elf/rel.c, ld-elf/relmain.c, ld-elf/relmain.out: New test.
865         * ld-elf/shared.exp: Build and run it.
866
867 2013-03-20  Alan Modra  <amodra@gmail.com>
868             Will Newton <will.newton@linaro.org
869
870         * ld-elfvers/vers.exp: Add -Wl,--no-as-needed to all tests
871         linking against shared libraries.
872         * ld-elfweak/elfweak.exp: Likewise.  Enable for x86_64-linux.
873         Build main1.o using $picflag.
874
875 2013-03-18  Alan Modra  <amodra@gmail.com>
876
877         * ld-elf/pr14862.out: Expect no output.
878
879 2013-03-15  Will Newton  <will.newton@linaro.org>
880
881         * ld-arm/arm-elf.exp: Expand *-*eabi test to cover *-*eabi*.
882         * ld-arm/gc-hidden-1.d: Likewise.
883         * ld-elfvsb/elfvsb.exp: Likewise.
884         * ld-shared/shared.exp: Likewise.
885
886 2013-03-08  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
887
888         * lib/ld-lib.exp (check_gc_sections_available): Remove aarch64
889         from list of targets that don't support gc-section.
890
891 2013-03-05  Alan Modra  <amodra@gmail.com>
892
893         * ld-scripts/rgn-at6.s, * ld-scripts/rgn-at6.t, * ld-scripts/rgn-at6.d,
894         * ld-scripts/rgn-at7.t, * ld-scripts/rgn-at7.d: New tests.
895
896 2013-02-28  Nathan Sidwell  <nathan@codesourcery.com>
897
898         * ld-arm/tls-local-static.s: New test.
899         * ld-arm/tls-local-static.d: New.
900         * ld-arm/arm-elf.exp (tls-local-static): Add test.
901
902 2013-02-21  H.J. Lu  <hongjiu.lu@intel.com>
903
904         PR ld/15167
905         * ld-unique/unique.exp: Add a test for shared library with
906         reference.
907
908 2013-02-19  Maciej W. Rozycki  <macro@codesourcery.com>
909
910         * lib/ld-lib.exp (run_ld_link_tests): Add another argument, pass
911         its contents to ar_simple_create and ld_simple_link after
912         objfiles.
913         * ld-aarch64/aarch64-elf.exp: Adjust accordingly.
914         * ld-alpha/alpha.exp: Likewise.
915         * ld-arm/arm-elf.exp: Likewise.
916         * ld-arm/export-class.exp: Likewise.
917         * ld-elf/comm-data.exp: Likewise.
918         * ld-elf/eh-group.exp: Likewise.
919         * ld-elf/elf.exp: Likewise.
920         * ld-elf/export-class.exp: Likewise.
921         * ld-elfvers/vers.exp: Likewise.
922         * ld-frv/tls.exp: Likewise.
923         * ld-i386/export-class.exp: Likewise.
924         * ld-i386/i386.exp: Likewise.
925         * ld-ia64/ia64.exp: Likewise.
926         * ld-libs/libs.exp: Likewise.
927         * ld-m68k/m68k.exp: Likewise.
928         * ld-metag/metag.exp: Likewise.
929         * ld-mips-elf/comm-data.exp: Likewise.
930         * ld-mips-elf/export-class.exp: Likewise.
931         * ld-mips-elf/mips-elf.exp: Likewise.
932         * ld-mn10300/mn10300.exp: Likewise.
933         * ld-pe/pe-compile.exp: Likewise.
934         * ld-pe/pe.exp: Likewise.
935         * ld-plugin/plugin.exp: Likewise.
936         * ld-powerpc/aix52.exp: Likewise.
937         * ld-powerpc/export-class.exp: Likewise.
938         * ld-powerpc/powerpc.exp: Likewise.
939         * ld-s390/s390.exp: Likewise.
940         * ld-sh/sh-vxworks.exp: Likewise.
941         * ld-sh/sh64/sh64.exp: Likewise.
942         * ld-sparc/sparc.exp: Likewise.
943         * ld-tic6x/tic6x.exp: Likewise.
944         * ld-tilegx/tilegx.exp: Likewise.
945         * ld-tilepro/tilepro.exp: Likewise.
946         * ld-undefined/entry.exp: Likewise.
947         * ld-vax-elf/vax-elf.exp: Likewise.
948         * ld-x86-64/dwarfreloc.exp: Likewise.
949         * ld-x86-64/export-class.exp: Likewise.
950         * ld-x86-64/x86-64.exp: Likewise.
951         * ld-xc16x/xc16x.exp: Likewise.
952         * ld-xstormy16/xstormy16.exp: Likewise.
953         * ld-xtensa/xtensa.exp: Likewise.
954
955 2013-02-18  Maciej W. Rozycki  <macro@codesourcery.com>
956
957         * ld-mips-elf/jalx-2.ld: Include .rel.plt in output, give .plt a
958         mapping.
959         * ld-mips-elf/jalx-2.dd: Adjust disassembly accordingly.
960
961 2013-02-18  Alan Modra  <amodra@gmail.com>
962
963         * ld-plugin/lto.exp (Build pr15146b.so) Add -Wl,--no-as-needed.
964         (PR ld/15146 (1), (2)): Likewise.
965         (LTO 7): Likewise.
966
967 2013-02-16  H.J. Lu  <hongjiu.lu@intel.com>
968
969         PR ld/15146
970         * ld-plugin/pr15146.d: New file.
971         * ld-plugin/pr15146a.c: Likewise.
972         * ld-plugin/pr15146b.c: Likewise.
973         * ld-plugin/pr15146c.c: Likewise.
974         * ld-plugin/pr15146d.c: Likewise.
975
976         * ld-plugin/lto.exp: Add tests for PR ld/15146.
977
978 2013-02-15  Markos Chandras  <markos.chandras@imgtec.com>
979
980         * ld-metag/pcrel.d: Fix the expected disassembler
981         output to be in little endian format
982         * ld-metag/shared.d: likewise
983         * ld-metag/stub.d: likewise
984         * ld-metag/stub_pic_app.d: likewise
985         * ld-metag/stub_pic_shared.d: likewise
986         * ld-metag/stub_shared.d: likewise
987
988 2013-02-13  Richard Sandiford  <rdsandiford@googlemail.com>
989
990         * ld-mips-elf/mips16-pic-2.dd,
991         ld-mips-elf/mips16-pic-2.gd: Remove 3 unused local GOT entries.
992         * ld-mips-elf/got-page-4a.s, ld-mips-elf/got-page-4b.s,
993         ld-mips-elf/got-page-4a.d, ld-mips-elf/got-page-4a.got,
994         ld-mips-elf/got-page-4b.d, ld-mips-elf/got-page-4b.got,
995         ld-mips-elf/got-page-5.s, ld-mips-elf/got-page-5.d,
996         ld-mips-elf/got-page-5.got, ld-mips-elf/got-page-6.s,
997         ld-mips-elf/got-page-6.d, ld-mips-elf/got-page-6.got,
998         ld-mips-elf/got-page-7a.s, ld-mips-elf/got-page-7b.s,
999         ld-mips-elf/got-page-7c.s, ld-mips-elf/got-page-7d.s,
1000         ld-mips-elf/got-page-7e.s, ld-mips-elf/got-page-7.d,
1001         ld-mips-elf/got-page-7.got: New tests.
1002         * ld-mips-elf/mips-elf.exp: Run them.
1003
1004 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
1005
1006         * ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
1007         ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
1008         ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
1009         ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got: Update
1010         for new hash table order.
1011
1012 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
1013
1014         * ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-multi-got-1.d,
1015         ld-mips-elf/tls-multi-got-1.got: Update for changes in the order
1016         that symbols are added to per-bfd GOTs.
1017
1018 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
1019
1020         * ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
1021         ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tlsbin-o32.d,
1022         ld-mips-elf/tlsbin-o32.got, ld-mips-elf/tlsdyn-o32-1.d,
1023         ld-mips-elf/tlsdyn-o32-1.got, ld-mips-elf/tlsdyn-o32-2.d,
1024         ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.d,
1025         ld-mips-elf/tlsdyn-o32-3.got, ld-mips-elf/tlsdyn-o32.d,
1026         ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlslib-o32.d,
1027         ld-mips-elf/tlslib-o32.got, ld-mips-elf/tlslib-o32-hidden.got,
1028         ld-mips-elf/tlslib-o32-ver.got: Adjust GOT layout for new
1029         got_entry hash function.
1030
1031 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
1032
1033         * ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.got: Remove
1034         unused GOT entries.
1035
1036 2013-02-07  H.J. Lu  <hongjiu.lu@intel.com>
1037
1038         PR ld/15107
1039         * ld-unique/unique_empty.s: Add reference to "b".
1040
1041 2013-02-06  H.J. Lu  <hongjiu.lu@intel.com>
1042
1043         * ld-size/size-10.rd: Updated.
1044         * ld-size/size-8.rd: Likewise.
1045         * ld-size/size32-2-i386.d: Likewise.
1046         * ld-size/size32-2-x32.d: Likewise.
1047         * ld-size/size32-2-x86-64.d: Likewise.
1048         * ld-size/size64-2-x32.d: Likewise.
1049         * ld-size/size64-2-x86-64.d: Likewise.
1050
1051         * ld-size/size.exp (run_time_tests): Pass --hash-styl=gnu to
1052         linker for size-8 test.
1053
1054 2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
1055             Andrew Jenner <andrew@codesourcery.com>
1056
1057         Based on patches from Altera Corporation.
1058
1059         * ld-nios2/emit-relocs-1a.s: New.
1060         * ld-nios2/emit-relocs-1b.s: New.
1061         * ld-nios2/emit-relocs-1.d: New.
1062         * ld-nios2/emit-relocs-1.ld: New.
1063         * ld-nios2/gprel.d: New.
1064         * ld-nios2/gprel.s: New.
1065         * ld-nios2/hilo16.d: New.
1066         * ld-nios2/hilo16.s: New.
1067         * ld-nios2/hilo16_symbol.s: New.
1068         * ld-nios2/imm5.d: New.
1069         * ld-nios2/imm5.s: New.
1070         * ld-nios2/imm5_symbol.s: New.
1071         * ld-nios2/nios2.exp: New.
1072         * ld-nios2/pcrel16.d: New.
1073         * ld-nios2/pcrel16_label.s: New.
1074         * ld-nios2/pcrel16.s: New.
1075         * ld-nios2/relax_callr.d: New.
1076         * ld-nios2/relax_callr.ld: New.
1077         * ld-nios2/relax_callr.s: New.
1078         * ld-nios2/relax_cjmp.d: New.
1079         * ld-nios2/relax_cjmp.s: New.
1080         * ld-nios2/relax_jmp.ld: New.
1081         * ld-nios2/relax_section.d: New.
1082         * ld-nios2/relax_section.s: New.
1083         * ld-nios2/relax_ujmp.d: New.
1084         * ld-nios2/relax_ujmp.s: New.
1085         * ld-nios2/reloc.d: New.
1086         * ld-nios2/reloc.s: New.
1087         * ld-nios2/reloc_symbol.s: New.
1088         * ld-nios2/s16.d: New.
1089         * ld-nios2/s16.s: New.
1090         * ld-nios2/s16_symbol.s: New.
1091         * ld-nios2/u16.d: New.
1092         * ld-nios2/u16.s: New.
1093         * ld-nios2/u16_symbol.s: New.
1094         * ld-elf/indirect.exp: Skip on targets that don't support
1095         -shared -fPIC.
1096         * ld-elfcomm/elfcomm.exp: Build with -G0 for nios2.
1097         * ld-plugin/lto.exp: Skip shared library tests on targets that
1098         don't support them.  Skip execution tests on non-native targets.
1099
1100 2013-02-06  H.J. Lu  <hongjiu.lu@intel.com>
1101
1102         * ld-elf/now-1.d: New file.
1103         * ld-elf/now-2.d: Likewise.
1104         * ld-elf/now-3.d: Likewise.
1105         * ld-elf/now-4.d: Likewise.
1106         * ld-elf/rpath-1.d: Likewise.
1107         * ld-elf/rpath-2.d: Likewise.
1108         * ld-elf/runpath-1.d: Likewise.
1109         * ld-elf/runpath-2.d: Likewise.
1110
1111 2013-02-06  Alan Modra  <amodra@gmail.com>
1112
1113         PR ld/15096
1114         * ld-elf/new-dtags-1.d: Delete.
1115         * ld-elf/new-dtags-2.d: Likewise.
1116         * ld-elf/new-dtags-3.d: Likewise.
1117         * ld-elf/new-dtags-4.d: Likewise.
1118         * ld-elf/new-dtags-5.d: Likewise.
1119         * ld-elf/new-dtags-6.d: Likewise.
1120         * ld-elf/new-dtags-7.d: Likewise.
1121         * ld-elf/new-dtags-8.d: Likewise.
1122
1123 2013-02-04  H.J. Lu  <hongjiu.lu@intel.com>
1124
1125         PR ld/15096
1126         * ld-elf/new-dtags-1.d: New test.
1127         * ld-elf/new-dtags-2.d: Likewise.
1128         * ld-elf/new-dtags-3.d: Likewise.
1129         * ld-elf/new-dtags-4.d: Likewise.
1130         * ld-elf/new-dtags-5.d: Likewise.
1131         * ld-elf/new-dtags-6.d: Likewise.
1132         * ld-elf/new-dtags-7.d: Likewise.
1133         * ld-elf/new-dtags-8.d: Likewise.
1134
1135 2013-01-31  Alan Modra  <amodra@gmail.com>
1136
1137         * ld-powerpc/tlsexe.d: Update for changed stub names.
1138         * ld-powerpc/tlsexe.r: Likewise.
1139         * ld-powerpc/tlsexetoc.d: Likewise.
1140         * ld-powerpc/tlsexetoc.r: Likewise.
1141         * ld-powerpc/tlsso.d: Likewise.
1142         * ld-powerpc/tlsso.r: Likewise.
1143         * ld-powerpc/tlstocso.d: Likewise.
1144         * ld-powerpc/tlstocso.r: Likewise.
1145
1146 2013-01-31  Hans-Peter Nilsson  <hp@axis.com>
1147
1148         * ld-cris/libdso-13.d: Adjust for --enable-new-dtags now
1149         default for *-*-linux-* by passing explicitly for all targets.
1150
1151 2013-01-21  Alan Modra  <amodra@gmail.com>
1152
1153         * ld-size/size.exp (build_tests <size-7, size-8>): Pass
1154         --no-as-needed in cflags.
1155
1156 2013-01-19  H.J. Lu  <hongjiu.lu@intel.com>
1157
1158         * config/default.exp (get_target_emul): Also set HOSTING_SCRT0.
1159
1160         * lib/ld-lib.exp (default_ld_link): Use HOSTING_SCRT0 for -pie.
1161
1162 2013-01-18  H.J. Lu  <hongjiu.lu@intel.com>
1163
1164         * ld-size/size-10.rd: Updated.
1165         * ld-size/size-8.rd: Likewise.
1166         * ld-size/size32-2-i386.d: Likewise.
1167         * ld-size/size32-2-x32.d: Likewise.
1168         * ld-size/size32-2-x86-64.d: Likewise.
1169         * ld-size/size64-2-x32.d: Likewise.
1170         * ld-size/size64-2-x86-64.d: Likewise.
1171
1172 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
1173
1174         * ld-size/size-7.out: New file.
1175         * ld-size/size-8.out: Likewise.
1176         * ld-size/size-9.out: Likewise.
1177         * ld-size/size-9.rd: Likewise.
1178         * ld-size/size-9a.c: Likewise.
1179         * ld-size/size-9b.c: Likewise.
1180         * ld-size/size-10.out: Likewise.
1181         * ld-size/size-10.rd: Likewise.
1182         * ld-size/size-10a.c: Likewise.
1183         * ld-size/size-10b.c: Likewise.
1184
1185         * ld-size/size.exp (build_tests): Build libsize-9.so and
1186         libsize-10.so.
1187         Run-time size relocation tests if supported.
1188         (run_time_tests): New.
1189
1190 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
1191
1192         * ld-size/size-1.c: New file.
1193         * ld-size/size-1.out: Likewise.
1194         * ld-size/size-1a.c: Likewise.
1195         * ld-size/size-1b.c: Likewise.
1196         * ld-size/size-2.c: Likewise.
1197         * ld-size/size-2.out: Likewise.
1198         * ld-size/size-2a.c: Likewise.
1199         * ld-size/size-2b.c: Likewise.
1200
1201         * ld-size/size.exp (build_tests): Build libsize-1.so and
1202         libsize-2.so.
1203         (run_tests): Run size-1 and size-2.
1204
1205 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
1206
1207         * ld-size/size32-3-i386.d: New file.
1208         * ld-size/size32-3-x32.d: Likewise.
1209         * ld-size/size32-3-x86-64.d: Likewise.
1210         * ld-size/size32-3a.s: Likewise.
1211         * ld-size/size32-3b.s: Likewise.
1212
1213 2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1214
1215         * ld-size/size.exp: New file.
1216         * ld-size/size32-1-i386.d: Likewise.
1217         * ld-size/size32-1-x32.d: Likewise.
1218         * ld-size/size32-1-x86-64.d: Likewise.
1219         * ld-size/size32-1.s: Likewise.
1220         * ld-size/size32-2-i386.d: Likewise.
1221         * ld-size/size32-2-x32.d: Likewise.
1222         * ld-size/size32-2-x86-64.d: Likewise.
1223         * ld-size/size32-2.s: Likewise.
1224         * ld-size/size64-1-x32.d: Likewise.
1225         * ld-size/size64-1-x86-64.d: Likewise.
1226         * ld-size/size64-1.s: Likewise.
1227         * ld-size/size64-2-x32.d: Likewise.
1228         * ld-size/size64-2-x86-64.d: Likewise.
1229         * ld-size/size64-2.s: Likewise.
1230         * ld-size/size-3.c: Likewise.
1231         * ld-size/size-3.out: Likewise.
1232         * ld-size/size-3a.c: Likewise.
1233         * ld-size/size-3b.c: Likewise.
1234         * ld-size/size-3c.c: Likewise.
1235         * ld-size/size-4.out: Likewise.
1236         * ld-size/size-4a.c: Likewise.
1237         * ld-size/size-4b.c: Likewise.
1238         * ld-size/size-5.out: Likewise.
1239         * ld-size/size-5a.c: Likewise.
1240         * ld-size/size-5b.c: Likewise.
1241         * ld-size/size-6.out: Likewise.
1242         * ld-size/size-6a.c: Likewise.
1243         * ld-size/size-6b.c: Likewise.
1244         * ld-size/size-7.rd: Likewise.
1245         * ld-size/size-7a.c: Likewise.
1246         * ld-size/size-7b.c: Likewise.
1247         * ld-size/size-8.rd: Likewise.
1248         * ld-size/size-8a.c: Likewise.
1249         * ld-size/size-8b.c: Likewise.
1250
1251 2013-01-16  Alan Modra  <amodra@gmail.com>
1252
1253         * ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline.
1254
1255 2013-01-15  Alan Modra  <amodra@gmail.com>
1256
1257         * ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs.
1258         * ld-powerpc/tlsso.g: Likewise.
1259         * ld-powerpc/tlsso.r: Likewise.
1260         * ld-powerpc/tlstocso.d: Likewise.
1261         * ld-powerpc/tlstocso.g: Likewise.
1262
1263 2013-01-15  Alan Modra  <amodra@gmail.com>
1264
1265         * ld-plugin/lto-16a.d: Match powerpc64 function symbol type.
1266         * ld-plugin/lto-16b.d: Likewise.
1267         * ld-plugin/lto-17a.d: Likewise.
1268         * ld-plugin/lto-17b-2.d: Likewise.
1269
1270 2013-01-14  Alan Modra  <amodra@gmail.com>
1271
1272         * ld-elf/pr14926.d: Disable for d10v, msp, xstormy.
1273         * ld-elf/sec-to-seg.exp: Choose correct variant output to suit
1274         updated microblaze page size.
1275
1276 2013-01-10  Will Newton <will.newton@imgtec.com>
1277
1278         * ld-elf/merge.d: Mark Meta as xfail.
1279         * ld-gc/start.d: Skip this test on Meta.
1280         * ld-gc/personality.d: Skip this test on Meta.
1281         * ld-metag/external.s: New file.
1282         * ld-metag/metag.exp: New file.
1283         * ld-metag/pcrel.d: New file.
1284         * ld-metag/pcrel.s: New file.
1285         * ld-metag/shared.d: New file.
1286         * ld-metag/shared.r: New file.
1287         * ld-metag/shared.s: New file.
1288         * ld-metag/stub.d: New file.
1289         * ld-metag/stub.s: New file.
1290         * ld-metag/stub_pic_app.d: New file.
1291         * ld-metag/stub_pic_app.r: New file.
1292         * ld-metag/stub_pic_app.s: New file.
1293         * ld-metag/stub_pic_shared.d: New file.
1294         * ld-metag/stub_pic_shared.s: New file.
1295         * ld-metag/stub_shared.d: New file.
1296         * ld-metag/stub_shared.r: New file.
1297         * ld-metag/stub_shared.s: New file.
1298
1299 2013-01-08  Thomas Schwinge  <thomas@codesourcery.com>
1300
1301         * ld-i386/export-class.exp: Restore (and reword) comment about
1302         excluded targets.
1303
1304 2013-01-04  Yufeng Zhang  <yufeng.zhang@arm.com>
1305
1306         * ld-aarch64/emit-relocs-264.d: Append the '-Mno-aliases' option to
1307         the objdump directive.
1308         * ld-aarch64/emit-relocs-266.d: Ditto.
1309         * ld-aarch64/emit-relocs-268.d: Ditto.
1310         * ld-aarch64/emit-relocs-269.d: Ditto.
1311         * ld-aarch64/emit-relocs-270.d: Ditto.
1312         * ld-aarch64/emit-relocs-271.d: Ditto.
1313         * ld-aarch64/emit-relocs-272.d: Ditto.
1314
1315 For older changes see ChangeLog-2012
1316 \f
1317 Copyright (C) 2013 Free Software Foundation, Inc.
1318
1319 Copying and distribution of this file, with or without modification,
1320 are permitted in any medium without royalty provided the copyright
1321 notice and this notice are preserved.
1322
1323 Local Variables:
1324 mode: change-log
1325 left-margin: 8
1326 fill-column: 74
1327 version-control: never
1328 End: