ld/
[platform/upstream/binutils.git] / ld / testsuite / ChangeLog
1 2013-06-14  Yufeng Zhang  <yufeng.zhang@arm.com>
2
3         * ld-aarch64/ifunc-1-local.d: Replace hard-coded immediate offset
4         with regexp.
5         * ld-aarch64/ifunc-1.d: Likewise.
6         * ld-aarch64/ifunc-2-local.d: Likewise.
7         * ld-aarch64/ifunc-2.d: Likewise. 
8         * ld-aarch64/ifunc-3a.d: Likewise.
9         * ld-aarch64/ifunc-2-local.s: Change not to declare __GI_foo and foo
10         global.
11
12 2013-06-13  Terry Guo  <terry.guo@arm.com>
13
14         PR ld/15302
15         * ld-arm/branch-lks-sym.ld: New script.
16         * ld-arm/thumb-b-lks-sym.s: New test.
17         * ld-arm/thumb-b-lks-sym.d: Expected disassembly.
18         * ld-arm/thumb-bl-lks-sym.s: New test.
19         * ld-arm/thumb-bl-lks-sym.d: Expected disassembly.
20         * ld-arm/arm-elf.exp: Run the new tests.
21
22 2013-06-07  Will Newton  <will.newton@linaro.org>
23
24         * ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64.
25         * ld-aarch64/aarch64-elf.exp: Add ifunc tests.
26         * ld-aarch64/ifunc-1-local.d: New file.
27         * ld-aarch64/ifunc-1-local.s: Likewise.
28         * ld-aarch64/ifunc-1.d: Likewise.
29         * ld-aarch64/ifunc-1.s: Likewise.
30         * ld-aarch64/ifunc-10.d: Likewise.
31         * ld-aarch64/ifunc-10.s: Likewise.
32         * ld-aarch64/ifunc-11.d: Likewise.
33         * ld-aarch64/ifunc-11.s: Likewise.
34         * ld-aarch64/ifunc-12.d: Likewise.
35         * ld-aarch64/ifunc-12.s: Likewise.
36         * ld-aarch64/ifunc-13.d: Likewise.
37         * ld-aarch64/ifunc-13a.s: Likewise.
38         * ld-aarch64/ifunc-13b.s: Likewise.
39         * ld-aarch64/ifunc-14a.d: Likewise.
40         * ld-aarch64/ifunc-14a.s: Likewise.
41         * ld-aarch64/ifunc-14b.d: Likewise.
42         * ld-aarch64/ifunc-14b.s: Likewise.
43         * ld-aarch64/ifunc-14c.d: Likewise.
44         * ld-aarch64/ifunc-14c.s: Likewise.
45         * ld-aarch64/ifunc-14d.d: Likewise.
46         * ld-aarch64/ifunc-14e.d: Likewise.
47         * ld-aarch64/ifunc-14f.d: Likewise.
48         * ld-aarch64/ifunc-15.d: Likewise.
49         * ld-aarch64/ifunc-15.s: Likewise.
50         * ld-aarch64/ifunc-16.d: Likewise.
51         * ld-aarch64/ifunc-16.s: Likewise.
52         * ld-aarch64/ifunc-17a.d: Likewise.
53         * ld-aarch64/ifunc-17a.s: Likewise.
54         * ld-aarch64/ifunc-17b.d: Likewise.
55         * ld-aarch64/ifunc-17b.s: Likewise.
56         * ld-aarch64/ifunc-18a.d: Likewise.
57         * ld-aarch64/ifunc-18a.s: Likewise.
58         * ld-aarch64/ifunc-18b.d: Likewise.
59         * ld-aarch64/ifunc-18b.s: Likewise.
60         * ld-aarch64/ifunc-19a.d: Likewise.
61         * ld-aarch64/ifunc-19a.s: Likewise.
62         * ld-aarch64/ifunc-19b.d: Likewise.
63         * ld-aarch64/ifunc-19b.s: Likewise.
64         * ld-aarch64/ifunc-2-local.d: Likewise.
65         * ld-aarch64/ifunc-2-local.s: Likewise.
66         * ld-aarch64/ifunc-2.d: Likewise.
67         * ld-aarch64/ifunc-2.s: Likewise.
68         * ld-aarch64/ifunc-20.d: Likewise.
69         * ld-aarch64/ifunc-20.s: Likewise.
70         * ld-aarch64/ifunc-3.s: Likewise.
71         * ld-aarch64/ifunc-3a.d: Likewise.
72         * ld-aarch64/ifunc-3b.d: Likewise.
73         * ld-aarch64/ifunc-4.d: Likewise.
74         * ld-aarch64/ifunc-4.s: Likewise.
75         * ld-aarch64/ifunc-4a.d: Likewise.
76         * ld-aarch64/ifunc-5-local.s: Likewise.
77         * ld-aarch64/ifunc-5.s: Likewise.
78         * ld-aarch64/ifunc-5a-local.d: Likewise.
79         * ld-aarch64/ifunc-5a.d: Likewise.
80         * ld-aarch64/ifunc-5b-local.d: Likewise.
81         * ld-aarch64/ifunc-5b.d: Likewise.
82         * ld-aarch64/ifunc-5r-local.d: Likewise.
83         * ld-aarch64/ifunc-6.s: Likewise.
84         * ld-aarch64/ifunc-6a.d: Likewise.
85         * ld-aarch64/ifunc-6b.d: Likewise.
86         * ld-aarch64/ifunc-7.s: Likewise.
87         * ld-aarch64/ifunc-7a.d: Likewise.
88         * ld-aarch64/ifunc-7b.d: Likewise.
89         * ld-aarch64/ifunc-8.d: Likewise.
90         * ld-aarch64/ifunc-8a.s: Likewise.
91         * ld-aarch64/ifunc-8b.s: Likewise.
92         * ld-aarch64/ifunc-9.d: Likewise.
93         * ld-aarch64/ifunc-9.s: Likewise.
94
95 2013-06-04  Roland McGrath  <mcgrathr@google.com>
96
97         * ld-size/size.exp: For *-*-nacl* targets, use options_regsub(ld)
98         to massage -m arguments into _nacl variants.
99         * ld/testsuite/ld-size/size32-1-i386.d: Loosen regexps so they
100         don't care what the exact addresses are.
101         * ld/testsuite/ld-size/size32-1-x32.d: Likewise.
102         * ld/testsuite/ld-size/size32-1-x86-64.d: Likewise.
103         * ld/testsuite/ld-size/size32-2-i386.d: Likewise.
104         * ld/testsuite/ld-size/size32-2-x32.d: Likewise.
105         * ld/testsuite/ld-size/size32-2-x86-64.d: Likewise.
106         * ld/testsuite/ld-size/size64-1-x32.d: Likewise.
107         * ld/testsuite/ld-size/size64-1-x86-64.d: Likewise.
108         * ld/testsuite/ld-size/size64-2-x32.d: Likewise.
109         * ld/testsuite/ld-size/size64-2-x86-64.d: Likewise.
110
111 2013-06-04  H.J. Lu  <hongjiu.lu@intel.com>
112
113         * ld-i386/tlsbindesc-nacl.rd: Updated for text/data/bss section
114         alignment change.
115         * ld-x86-64/split-by-file-nacl.rd: Likewise.
116
117 2013-05-31  H.J. Lu  <hongjiu.lu@intel.com>
118
119         * ld-i386/pr12718.d: Updated for text/data/bss section alignment
120         change.
121         * ld-i386/tlsbindesc.dd: Likewise.
122         * ld-i386/tlsbindesc.rd: Likewise.
123         * ld-i386/tlsnopic.dd: Likewise.
124         * ld-i386/tlspic.dd: Likewise.
125         * ld-x86-64/ilp32-4.d: Likewise.
126         * ld-x86-64/pr12718.d: Likewise.
127         * ld-x86-64/split-by-file.rd: Likewise.
128         * ld-x86-64/tlsbin.dd: Likewise.
129         * ld-x86-64/tlsbin.rd: Likewise.
130         * ld-x86-64/tlsbindesc.dd: Likewise.
131         * ld-x86-64/tlsbindesc.rd: Likewise.
132         * ld-x86-64/tlsdesc.dd: Likewise.
133         * ld-x86-64/tlsdesc.rd: Likewise.
134         * ld-x86-64/tlspic.dd: Likewise.
135         * ld-x86-64/tlspic.rd: Likewise.
136
137 2013-05-29  Maciej W. Rozycki  <macro@codesourcery.com>
138
139         * ld-mips-elf/jalr3.dd: New test.
140         * ld-mips-elf/jalr3.ld: New test linker script.
141         * ld-mips-elf/mips-elf.exp: Run the new test.
142
143 2013-05-21  Alan Modra  <amodra@gmail.com>
144
145         PR ld/12982
146         * ld-plugin/pr12982.d: Fail if RWE GNU_STACK present.
147
148 2013-05-21  Alan Modra  <amodra@gmail.com>
149
150         * ld-powerpc/export-class.exp (supports_ppc64): Delete.
151         (powerpc_export_class_test): Add "endian" param.
152         (abis): Add little-endian targets and test.
153         * ld-powerpc/powerpc-64-export-class.xd: Update for little-endian.
154
155 2013-05-10  Joel Brobecker  <brobecker@adacore.com>
156
157         * ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.hd,
158         ld-powerpc/aix-core-sec-3.hd: Adjust expected section flags
159         for section .loader.
160
161 2013-05-03  Maciej W. Rozycki  <macro@codesourcery.com>
162
163         PR ld/15365
164         * ld-elf/ehdr_start.d: Expect __ehdr_start to be STB_LOCAL.
165         * ld-mips-elf/ehdr_start-1.nd: New test.
166         * ld-mips-elf/ehdr_start-2.nd: New test.
167         * ld-mips-elf/ehdr_start-1.ld: New test linker script.
168         * ld-mips-elf/ehdr_start-2.ld: New test linker script.
169         * ld-mips-elf/ehdr_start-new.s: New test source.
170         * ld-mips-elf/ehdr_start-o32.s: New test source.
171         * ld-mips-elf/mips-elf.exp: Run the new tests.
172
173 2013-05-03  Maciej W. Rozycki  <macro@codesourcery.com>
174
175         * ld-elf/provide-hidden-s.nd: New test.
176         * ld-elf/provide-hidden-abs.nd: New test.
177         * ld-elf/provide-hidden-def.nd: New test.
178         * ld-elf/provide-hidden-dyn.nd: New test.
179         * ld-elf/provide-hidden-sec.nd: New test.
180         * ld-elf/provide-hidden-dynabs.nd: New test.
181         * ld-elf/provide-hidden-dynsec.nd: New test.
182         * ld-elf/provide-hidden-s.ld: New test linker script.
183         * ld-elf/provide-hidden-1.ld: New test linker script.
184         * ld-elf/provide-hidden-2.ld: New test linker script.
185         * ld-elf/provide-hidden-1.s: New test source.
186         * ld-elf/provide-hidden-2.s: New test source.
187         * ld-elf/provide-hidden-3.s: New test source.
188         * ld-elf/provide-hidden-4.s: New test source.
189         * ld-elf/provide-hidden.exp: New test script.
190
191 2013-05-02  Nick Clifton  <nickc@redhat.com>
192
193         * ld-elf/flags1.d: Expect this test to pass on the MSP430.
194         * ld-elf/init-fini-arrays.d: Expect this test to fail on the
195         MSP430.
196         * ld-elf/merge.d: Expect this test to pass on the MSP430.
197         * ld-elf/sec64k.exp: Skip these tests for the MSP430.
198         * ld-gc/pr13683.d: Expect this test to fail on the MSP430.
199         * ld-srec/srec.exp: Expect these tests to fail on the MSP430.
200         * ld-undefined/undefined.exp: Expect the UNDEFINED LINE test to
201         fail on the MSP430.
202
203 2013-05-01  Maciej W. Rozycki  <macro@codesourcery.com>
204
205         * lib/ld-lib.exp (check_shared_lib_support): Also exclude
206         mips*-*-elf.
207
208 2013-04-30  Hans-Peter Nilsson  <hp@axis.com>
209
210         * lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf as
211         a negative pattern instead of cris*-*-*.
212
213 2013-04-30  Will Newton  <will.newton@linaro.org>
214
215         * ld-arm/arm-elf.exp: Use linker script for IFUNC test 17.
216         * ld-arm/ifunc-17.dd: Update offsets for linker script.
217         * ld-arm/ifunc-17.gd: Likewise.
218         * ld-arm/ifunc-17.rd: Likewise.
219
220 2013-04-29  Will Newton  <will.newton@linaro.org>
221
222         * ld-arm/arm-elf.exp: Add IFUNC test 17.
223         * ld-arm/ifunc-17.dd: New file.
224         * ld-arm/ifunc-17.gd: Likewise.
225         * ld-arm/ifunc-17.rd: Likewise.
226         * ld-arm/ifunc-17.s: Likweise.
227         * ld-arm/ifunc-1.rd: Reorder relocs to match linker output.
228         * ld-arm/ifunc-2.rd: Likewise.
229         * ld-arm/ifunc-5.rd: Likewise.
230         * ld-arm/ifunc-6.rd: Likewise.
231
232 2013-04-29  Will Newton  <will.newton@linaro.org>
233
234         * ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.
235
236 2013-04-22  Alan Modra  <amodra@gmail.com>
237
238         * ld-powerpc/tlsexe.d: Adjust for section id changes.
239         * ld-powerpc/tlsexe.r: Likewise.
240         * ld-powerpc/tlsexetoc.d: Likewise.
241         * ld-powerpc/tlsexetoc.r: Likewise.
242         * ld-powerpc/tlsso.d: Likewise.
243         * ld-powerpc/tlsso.r: Likewise.
244         * ld-powerpc/tlstocso.d: Likewise.
245         * ld-powerpc/tlstocso.r: Likewise.
246
247 2013-04-15  H.J. Lu  <hongjiu.lu@intel.com>
248
249         PR ld/15371
250         * ld-ifunc/ifunc-20-i386.d: New file.
251         * ld-ifunc/ifunc-20-x86-64.d: Likewise.
252         * ld-ifunc/ifunc-20.s: Likewise.
253
254 2013-04-10  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
255
256         * ld-aarch64/gc-plt1.s: New file.
257         * ld-aarch64/gc-plt2.s: Likewise.
258         * ld-aarch64/gc-plt-hidden.s: Likewise.
259         * ld-aarch64/gc-plt-main.s: Likewise.
260         * ld-aarch64/gc-relocs-257.s: Likewise.
261         * ld-aarch64/gc-plt-relocs.d: Update expected objdump.
262         * ld-aarch64/gc-relocs-257.d: Likewise.
263         * ld-aarch64/gc-relocs-257-dyn.d: Likewise.
264         * ld-aarch64/aarch64-elf.exp: Add test.
265
266 2013-04-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
267
268         * ld-aarch64/gc-tls-relocs.d: Handle big endian format.
269         * ld-aarch64/gc-got-relocs.d: Likewise.
270
271 2013-04-04  Alan Modra  <amodra@gmail.com>
272
273         * ld-elf/shared.exp: Update regexp on --no-add-needed and
274         --no-copy-dt-needed-entries tests.
275
276 2013-04-03  Alan Modra  <amodra@gmail.com>
277
278         PR ld/15227
279         * ld-plugin/lto.exp (PR ld/12942 (3)): Remove file name and
280         line number from regexp.
281         (PR ld/15146 (2)): Similarly.
282         * ld-plugin/pr12942a.cc (main): Use __builtin_abort.
283
284 2013-03-30  Alan Modra  <amodra@gmail.com>
285
286         PR ld/15323
287         * ld-plugin/lto.exp (pr15323a.c): Compile without -flto rather
288         than using -r to effectively strip out lto info.
289
290 2013-03-29  H.J. Lu  <hongjiu.lu@intel.com>
291
292         PR ld/15323
293         * ld-plugin/lto.exp (lto_link_tests): Add pr15323a-r.o.
294         (lto_run_tests): Add a test for PR ld/15323.
295
296         * ld-plugin/pr15323.out: New file.
297         * ld-plugin/pr15323a.c: Likewise.
298         * ld-plugin/pr15323b.c: Likewise.
299
300 2013-03-22  Nick Clifton  <nickc@redhat.com>
301
302         * ld-elf/init0.s: Add alloc attribute to .section directive.
303         * ld-elf/fini1.s: Likewise.
304         * ld-elf/fini2.s: Likewise.
305         * ld-elf/fini3.s: Likewise.
306         * ld-elf/finin.s: Likewise.
307         * ld-elf/init0.s: Likewise.
308         * ld-elf/init1.s: Likewise.
309         * ld-elf/init2.s: Likewise.
310         * ld-elf/init3.s: Likewise.
311         * ld-elf/initn.s: Likewise.
312
313 2013-02-02  Michael Schewe  <michael.schewe@gmx.net>
314
315         * ld-h8300/h8300.exp: Add new relax-7 test on ELF.
316         * ld-h8300/relax-2.s: Add other direction and .w/.l variants of
317         mov insns.
318         * ld-h8300/relax-2.d: Update expected disassembly.
319         * ld-h8300/relax-7a.s: New: tests for mov @(disp:32,ERx) -> mov
320         @(disp:16,ERx).
321         * ld-h8300/relax-7b.s: New: Likewise.
322         * ld-h8300/relax-7.d: New: expected disassembly.
323
324 2013-03-20  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
325
326         * ld-elf/group8a.d (notarget): Remove aarch64*-*-*.
327         * ld-elf/group8b.d: Likewise.
328         * ld-elf/group9a.d: Likewise.
329         * ld-elf/group9b.d: Likewise.
330         * ld-elf/pr12851.d: Likewise.
331         * ld-elf/pr12975.d: Likewise.
332         * ld-elf/pr13177.d: Likewise.
333         * ld-elf/pr13195.d: Likewise.
334
335 2013-03-20  Will Newton  <will.newton@linaro.org>
336
337         * ld-elfvers/vers.exp (objdump_symstuff): Sort objdump output
338         based on the symbol name rather than address.
339         * ld-elfvers/vers1.sym: Reorder contents to match changes to vers.exp.
340         * ld-elfvers/vers15.sym: Likewise.
341         * ld-elfvers/vers18.sym: Likewise.
342         * ld-elfvers/vers21.sym: Likewise.
343         * ld-elfvers/vers9.sym: Likewise.
344
345 2013-03-20  Alan Modra  <amodra@gmail.com>
346
347         * ld-elf/rel.c, ld-elf/relmain.c, ld-elf/relmain.out: New test.
348         * ld-elf/shared.exp: Build and run it.
349
350 2013-03-20  Alan Modra  <amodra@gmail.com>
351             Will Newton <will.newton@linaro.org
352
353         * ld-elfvers/vers.exp: Add -Wl,--no-as-needed to all tests
354         linking against shared libraries.
355         * ld-elfweak/elfweak.exp: Likewise.  Enable for x86_64-linux.
356         Build main1.o using $picflag.
357
358 2013-03-18  Alan Modra  <amodra@gmail.com>
359
360         * ld-elf/pr14862.out: Expect no output.
361
362 2013-03-15  Will Newton  <will.newton@linaro.org>
363
364         * ld-arm/arm-elf.exp: Expand *-*eabi test to cover *-*eabi*.
365         * ld-arm/gc-hidden-1.d: Likewise.
366         * ld-elfvsb/elfvsb.exp: Likewise.
367         * ld-shared/shared.exp: Likewise.
368
369 2013-03-08  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
370
371         * lib/ld-lib.exp (check_gc_sections_available): Remove aarch64
372         from list of targets that don't support gc-section.
373
374 2013-03-05  Alan Modra  <amodra@gmail.com>
375
376         * ld-scripts/rgn-at6.s, * ld-scripts/rgn-at6.t, * ld-scripts/rgn-at6.d,
377         * ld-scripts/rgn-at7.t, * ld-scripts/rgn-at7.d: New tests.
378
379 2013-02-28  Nathan Sidwell  <nathan@codesourcery.com>
380
381         * ld-arm/tls-local-static.s: New test.
382         * ld-arm/tls-local-static.d: New.
383         * ld-arm/arm-elf.exp (tls-local-static): Add test.
384
385 2013-02-21  H.J. Lu  <hongjiu.lu@intel.com>
386
387         PR ld/15167
388         * ld-unique/unique.exp: Add a test for shared library with
389         reference.
390
391 2013-02-19  Maciej W. Rozycki  <macro@codesourcery.com>
392
393         * lib/ld-lib.exp (run_ld_link_tests): Add another argument, pass
394         its contents to ar_simple_create and ld_simple_link after
395         objfiles.
396         * ld-aarch64/aarch64-elf.exp: Adjust accordingly.
397         * ld-alpha/alpha.exp: Likewise.
398         * ld-arm/arm-elf.exp: Likewise.
399         * ld-arm/export-class.exp: Likewise.
400         * ld-elf/comm-data.exp: Likewise.
401         * ld-elf/eh-group.exp: Likewise.
402         * ld-elf/elf.exp: Likewise.
403         * ld-elf/export-class.exp: Likewise.
404         * ld-elfvers/vers.exp: Likewise.
405         * ld-frv/tls.exp: Likewise.
406         * ld-i386/export-class.exp: Likewise.
407         * ld-i386/i386.exp: Likewise.
408         * ld-ia64/ia64.exp: Likewise.
409         * ld-libs/libs.exp: Likewise.
410         * ld-m68k/m68k.exp: Likewise.
411         * ld-metag/metag.exp: Likewise.
412         * ld-mips-elf/comm-data.exp: Likewise.
413         * ld-mips-elf/export-class.exp: Likewise.
414         * ld-mips-elf/mips-elf.exp: Likewise.
415         * ld-mn10300/mn10300.exp: Likewise.
416         * ld-pe/pe-compile.exp: Likewise.
417         * ld-pe/pe.exp: Likewise.
418         * ld-plugin/plugin.exp: Likewise.
419         * ld-powerpc/aix52.exp: Likewise.
420         * ld-powerpc/export-class.exp: Likewise.
421         * ld-powerpc/powerpc.exp: Likewise.
422         * ld-s390/s390.exp: Likewise.
423         * ld-sh/sh-vxworks.exp: Likewise.
424         * ld-sh/sh64/sh64.exp: Likewise.
425         * ld-sparc/sparc.exp: Likewise.
426         * ld-tic6x/tic6x.exp: Likewise.
427         * ld-tilegx/tilegx.exp: Likewise.
428         * ld-tilepro/tilepro.exp: Likewise.
429         * ld-undefined/entry.exp: Likewise.
430         * ld-vax-elf/vax-elf.exp: Likewise.
431         * ld-x86-64/dwarfreloc.exp: Likewise.
432         * ld-x86-64/export-class.exp: Likewise.
433         * ld-x86-64/x86-64.exp: Likewise.
434         * ld-xc16x/xc16x.exp: Likewise.
435         * ld-xstormy16/xstormy16.exp: Likewise.
436         * ld-xtensa/xtensa.exp: Likewise.
437
438 2013-02-18  Maciej W. Rozycki  <macro@codesourcery.com>
439
440         * ld-mips-elf/jalx-2.ld: Include .rel.plt in output, give .plt a
441         mapping.
442         * ld-mips-elf/jalx-2.dd: Adjust disassembly accordingly.
443
444 2013-02-18  Alan Modra  <amodra@gmail.com>
445
446         * ld-plugin/lto.exp (Build pr15146b.so) Add -Wl,--no-as-needed.
447         (PR ld/15146 (1), (2)): Likewise.
448         (LTO 7): Likewise.
449
450 2013-02-16  H.J. Lu  <hongjiu.lu@intel.com>
451
452         PR ld/15146
453         * ld-plugin/pr15146.d: New file.
454         * ld-plugin/pr15146a.c: Likewise.
455         * ld-plugin/pr15146b.c: Likewise.
456         * ld-plugin/pr15146c.c: Likewise.
457         * ld-plugin/pr15146d.c: Likewise.
458
459         * ld-plugin/lto.exp: Add tests for PR ld/15146.
460
461 2013-02-15  Markos Chandras  <markos.chandras@imgtec.com>
462
463         * ld-metag/pcrel.d: Fix the expected disassembler
464         output to be in little endian format
465         * ld-metag/shared.d: likewise
466         * ld-metag/stub.d: likewise
467         * ld-metag/stub_pic_app.d: likewise
468         * ld-metag/stub_pic_shared.d: likewise
469         * ld-metag/stub_shared.d: likewise
470
471 2013-02-13  Richard Sandiford  <rdsandiford@googlemail.com>
472
473         * ld-mips-elf/mips16-pic-2.dd,
474         ld-mips-elf/mips16-pic-2.gd: Remove 3 unused local GOT entries.
475         * ld-mips-elf/got-page-4a.s, ld-mips-elf/got-page-4b.s,
476         ld-mips-elf/got-page-4a.d, ld-mips-elf/got-page-4a.got,
477         ld-mips-elf/got-page-4b.d, ld-mips-elf/got-page-4b.got,
478         ld-mips-elf/got-page-5.s, ld-mips-elf/got-page-5.d,
479         ld-mips-elf/got-page-5.got, ld-mips-elf/got-page-6.s,
480         ld-mips-elf/got-page-6.d, ld-mips-elf/got-page-6.got,
481         ld-mips-elf/got-page-7a.s, ld-mips-elf/got-page-7b.s,
482         ld-mips-elf/got-page-7c.s, ld-mips-elf/got-page-7d.s,
483         ld-mips-elf/got-page-7e.s, ld-mips-elf/got-page-7.d,
484         ld-mips-elf/got-page-7.got: New tests.
485         * ld-mips-elf/mips-elf.exp: Run them.
486
487 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
488
489         * ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
490         ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
491         ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
492         ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got: Update
493         for new hash table order.
494
495 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
496
497         * ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-multi-got-1.d,
498         ld-mips-elf/tls-multi-got-1.got: Update for changes in the order
499         that symbols are added to per-bfd GOTs.
500
501 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
502
503         * ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
504         ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tlsbin-o32.d,
505         ld-mips-elf/tlsbin-o32.got, ld-mips-elf/tlsdyn-o32-1.d,
506         ld-mips-elf/tlsdyn-o32-1.got, ld-mips-elf/tlsdyn-o32-2.d,
507         ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.d,
508         ld-mips-elf/tlsdyn-o32-3.got, ld-mips-elf/tlsdyn-o32.d,
509         ld-mips-elf/tlsdyn-o32.got, ld-mips-elf/tlslib-o32.d,
510         ld-mips-elf/tlslib-o32.got, ld-mips-elf/tlslib-o32-hidden.got,
511         ld-mips-elf/tlslib-o32-ver.got: Adjust GOT layout for new
512         got_entry hash function.
513
514 2013-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
515
516         * ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.got: Remove
517         unused GOT entries.
518
519 2013-02-07  H.J. Lu  <hongjiu.lu@intel.com>
520
521         PR ld/15107
522         * ld-unique/unique_empty.s: Add reference to "b".
523
524 2013-02-06  H.J. Lu  <hongjiu.lu@intel.com>
525
526         * ld-size/size-10.rd: Updated.
527         * ld-size/size-8.rd: Likewise.
528         * ld-size/size32-2-i386.d: Likewise.
529         * ld-size/size32-2-x32.d: Likewise.
530         * ld-size/size32-2-x86-64.d: Likewise.
531         * ld-size/size64-2-x32.d: Likewise.
532         * ld-size/size64-2-x86-64.d: Likewise.
533
534         * ld-size/size.exp (run_time_tests): Pass --hash-styl=gnu to
535         linker for size-8 test.
536
537 2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
538             Andrew Jenner <andrew@codesourcery.com>
539
540         Based on patches from Altera Corporation.
541
542         * ld-nios2/emit-relocs-1a.s: New.
543         * ld-nios2/emit-relocs-1b.s: New.
544         * ld-nios2/emit-relocs-1.d: New.
545         * ld-nios2/emit-relocs-1.ld: New.
546         * ld-nios2/gprel.d: New.
547         * ld-nios2/gprel.s: New.
548         * ld-nios2/hilo16.d: New.
549         * ld-nios2/hilo16.s: New.
550         * ld-nios2/hilo16_symbol.s: New.
551         * ld-nios2/imm5.d: New.
552         * ld-nios2/imm5.s: New.
553         * ld-nios2/imm5_symbol.s: New.
554         * ld-nios2/nios2.exp: New.
555         * ld-nios2/pcrel16.d: New.
556         * ld-nios2/pcrel16_label.s: New.
557         * ld-nios2/pcrel16.s: New.
558         * ld-nios2/relax_callr.d: New.
559         * ld-nios2/relax_callr.ld: New.
560         * ld-nios2/relax_callr.s: New.
561         * ld-nios2/relax_cjmp.d: New.
562         * ld-nios2/relax_cjmp.s: New.
563         * ld-nios2/relax_jmp.ld: New.
564         * ld-nios2/relax_section.d: New.
565         * ld-nios2/relax_section.s: New.
566         * ld-nios2/relax_ujmp.d: New.
567         * ld-nios2/relax_ujmp.s: New.
568         * ld-nios2/reloc.d: New.
569         * ld-nios2/reloc.s: New.
570         * ld-nios2/reloc_symbol.s: New.
571         * ld-nios2/s16.d: New.
572         * ld-nios2/s16.s: New.
573         * ld-nios2/s16_symbol.s: New.
574         * ld-nios2/u16.d: New.
575         * ld-nios2/u16.s: New.
576         * ld-nios2/u16_symbol.s: New.
577         * ld-elf/indirect.exp: Skip on targets that don't support
578         -shared -fPIC.
579         * ld-elfcomm/elfcomm.exp: Build with -G0 for nios2.
580         * ld-plugin/lto.exp: Skip shared library tests on targets that
581         don't support them.  Skip execution tests on non-native targets.
582
583 2013-02-06  H.J. Lu  <hongjiu.lu@intel.com>
584
585         * ld-elf/now-1.d: New file.
586         * ld-elf/now-2.d: Likewise.
587         * ld-elf/now-3.d: Likewise.
588         * ld-elf/now-4.d: Likewise.
589         * ld-elf/rpath-1.d: Likewise.
590         * ld-elf/rpath-2.d: Likewise.
591         * ld-elf/runpath-1.d: Likewise.
592         * ld-elf/runpath-2.d: Likewise.
593
594 2013-02-06  Alan Modra  <amodra@gmail.com>
595
596         PR ld/15096
597         * ld-elf/new-dtags-1.d: Delete.
598         * ld-elf/new-dtags-2.d: Likewise.
599         * ld-elf/new-dtags-3.d: Likewise.
600         * ld-elf/new-dtags-4.d: Likewise.
601         * ld-elf/new-dtags-5.d: Likewise.
602         * ld-elf/new-dtags-6.d: Likewise.
603         * ld-elf/new-dtags-7.d: Likewise.
604         * ld-elf/new-dtags-8.d: Likewise.
605
606 2013-02-04  H.J. Lu  <hongjiu.lu@intel.com>
607
608         PR ld/15096
609         * ld-elf/new-dtags-1.d: New test.
610         * ld-elf/new-dtags-2.d: Likewise.
611         * ld-elf/new-dtags-3.d: Likewise.
612         * ld-elf/new-dtags-4.d: Likewise.
613         * ld-elf/new-dtags-5.d: Likewise.
614         * ld-elf/new-dtags-6.d: Likewise.
615         * ld-elf/new-dtags-7.d: Likewise.
616         * ld-elf/new-dtags-8.d: Likewise.
617
618 2013-01-31  Alan Modra  <amodra@gmail.com>
619
620         * ld-powerpc/tlsexe.d: Update for changed stub names.
621         * ld-powerpc/tlsexe.r: Likewise.
622         * ld-powerpc/tlsexetoc.d: Likewise.
623         * ld-powerpc/tlsexetoc.r: Likewise.
624         * ld-powerpc/tlsso.d: Likewise.
625         * ld-powerpc/tlsso.r: Likewise.
626         * ld-powerpc/tlstocso.d: Likewise.
627         * ld-powerpc/tlstocso.r: Likewise.
628
629 2013-01-31  Hans-Peter Nilsson  <hp@axis.com>
630
631         * ld-cris/libdso-13.d: Adjust for --enable-new-dtags now
632         default for *-*-linux-* by passing explicitly for all targets.
633
634 2013-01-21  Alan Modra  <amodra@gmail.com>
635
636         * ld-size/size.exp (build_tests <size-7, size-8>): Pass
637         --no-as-needed in cflags.
638
639 2013-01-19  H.J. Lu  <hongjiu.lu@intel.com>
640
641         * config/default.exp (get_target_emul): Also set HOSTING_SCRT0.
642
643         * lib/ld-lib.exp (default_ld_link): Use HOSTING_SCRT0 for -pie.
644
645 2013-01-18  H.J. Lu  <hongjiu.lu@intel.com>
646
647         * ld-size/size-10.rd: Updated.
648         * ld-size/size-8.rd: Likewise.
649         * ld-size/size32-2-i386.d: Likewise.
650         * ld-size/size32-2-x32.d: Likewise.
651         * ld-size/size32-2-x86-64.d: Likewise.
652         * ld-size/size64-2-x32.d: Likewise.
653         * ld-size/size64-2-x86-64.d: Likewise.
654
655 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
656
657         * ld-size/size-7.out: New file.
658         * ld-size/size-8.out: Likewise.
659         * ld-size/size-9.out: Likewise.
660         * ld-size/size-9.rd: Likewise.
661         * ld-size/size-9a.c: Likewise.
662         * ld-size/size-9b.c: Likewise.
663         * ld-size/size-10.out: Likewise.
664         * ld-size/size-10.rd: Likewise.
665         * ld-size/size-10a.c: Likewise.
666         * ld-size/size-10b.c: Likewise.
667
668         * ld-size/size.exp (build_tests): Build libsize-9.so and
669         libsize-10.so.
670         Run-time size relocation tests if supported.
671         (run_time_tests): New.
672
673 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
674
675         * ld-size/size-1.c: New file.
676         * ld-size/size-1.out: Likewise.
677         * ld-size/size-1a.c: Likewise.
678         * ld-size/size-1b.c: Likewise.
679         * ld-size/size-2.c: Likewise.
680         * ld-size/size-2.out: Likewise.
681         * ld-size/size-2a.c: Likewise.
682         * ld-size/size-2b.c: Likewise.
683
684         * ld-size/size.exp (build_tests): Build libsize-1.so and
685         libsize-2.so.
686         (run_tests): Run size-1 and size-2.
687
688 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
689
690         * ld-size/size32-3-i386.d: New file.
691         * ld-size/size32-3-x32.d: Likewise.
692         * ld-size/size32-3-x86-64.d: Likewise.
693         * ld-size/size32-3a.s: Likewise.
694         * ld-size/size32-3b.s: Likewise.
695
696 2013-01-16  H.J. Lu  <hongjiu.lu@intel.com>
697
698         * ld-size/size.exp: New file.
699         * ld-size/size32-1-i386.d: Likewise.
700         * ld-size/size32-1-x32.d: Likewise.
701         * ld-size/size32-1-x86-64.d: Likewise.
702         * ld-size/size32-1.s: Likewise.
703         * ld-size/size32-2-i386.d: Likewise.
704         * ld-size/size32-2-x32.d: Likewise.
705         * ld-size/size32-2-x86-64.d: Likewise.
706         * ld-size/size32-2.s: Likewise.
707         * ld-size/size64-1-x32.d: Likewise.
708         * ld-size/size64-1-x86-64.d: Likewise.
709         * ld-size/size64-1.s: Likewise.
710         * ld-size/size64-2-x32.d: Likewise.
711         * ld-size/size64-2-x86-64.d: Likewise.
712         * ld-size/size64-2.s: Likewise.
713         * ld-size/size-3.c: Likewise.
714         * ld-size/size-3.out: Likewise.
715         * ld-size/size-3a.c: Likewise.
716         * ld-size/size-3b.c: Likewise.
717         * ld-size/size-3c.c: Likewise.
718         * ld-size/size-4.out: Likewise.
719         * ld-size/size-4a.c: Likewise.
720         * ld-size/size-4b.c: Likewise.
721         * ld-size/size-5.out: Likewise.
722         * ld-size/size-5a.c: Likewise.
723         * ld-size/size-5b.c: Likewise.
724         * ld-size/size-6.out: Likewise.
725         * ld-size/size-6a.c: Likewise.
726         * ld-size/size-6b.c: Likewise.
727         * ld-size/size-7.rd: Likewise.
728         * ld-size/size-7a.c: Likewise.
729         * ld-size/size-7b.c: Likewise.
730         * ld-size/size-8.rd: Likewise.
731         * ld-size/size-8a.c: Likewise.
732         * ld-size/size-8b.c: Likewise.
733
734 2013-01-16  Alan Modra  <amodra@gmail.com>
735
736         * ld-plugin/lto.exp (lto-9.o, pr13229.o): Pass -finline.
737
738 2013-01-15  Alan Modra  <amodra@gmail.com>
739
740         * ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs.
741         * ld-powerpc/tlsso.g: Likewise.
742         * ld-powerpc/tlsso.r: Likewise.
743         * ld-powerpc/tlstocso.d: Likewise.
744         * ld-powerpc/tlstocso.g: Likewise.
745
746 2013-01-15  Alan Modra  <amodra@gmail.com>
747
748         * ld-plugin/lto-16a.d: Match powerpc64 function symbol type.
749         * ld-plugin/lto-16b.d: Likewise.
750         * ld-plugin/lto-17a.d: Likewise.
751         * ld-plugin/lto-17b-2.d: Likewise.
752
753 2013-01-14  Alan Modra  <amodra@gmail.com>
754
755         * ld-elf/pr14926.d: Disable for d10v, msp, xstormy.
756         * ld-elf/sec-to-seg.exp: Choose correct variant output to suit
757         updated microblaze page size.
758
759 2013-01-10  Will Newton <will.newton@imgtec.com>
760
761         * ld-elf/merge.d: Mark Meta as xfail.
762         * ld-gc/start.d: Skip this test on Meta.
763         * ld-gc/personality.d: Skip this test on Meta.
764         * ld-metag/external.s: New file.
765         * ld-metag/metag.exp: New file.
766         * ld-metag/pcrel.d: New file.
767         * ld-metag/pcrel.s: New file.
768         * ld-metag/shared.d: New file.
769         * ld-metag/shared.r: New file.
770         * ld-metag/shared.s: New file.
771         * ld-metag/stub.d: New file.
772         * ld-metag/stub.s: New file.
773         * ld-metag/stub_pic_app.d: New file.
774         * ld-metag/stub_pic_app.r: New file.
775         * ld-metag/stub_pic_app.s: New file.
776         * ld-metag/stub_pic_shared.d: New file.
777         * ld-metag/stub_pic_shared.s: New file.
778         * ld-metag/stub_shared.d: New file.
779         * ld-metag/stub_shared.r: New file.
780         * ld-metag/stub_shared.s: New file.
781
782 2013-01-08  Thomas Schwinge  <thomas@codesourcery.com>
783
784         * ld-i386/export-class.exp: Restore (and reword) comment about
785         excluded targets.
786
787 2013-01-04  Yufeng Zhang  <yufeng.zhang@arm.com>
788
789         * ld-aarch64/emit-relocs-264.d: Append the '-Mno-aliases' option to
790         the objdump directive.
791         * ld-aarch64/emit-relocs-266.d: Ditto.
792         * ld-aarch64/emit-relocs-268.d: Ditto.
793         * ld-aarch64/emit-relocs-269.d: Ditto.
794         * ld-aarch64/emit-relocs-270.d: Ditto.
795         * ld-aarch64/emit-relocs-271.d: Ditto.
796         * ld-aarch64/emit-relocs-272.d: Ditto.
797
798 For older changes see ChangeLog-2012
799 \f
800 Copyright (C) 2013 Free Software Foundation, Inc.
801
802 Copying and distribution of this file, with or without modification,
803 are permitted in any medium without royalty provided the copyright
804 notice and this notice are preserved.
805
806 Local Variables:
807 mode: change-log
808 left-margin: 8
809 fill-column: 74
810 version-control: never
811 End: