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