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