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