2010-12-21 Kai Tietz <kai.tietz@onevision.com>
[platform/upstream/binutils.git] / ld / testsuite / ChangeLog
1 2010-12-21  Kai Tietz  <kai.tietz@onevision.com>
2
3         * ld-pe/pe.exp: Add TLS directory test.
4         * ld-pe/tlssec.s: New.
5         * ld-pe/tlssec64.d: New.
6         * ld-pe/tlssec32.d: New.
7
8 2010-12-20  Alan Modra  <amodra@gmail.com>
9
10         * ld-bootstrap/bootstrap.exp: Fix misplaced comment.
11
12 2010-12-20  Alan Modra  <amodra@gmail.com>
13
14         PR ld/12001
15         * ld-scripts/default-script2.d: Revert 2010-11-03 change.
16
17 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18
19         * ld-elf/elf.exp (array_tests): Add init-mixed.
20         (array_tests_static): Likewise.
21         Also delete tmpdir/init-mixed.
22
23         * ld-elf/init-mixed.c: New.
24         * ld-elf/init-mixed.out: Likewise.
25
26 2010-12-11  Alan Modra  <amodra@gmail.com>
27
28         * ld-elfvers/vers25a.dsym: Really include _? in match.
29
30 2010-12-10  Mike Frysinger  <vapier@gentoo.org>
31
32         * ld-elfvers/vers.h: New file.
33         * ld-elfvers/vers1.c: Include vers.h.  Change asm(.symver) to SYMVER().
34         * ld-elfvers/vers4.c, ld-elfvers/vers5.c, ld-elfvers/vers6.c,
35         ld-elfvers/vers7a.c, ld-elfvers/vers9.c, ld-elfvers/vers15.c,
36         ld-elfvers/vers18.c, ld-elfvers/vers21.c, ld-elfvers/vers22a.c,
37         ld-elfvers/vers23a.c, ld-elfvers/vers24a.c, ld-elfvers/vers24c.c,
38         ld-elfvers/vers27d1.c: Likewise.
39
40         * ld-elf/pr9676.rd: Include _? in symbol match
41         * ld-elf/pr9676.rd, ld-elf/pr9679.rd, ld-elfvers/vers1.dsym,
42         ld-elfvers/vers1.sym, ld-elfvers/vers15.dsym, ld-elfvers/vers15.sym,
43         ld-elfvers/vers16.dsym, ld-elfvers/vers16a.dsym, ld-elfvers/vers17.dsym,
44         ld-elfvers/vers18.dsym, ld-elfvers/vers18.sym, ld-elfvers/vers19.dsym,
45         ld-elfvers/vers2.dsym, ld-elfvers/vers20.dsym, ld-elfvers/vers21.dsym,
46         ld-elfvers/vers21.sym, ld-elfvers/vers22.dsym, ld-elfvers/vers22a.dsym,
47         ld-elfvers/vers22a.sym, ld-elfvers/vers22b.dsym, ld-elfvers/vers23.dsym,
48         ld-elfvers/vers23a.dsym, ld-elfvers/vers23a.sym,
49         ld-elfvers/vers23b.dsym, ld-elfvers/vers23d.dsym,
50         ld-elfvers/vers24.rd, ld-elfvers/vers25a.dsym,
51         ld-elfvers/vers26a.dsym, ld-elfvers/vers27a.dsym,
52         ld-elfvers/vers27d.dsym, ld-elfvers/vers27d.sym,
53         ld-elfvers/vers27d4.dsym, ld-elfvers/vers28b.dsym,
54         ld-elfvers/vers28c.dsym, ld-elfvers/vers29.dsym, ld-elfvers/vers3.dsym,
55         ld-elfvers/vers30.dsym, ld-elfvers/vers31.dsym, ld-elfvers/vers32a.dsym,
56         ld-elfvers/vers32b.dsym, ld-elfvers/vers4.sym, ld-elfvers/vers4a.dsym,
57         ld-elfvers/vers4a.sym, ld-elfvers/vers6.dsym, ld-elfvers/vers6.sym,
58         ld-elfvers/vers7a.dsym, ld-elfvers/vers7a.sym, ld-elfvers/vers9.dsym,
59         ld-elfvers/vers9.sym: Likewise.
60
61 2010-12-05  H.J. Lu  <hongjiu.lu@intel.com>
62
63         * ld-plugin/plugin-vis-1.d: Updated.
64
65 2010-12-04  H.J. Lu  <hongjiu.lu@intel.com>
66
67         * ld-selective/selective.exp: Don't pass -fvtable-gc to GCC
68         3.4.0 or above.
69
70 2010-12-04  H.J. Lu  <hongjiu.lu@intel.com>
71
72         * ld-elfvers/vers.exp: Replace -export-dynamic with
73         -Wl,-export-dynamic.
74
75 2010-11-30  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
76
77         * ld-scripts/script.exp: Remove full path from REGION_ALIAS test
78         names.
79
80 2010-11-25  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
81
82         * ld-arm/arm-elf.exp (armeabitests): Replace --defsym argument in
83         jump-reloc-veneers* tests with --section-start .text=0x8000.
84
85 2010-11-20  Richard Sandiford  <rdsandiford@googlemail.com>
86
87         * lib/ld-lib.exp (regexp_diff, simple_diff): Delete.
88
89 2010-11-20  Richard Sandiford  <rdsandiford@googlemail.com>
90
91         * lib/ld-lib.exp (load_common_lib): New function.  Load
92         binutils-common.exp.
93         (is_elf_format, is_elf64, is_aout_format, is_pecoff_format): Delete.
94
95 2010-11-18  Alan Modra  <amodra@gmail.com>
96
97         * ld-elf/binutils.exp: Correct x86 gnu target match.
98         * ld-i386/i386.exp: Likewise.
99         * ld-ifunc/binutils.exp: Likewise.
100         * ld-ifunc/ifunc.exp: Likewise.
101         * ld-discard/discard.exp: Remove unnecessary line continuations.
102         * ld-elfvers/vers.exp: Likewise.  Simplify linuxaout and linuxoldld
103         test.
104         * ld-elfweak/elfweak.exp: Likewise.
105
106 2010-11-17  Andreas Schwab  <schwab@linux-m68k.org>
107
108         * ld-gc/pr11218-2.c: Declare
109         unresolved_detected_at_runtime_not_at_linktime.
110
111 2010-11-17  Alan Modra  <amodra@gmail.com>
112
113         * ld-plugin/plugin.exp: Define printf and puts as main.
114
115 2010-11-08  Thomas Schwinge  <thomas@schwinge.name>
116
117         * lib/ld-lib.exp (is_elf_format): Consider for *-*-gnu*, too.
118         * ld-discard/discard.exp: Likewise.
119         * ld-elf/binutils.exp: Likewise.
120         * ld-elf/commonpage1.d (target): Likewise.
121         * ld-elf/compress1c.d (target): Likewise.
122         * ld-elf/discard1.d (target): Likewise.
123         * ld-elf/discard2.d (target): Likewise.
124         * ld-elf/discard3.d (target): Likewise.
125         * ld-elf/dynsym1.d (target): Likewise.
126         * ld-elf/eh6.d (target): Likewise.
127         * ld-elf/elf.exp: Likewise.
128         (array_tests): Move -static tests to...
129         (array_tests_static): ... here, and handle it accordingly.
130         * ld-elf/hash.d (target): Likewise.
131         * ld-elf/header.d (target): Likewise.
132         * ld-elf/loadaddr1.d (target): Likewise.
133         * ld-elf/loadaddr2.d (target): Likewise.
134         * ld-elf/loadaddr3a.d (target): Likewise.
135         * ld-elf/loadaddr3b.d (target): Likewise.
136         * ld-elf/local1.d (target): Likewise.
137         * ld-elf/maxpage1.d (target): Likewise.
138         * ld-elf/maxpage2.d (target): Likewise.
139         * ld-elf/maxpage3a.d (target): Likewise.
140         * ld-elf/multibss1.d (target): Likewise.
141         * ld-elf/noload-2.d (target): Likewise.
142         * ld-elf/seg.d (target): Likewise.
143         * ld-elf/textaddr1.d (target): Likewise.
144         * ld-elf/textaddr2.d (target): Likewise.
145         * ld-elf/textaddr3.d (target): Likewise.
146         * ld-elf/textaddr4.d (target): Likewise.
147         * ld-elf/textaddr5.d (target): Likewise.
148         * ld-elf/textaddr6.d (target): Likewise.
149         * ld-elf/textaddr7.d (target): Likewise.
150         * ld-elf/tls_common.exp: Likewise.
151         * ld-elf/unknown2.d (target): Likewise.
152         * ld-elfvers/vers.exp: Likewise.
153         * ld-elfvsb/elfvsb.exp: Likewise.
154         * ld-elfweak/elfweak.exp: Likewise.
155         (setup_xfail_gnu_hurd): New function.  Use it where appropriate.
156         * ld-gc/abi-note.d (target): Likewise.
157         * ld-gc/gc.exp: Likewise.
158         * ld-gc/pr11218.d (target): Likewise.
159         * ld-gc/start.d (target): Likewise.
160         * ld-i386/i386.exp: Likewise.
161         * ld-ifunc/binutils.exp: Likewise.
162         * ld-ifunc/ifunc.exp: Likewise.
163         * ld-linkonce/linkonce.exp: Likewise.
164         * ld-linkonce/zeroehl32.d (target): Likewise.
165         * ld-pie/pie.exp: Likewise.
166         * ld-scripts/phdrs2.exp: Likewise.
167         * ld-scripts/rgn-at5.d (target): Likewise.
168         * ld-shared/shared.exp: Likewise.
169         * ld-undefined/entry-3.d (target): Likewise.
170         * ld-undefined/entry-4.d (target): Likewise.
171         * ld-undefined/weak-undef.exp: Likewise.
172
173 2010-11-06  Kirill A. Shutemov  <kirill@shutemov.name>
174
175         * ld-plugin/plugin-6.d: Relax file name match.
176
177 2010-11-05  Joseph Myers  <joseph@codesourcery.com>
178
179         * ld-tic6x/attr-unknown-1.d, ld-tic6x/attr-unknown-1000-1.s,
180         ld-tic6x/attr-unknown-1000-2.s, ld-tic6x/attr-unknown-1024-1.s,
181         ld-tic6x/attr-unknown-2.d, ld-tic6x/attr-unknown-3.d,
182         ld-tic6x/attr-unknown-4.d, ld-tic6x/attr-unknown-5.d,
183         ld-tic6x/attr-unknown-54-1.s, ld-tic6x/attr-unknown-55-a.s,
184         ld-tic6x/attr-unknown-6.d, ld-tic6x/attr-unknown-7.d,
185         ld-tic6x/attr-unknown-71-a.s, ld-tic6x/attr-unknown-71-b.s: New
186         tests.
187
188 2010-11-05  Dave Korn  <dave.korn.cygwin@gmail.com>
189
190         * ld-plugin/plugin.exp (testobjfiles): Dont use HOSTING_CRT0.
191         (testobjfiles_notext): Likewise.
192         (libs): Don't use HOSTING_LIBS; fill with default symbol defs instead.
193         * lib/ld-lib.exp (ld_simple_link_defsyms): Add cygming clause.
194
195 2010-11-05  Alan Modra  <amodra@gmail.com>
196
197         * ld-elfvers/vers32c.dsym, * ld-elfvers/vers32c.ver: Delete.
198         * ld-elfvers/vers32d.ver: Delete.
199         * ld-elfvers/vers.exp: Don't run them.
200
201 2010-11-03  Nick Clifton  <nickc@redhat.com>
202
203         PR ld/12001
204         * ld-script/default-script2.d: Fix expected address for text
205         section.
206
207 2010-11-02  Joseph Myers  <joseph@codesourcery.com>
208
209         * ld-tic6x/attr-array-16-16.d, ld-tic6x/attr-array-16-4.d,
210         ld-tic6x/attr-array-16-416.d, ld-tic6x/attr-array-16-48.d,
211         ld-tic6x/attr-array-16-8.d, ld-tic6x/attr-array-16-816.d,
212         ld-tic6x/attr-array-16.s, ld-tic6x/attr-array-4-16.d,
213         ld-tic6x/attr-array-4-4.d, ld-tic6x/attr-array-4-416.d,
214         ld-tic6x/attr-array-4-48.d, ld-tic6x/attr-array-4-8.d,
215         ld-tic6x/attr-array-4-816.d, ld-tic6x/attr-array-4.s,
216         ld-tic6x/attr-array-416-16.d, ld-tic6x/attr-array-416-4.d,
217         ld-tic6x/attr-array-416-416.d, ld-tic6x/attr-array-416-48.d,
218         ld-tic6x/attr-array-416-8.d, ld-tic6x/attr-array-416-816.d,
219         ld-tic6x/attr-array-416.s, ld-tic6x/attr-array-48-16.d,
220         ld-tic6x/attr-array-48-4.d, ld-tic6x/attr-array-48-416.d,
221         ld-tic6x/attr-array-48-48.d, ld-tic6x/attr-array-48-8.d,
222         ld-tic6x/attr-array-48-816.d, ld-tic6x/attr-array-48.s,
223         ld-tic6x/attr-array-8-16.d, ld-tic6x/attr-array-8-4.d,
224         ld-tic6x/attr-array-8-416.d, ld-tic6x/attr-array-8-48.d,
225         ld-tic6x/attr-array-8-8.d, ld-tic6x/attr-array-8-816.d,
226         ld-tic6x/attr-array-8.s, ld-tic6x/attr-array-816-16.d,
227         ld-tic6x/attr-array-816-4.d, ld-tic6x/attr-array-816-416.d,
228         ld-tic6x/attr-array-816-48.d, ld-tic6x/attr-array-816-8.d,
229         ld-tic6x/attr-array-816-816.d, ld-tic6x/attr-array-816.s,
230         ld-tic6x/attr-conformance-10-10.d,
231         ld-tic6x/attr-conformance-10-11.d,
232         ld-tic6x/attr-conformance-10-none.d,
233         ld-tic6x/attr-conformance-10.s, ld-tic6x/attr-conformance-11-10.d,
234         ld-tic6x/attr-conformance-11-11.d,
235         ld-tic6x/attr-conformance-11-none.d,
236         ld-tic6x/attr-conformance-11.s,
237         ld-tic6x/attr-conformance-none-10.d,
238         ld-tic6x/attr-conformance-none-11.d,
239         ld-tic6x/attr-conformance-none-none.d,
240         ld-tic6x/attr-conformance-none.s, ld-tic6x/attr-pic-0.s,
241         ld-tic6x/attr-pic-00.d, ld-tic6x/attr-pic-01.d,
242         ld-tic6x/attr-pic-1.s, ld-tic6x/attr-pic-10.d,
243         ld-tic6x/attr-pic-11.d, ld-tic6x/attr-pid-0.s,
244         ld-tic6x/attr-pid-00.d, ld-tic6x/attr-pid-01.d,
245         ld-tic6x/attr-pid-02.d, ld-tic6x/attr-pid-1.s,
246         ld-tic6x/attr-pid-10.d, ld-tic6x/attr-pid-11.d,
247         ld-tic6x/attr-pid-12.d, ld-tic6x/attr-pid-2.s,
248         ld-tic6x/attr-pid-20.d, ld-tic6x/attr-pid-21.d,
249         ld-tic6x/attr-pid-22.d, ld-tic6x/attr-stack-16-16.d,
250         ld-tic6x/attr-stack-16-8.d, ld-tic6x/attr-stack-16-816.d,
251         ld-tic6x/attr-stack-16.s, ld-tic6x/attr-stack-8-16.d,
252         ld-tic6x/attr-stack-8-8.d, ld-tic6x/attr-stack-8-816.d,
253         ld-tic6x/attr-stack-8.s, ld-tic6x/attr-stack-816-16.d,
254         ld-tic6x/attr-stack-816-8.d, ld-tic6x/attr-stack-816-816.d,
255         ld-tic6x/attr-stack-816.s, ld-tic6x/attr-wchar-0.s,
256         ld-tic6x/attr-wchar-00.d, ld-tic6x/attr-wchar-01.d,
257         ld-tic6x/attr-wchar-02.d, ld-tic6x/attr-wchar-1.s,
258         ld-tic6x/attr-wchar-10.d, ld-tic6x/attr-wchar-11.d,
259         ld-tic6x/attr-wchar-12.d, ld-tic6x/attr-wchar-2.s,
260         ld-tic6x/attr-wchar-20.d, ld-tic6x/attr-wchar-21.d,
261         ld-tic6x/attr-wchar-22.d: New tests.
262
263 2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
264
265         * ld-elf/compress1a.d: Also check MIPS_DWARF.
266         * ld-elf/compress1b.d: Likewise.
267         * ld-elf/compress1c.d: Likewise.
268
269 2010-10-29  Joseph Myers  <joseph@codesourcery.com>
270
271         * ld-tic6x/attr-compatibility-gnu-gnu.d,
272         ld-tic6x/attr-compatibility-gnu-other.d,
273         ld-tic6x/attr-compatibility-gnu.s,
274         ld-tic6x/attr-compatibility-other-gnu.d,
275         ld-tic6x/attr-compatibility-other-other.d,
276         ld-tic6x/attr-compatibility-other.s: New tests.
277
278 2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
279
280         * ld-elf/compress1c.d: Only run for Linux targets.
281
282 2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
283
284         * ld-elf/compress.exp: New.
285         * ld-elf/compress1.s: Likewise.
286         * ld-elf/compress1a.d: Likewise.
287         * ld-elf/compress1b.d: Likewise.
288         * ld-elf/compress1c.d: Likewise.
289
290 2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
291             Joseph Myers  <joseph@codesourcery.com>
292
293         * ld-tic6x/attr-dsbt-0.s, ld-tic6x/attr-dsbt-00.d,
294         ld-tic6x/attr-dsbt-01.d, ld-tic6x/attr-dsbt-1.s,
295         ld-tic6x/attr-dsbt-10.d, ld-tic6x/attr-dsbt-11.d: New tests.
296
297 2010-10-28  Thomas Schwinge  <thomas@schwinge.name>
298
299         * ld-scripts/script.exp: Sort all filename globs.
300
301 2010-10-28  Alan Modra  <amodra@gmail.com>
302
303         * ld-plugin/plugin.exp (libs): Remove $LIBS.
304
305 2010-10-28  Alan Modra  <amodra@gmail.com>
306
307         * ld-elf/sec-to-seg.exp (B_test_same_seg): Clear for i960,
308         microblaze, moxie, and mt.
309
310         * ld-elf/flags1.s: Use arm compatible .type syntax.
311         * ld-elf/flags1.d: Remove arm and xscale xfails, add i960, ip2k,
312         moxie, mt.
313
314 2010-10-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
315
316         * ld-s390/tlsbin.dd: bc 0,0 -> nop 0 and bcr 0,%r0 -> nopr %r0.
317
318 2010-10-25  Daniel Jacobowitz  <dan@codesourcery.com>
319
320         * ld-discard/zero-range.d, ld-discard/zero-range.s: New files.
321
322 2010-10-23  Mark Mitchell  <mark@codesourcery.com>
323
324         * ld-elf/group10.d: Expect ".group" for the name of group
325         sections.
326         * ld-elf/group2.d: Likewise.
327         * ld-elf/group7.d: Likewise.
328
329 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
330
331         * ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
332         ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d,
333         ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d,
334         ld-tic6x/attr-arch-c64x+-c62x.d, ld-tic6x/attr-arch-c64x+-c64x+.d,
335         ld-tic6x/attr-arch-c64x+-c64x.d, ld-tic6x/attr-arch-c64x+-c674x.d,
336         ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d,
337         ld-tic6x/attr-arch-c64x-c62x.d, ld-tic6x/attr-arch-c64x-c64x+.d,
338         ld-tic6x/attr-arch-c64x-c64x.d, ld-tic6x/attr-arch-c64x-c674x.d,
339         ld-tic6x/attr-arch-c64x-c67x+.d, ld-tic6x/attr-arch-c64x-c67x.d,
340         ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d,
341         ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d,
342         ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d,
343         ld-tic6x/attr-arch-c67x+-c62x.d, ld-tic6x/attr-arch-c67x+-c64x+.d,
344         ld-tic6x/attr-arch-c67x+-c64x.d, ld-tic6x/attr-arch-c67x+-c674x.d,
345         ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d,
346         ld-tic6x/attr-arch-c67x-c62x.d, ld-tic6x/attr-arch-c67x-c64x+.d,
347         ld-tic6x/attr-arch-c67x-c64x.d, ld-tic6x/attr-arch-c67x-c674x.d,
348         ld-tic6x/attr-arch-c67x-c67x+.d, ld-tic6x/attr-arch-c67x-c67x.d:
349         Update for attribute renaming.
350
351 2010-10-20  Dave Korn  <dave.korn.cygwin@gmail.com>
352
353         * ld-plugin/plugin.exp: Mark tests UNSUPPORTED, not UNRESOLVED, if
354         no suitable target compiler is available.
355
356 2010-10-16  Kai Tietz  <kai.tietz@onevision.com>
357
358         * ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl.
359
360 2010-10-15  Dave Korn  <dave.korn.cygwin@gmail.com>
361
362         * ld-plugin/plugin.exp: Don't error out if there is no target compiler
363         available, make tests UNSUPPORTED instead.
364
365 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com> 
366
367         Apply LD plugin patch series (part 6/6).
368         * ld-plugin/plugin-10.d: New dump test control script.
369         * ld-plugin/plugin-11.d: Likewise.
370         * ld-plugin/plugin.exp: Run them.
371
372 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com> 
373
374         Apply LD plugin patch series (part 5/6).
375         * ld-plugin/plugin-ignore.d: New dump test control script.
376         * ld-plugin/plugin-vis-1.d: Likewise.
377         * ld-plugin/plugin.exp: Add list of ELF-only tests and run them if
378         testing on an ELF target.
379
380 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com> 
381
382         Apply LD plugin patch series (part 4/6).
383         * ld-plugin/plugin-9.d: New testcase.
384         * ld-plugin/plugin.exp: Invoke it.
385
386 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com> 
387
388         Apply LD plugin patch series (part 3/6).
389         * ld-plugin/plugin-8.d: New testcase.
390         * ld-plugin/plugin.exp: Invoke it.
391
392 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com> 
393
394         Apply LD plugin patch series (part 2/6).
395         * ld-plugin/plugin-3.d: Enable regexes for new functionality.
396         * ld-plugin/plugin-5.d: Likewise.
397         * ld-plugin/plugin-6.d: New testcase.
398         * ld-plugin/plugin-7.d: Likewise.
399         * ld-plugin/plugin.exp: Use 'nm' on compiled test objects to determine
400         whether symbols in plugin arguments need an underscore prefix.  Add
401         new plugin-6.d and plugin-7.d testcases.
402
403 2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com> 
404
405         Apply LD plugin patch series (part 1/6).
406         * ld-bootstrap/bootstrap.exp: Skip static tests also if LD plugins
407         are enabled.
408         * lib/ld-lib.exp (proc regexp_diff): Extend verbose debug output.
409         (proc set_file_contents): Write a file with the supplied content.
410         (run_ld_link_tests): Add new 'ld' action to test linker output.
411         (proc check_plugin_api_available): Return true if linker under test
412         supports the plugin API.
413         * ld-plugin/func.c: New test source file.
414         * ld-plugin/main.c: Likewise.
415         * ld-plugin/text.c: Likewise.
416         * ld-plugin/plugin-1.d: New dump test output pattern script.
417         * ld-plugin/plugin-2.d: Likewise.
418         * ld-plugin/plugin-3.d: Likewise.
419         * ld-plugin/plugin-4.d: Likewise.
420         * ld-plugin/plugin-5.d: Likewise.
421         * ld-plugin/plugin.exp: New test control script.
422
423 2010-10-11  Alan Modra  <amodra@gmail.com>
424
425         * ld-elf/orphan-region.d: xfail frv-*-*.
426
427 2010-10-11  Alan Modra  <amodra@gmail.com>
428
429         * ld-mmix/sec-3.d: Adjust for 2010-09-29 orphan change.
430         * ld-mmix/sec-7m.d: Likewise.
431
432 2010-10-06  Nick Clifton  <nickc@redhat.com>
433
434         * ld-scripts/rgn-at5.t: Add some more output sections.
435         * ld-scripts/rgn-at5.d: Update expected output.
436
437 2010-09-30  H.J. Lu  <hongjiu.lu@intel.com>
438
439         PR ld/11812
440         * ld-i386/nogot2.d: New
441         * ld-i386/nogot2.s: Likewise.
442         * ld-x86-64/nogot2.d: Likewise.
443         * ld-x86-64/nogot2.s: Likewise.
444
445         * ld-i386/i386.exp: Run nogot2.
446         * ld-x86-64/x86-64.exp: Likewise.
447
448 2010-09-29  Alan Modra  <amodra@gmail.com>
449
450         * ld-h8300/h8300.exp: Use is_elf_format.
451
452         * lib/ld-lib.exp (is_elf_format): Merge with binutils and gas versions.
453         (is_aout_format): Update target list.
454         (is_pecoff_format): Remove unnecessary line continuation.
455
456 2010-09-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
457
458         * ld-s390/tlsbin.dd: bcr 0,%r7 -> nopr %r7.
459         * ld-s390/tlsbin_64.dd: Likewise.
460         * ld-s390/tlspic.dd: Likewise.
461         * ld-s390/tlspic_64.dd: Likewise.
462
463 2010-09-23  H.J. Lu  <hongjiu.lu@intel.com>
464
465         PR ld/11812
466         * ld-i386/nogot1.s: Don't use GOTOFF.
467
468 2010-09-23  Bernd Schmidt  <bernds@codesourcery.com>
469
470         * ld-tic6x/pcrel-reloc-local-r-rel-rela.d: New test.
471
472 2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
473
474         * ld-arm/attr-merge-6.attr: Update for Security Extensions.
475         * ld-arm/attr-merge-7.attr: Likewise.
476
477 2010-09-23  Alan Modra  <amodra@gmail.com>
478
479         * ld-elf/elf.exp: Don't run --gc-sections tls var test on v850.
480         * ld-elf/group2.d: xfail xstormy.
481         * ld-elf/group4.d: Likewise.
482         * ld-elf/group5.d: Likewise.
483         * ld-elf/group6.d: Likewise.
484         * ld-elf/init-fini-arrays.d: xfail cr16 and crx.
485         * ld-elf/orphan2.d: xfail xstormy.
486         * ld-elf/sec64k.exp: Don't run on targets using generic linker.
487         Allow a larger range for ld -r expected bar_1 section.  Don't run
488         final link test on a number of targets.  Select avr6 for avr targets.
489         * ld-elfcomm/elfcomm.exp: Don't attempt on hpux.
490
491         * ld-d10v/reloc-007.d: Don't error.
492         * ld-d10v/reloc-008.d: Likewise.
493         * ld-d10v/reloc-015.d: Likewise.
494         * ld-d10v/reloc-016.d: Likewise.
495         * ld-d10v/reloc-012.ld: Use a sane offset.
496
497 2010-09-20  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
498
499         * ld-arm/attr-merge-6.attr: Update test for change in canonical CPU
500         name.
501         * ld-arm/attr-merge-7.attr: Likewise.
502         * ld-arm/attr-merge-2.attr: Likewise.
503         * ld-arm/attr-merge-arch-2.attr: Likewise.
504
505 2010-09-20  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
506
507         * ld-arm/script-type.ld: Update to generate symbols in a section.
508
509 2010-09-19  Richard Sandiford  <rdsandiford@googlemail.com>
510
511         * ld-mips-elf/elf-rel-got-n32.d: Swap two local GOT entries
512         and remove some duplication between the global and local GOT
513         entries.  Adjust GP offsets accordingly.
514         * ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
515         * ld-mips-elf/elf-rel-xgot-n32.d: Reorder GOT entries and update
516         GP offsets accordingly.
517         * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
518         * ld-mips-elf/mips16-pic-1.gd: Move all global GOT entries to
519         the local GOT.
520         * ld-mips-elf/mips16-pic-1.dd: Update GP offsets accordingly.
521         * ld-mips-elf/multi-got-no-shared.d: Adjust GP setup for
522         smaller GOT sizes.
523
524 2010-09-18  Alan Modra  <amodra@gmail.com>
525
526         * lib/ld-lib.exp (check_gc_sections_available): Fail more targets.
527         * ld-discard/discard.exp: Move xfails from here..
528         * ld-discard/extern.d: ..to here.
529         * ld-discard/start.d: ..and here.
530         * ld-discard/static.d: ..and here.
531         * ld-elf/binutils.exp: Don't run tbss1 and tbss2 tests on hppa64.
532         * ld-elf/empty2.d: Remove xfails.
533         * ld-elf/flags1.d: xfail hppa64.
534         * ld-elf/group1.d: Add comment.
535         * ld-elf/group2.d: xfail cr16 and crx.
536         * ld-elf/group3b.d: Correct xfail and add comment.
537         * ld-elf/group4.d: xfail cr16 and crx.
538         * ld-elf/group5.d: Likewise.
539         * ld-elf/group6.d: Likewise.
540         * ld-elf/group7.d: Likewise.
541         * ld-elf/group8a.d: Add more notarget and xfail entries.  Comment.
542         * ld-elf/group8b.d: Likewise.
543         * ld-elf/group9a.d: Likewise.
544         * ld-elf/group9b.d: Likewise.
545         * ld-elf/linkonce2.d: Correct notarget and comment.
546         * ld-elf/merge2.d: Remove iq2000 from xfail.
547         * ld-elf/multibss1.d: xfail hppa64.
548         * ld-elf/nobits-1.d: Likewise.
549         * ld-elf/note-1.d: Likewise.
550         * ld-elf/note-2.d: Likewise.
551         * ld-elf/orphan-region.d: Add xfails.
552         * ld-elf/orphan-region.ld: Discard some sections.
553         * ld-elf/orphan.d: Add xfails.
554         * ld-elf/orphan.ld: Discard some sections.
555         * ld-elf/orphan3.d: Replace xfail frv-*-* with frv-*-elf.  Remove
556         cr16, crx and d10v.
557         * ld-elf/pr349.d: Add xfails.
558         * ld-elf/warn2.d: Add xfails.  Tweak symbol section for hppa64.
559         * ld-scripts/rgn-at5.t: Discard .reginfo.
560
561 2010-09-16  Alan Modra  <amodra@gmail.com>
562
563         * ld-elf/orphan-region.d: xfail for spu.
564         * ld-elf/relocatable.d: xfail for hppa.
565
566         * ld-elf/group3b.d: Disable for generic linker targets.
567         * ld-elf/linkonce2.d: Likewise.
568         * ld-scripts/empty-address-2a.d: Disable for frv and aout,oldld.
569         * ld-scripts/empty-address-2b.d: Likewise.
570         * ld-scripts/rgn-at5.s: Don't use .word.
571         * ld-scripts/rgn-at5.d: Update.
572
573 2010-09-10  Alan Modra  <amodra@gmail.com>
574
575         * ld-gc/abi-note.d: Exclude aout and oldld targets.
576         * ld-gc/start.d: Likewise.
577         * ld-scripts/section-match-1.d: Likewise, and tic30.
578
579 2010-09-10  Hans-Peter Nilsson  <hp@axis.com>
580
581         * ld-scripts/rgn-at5.d: Restrict to *-*-linux*.
582
583 2010-09-09  H.J. Lu  <hongjiu.lu@intel.com>
584
585         PR ld/11998
586         * ld-scripts/rgn-at5.d: New.
587         * ld-scripts/rgn-at5.s: Likewise.
588         * ld-scripts/rgn-at5.t: Likewise.
589
590 2010-09-07  Andrew Burgess  <aburgess@broadcom.com>
591
592         * ld-x86-64/split-by-file.rd: New test.
593         * ld-x86-64/split-by-file1.s: New test source code.
594         * ld-x86-64/split-by-file2.s: New test source code.
595         * ld-x86-64/x86-64.exp: Run the new test.
596
597 2010-08-31  Nick Clifton  <nickc@redhat.com>
598
599         * ld-scripts/section-match.exp: New file.  Runs the
600         section-match-1 test.
601         * ld-scripts/section-match-1.d: New file.
602         * ld-scripts/section-match-1.s: New file.
603         * ld-scripts/section-match-1.t: New file.
604
605 2010-08-25  Julian Brown  <julian@codesourcery.com>
606
607         * ld-arm/arm-elf.exp (armelftests): Add cortex-a8-fix-blx-bcond.s.
608         * ld-arm/cortex-a8-fix-blx-bcond.s: New.
609         * ld-arm/cortex-a8-fix-blx-bcond.d: New.
610
611 2010-08-24  H.J. Lu  <hongjiu.lu@intel.com>
612
613         * ld-x86-64/x86-64.exp: Fix typos.
614
615 2010-08-23  Maciej W. Rozycki  <macro@codesourcery.com>
616
617         * ld-mips-elf/attr-gnu-4-04.d: Adjust Tag_GNU_MIPS_ABI_FP for
618         the new MIPS32r2 64-bit FPU description.
619         * ld-mips-elf/attr-gnu-4-40.d: Likewise.
620         * ld-mips-elf/attr-gnu-4-44.d: Likewise.
621
622 2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>
623
624         PR ld/11933
625         * ld-x86-64/mixed1a.s: New.
626         * ld-x86-64/mixed1b.s: Likewise.
627         * ld-x86-64/mixed2a.s: Likewise.
628         * ld-x86-64/mixed2b.s: Likewise.
629
630         * ld-x86-64/x86-64.exp: Test mixed x86_64 and i386 inputs.
631
632 2010-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
633
634         * ld-sh/sh.exp: Add missing newline.
635
636 2010-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
637
638         * ld-mips-elf/attr-gnu-4-01.d: Correct Tag_GNU_MIPS_ABI_FP.
639         * ld-mips-elf/attr-gnu-4-02.d: Likewise.
640         * ld-mips-elf/attr-gnu-4-10.d: Likewise.
641         * ld-mips-elf/attr-gnu-4-11.d: Likewise.
642         * ld-mips-elf/attr-gnu-4-15.d: Likewise.
643         * ld-mips-elf/attr-gnu-4-20.d: Likewise.
644         * ld-mips-elf/attr-gnu-4-22.d: Likewise.
645         * ld-mips-elf/attr-gnu-4-25.d: Likewise.
646
647 2010-08-19  Alan Modra  <amodra@gmail.com>
648
649         * ld-scripts/memory.t: Remove ORIGIN fudge.
650
651 2010-08-13  H.J. Lu  <hongjiu.lu@intel.com>
652
653         PR ld/11913
654         * ld-i386/discarded1.d: New.
655         * ld-i386/discarded1.s: Likewise.
656         * ld-i386/discarded1.t: Likewise.
657         * ld-x86-64/discarded1.d: Likewise.
658         * ld-x86-64/discarded1.s: Likewise.
659         * ld-x86-64/discarded1.t: Likewise.
660
661         * ld-i386/i386.exp: Run discarded1.
662         * ld-x86-64/x86-64.exp: Likewise.
663
664 2010-08-09  Catherine Moore  <clm@codesourcery.com>
665
666         * ld-mips-elf/mode-change-error-1.d: New.
667         * ld-mips-elf/mode-change-error-1a.s: New.
668         * ld-mips-elf/mode-change-error-1b.s: New.
669         * ld-mips-elf/mips-elf.exp: Run new test.
670
671 2010-08-06  Alan Modra  <amodra@gmail.com>
672
673         * ld-powerpc/tocopt.s, * ld-powerpc/tocopt.d: New test.
674         * ld-powerpc/powerpc.exp: Run it.
675
676 2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
677             Ina Pandit  <ina.pandit@kpitcummins.com>
678
679         * ld-v850/split-lo16.d: Update the "ld" instructions with a space
680         for second operand.
681
682 2010-07-20  Alan Modra  <amodra@gmail.com>
683
684         * ld-powerpc/tlsexe.r: Update.
685         * ld-powerpc/tlsexetoc.r: Update.
686         * ld-powerpc/tlsso.r: Update.
687         * ld-powerpc/tlstocso.r: Update.
688
689 2010-07-20  Alan Modra  <amodra@gmail.com>
690
691         * ld-powerpc/vxworks-relax.s: Add branches to match expected output.
692         * ld-powerpc/vxworks-relax-2.s: Likewise.
693         * ld-powerpc/vxworks1-lib.rd: Reorder reloc sections.
694
695 2010-07-19  Andreas Schwab  <schwab@redhat.com>
696
697         * ld-mmix/bspec1.d: Ignore "Key to Flags" contents.
698         * ld-mmix/bspec2.d: Likewise.
699         * ld-mmix/local1.d: Likewise.
700         * ld-mmix/local3.d: Likewise.
701         * ld-mmix/local5.d: Likewise.
702         * ld-mmix/local7.d: Likewise.
703         * ld-mmix/undef-3.d: Likewise.
704         * ld-sh/sh64/crange1.rd: Likewise.
705         * ld-sh/sh64/crange2.rd: Likewise.
706         * ld-sh/sh64/crange3-cmpct.rd: Likewise.
707         * ld-sh/sh64/crange3-media.rd: Likewise.
708         * ld-sh/sh64/crange3.rd: Likewise.
709         * ld-sh/sh64/crangerel1.rd: Likewise.
710         * ld-sh/sh64/crangerel2.rd: Likewise.
711
712 2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>
713
714         PR ld/11817
715         * ld-i386/compressed1.s: New.
716         * ld-i386/compressed1.d: Likewise.
717         * ld-x86-64/compressed1.s: Likewise.
718         * ld-x86-64/compressed1.d: Likewise.
719
720         * ld-i386/i386.exp: Run compressed1.
721         * ld-x86-64/x86-64.exp: Likewise.
722
723 2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>
724
725         PR ld/11812
726         * ld-elf/exclude3b.d: Don't run on ia64-*-*.  Replace .got with
727         .dynamic.
728
729         * ld-elf/exclude3d.d: New.
730         * ld-i386/nogot1.d: Likewise.
731         * ld-i386/nogot1.s: Likewise.
732         * ld-x86-64/nogot1.d: Likewise.
733         * ld-x86-64/nogot1.s: Likewise.
734
735         * ld-i386/i386.exp: Run nogot1.
736         * ld-x86-64/x86-64.exp: Likewise.
737
738 2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>
739
740         * ld-i386/hidden2.d: Don't hard code expected output.
741         * ld-i386/protected3.d: Likewise.
742         * ld-x86-64/hidden2.d: Likewise.
743         * ld-x86-64/protected3.d: Likewise.
744
745 2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>
746
747         PR ld/11791
748         * ld-ifunc/ifunc-10-i386.d: New.
749         * ld-ifunc/ifunc-10-i386.s: Likewise.
750         * ld-ifunc/ifunc-10-x86-64.d: Likewise.
751         * ld-ifunc/ifunc-10-x86-64.s: Likewise.
752         * ld-ifunc/ifunc-11-i386.d: Likewise.
753         * ld-ifunc/ifunc-11-i386.s: Likewise.
754         * ld-ifunc/ifunc-11-x86-64.d: Likewise.
755         * ld-ifunc/ifunc-11-x86-64.s: Likewise.
756
757 2010-07-06  Alan Modra  <amodra@gmail.com>
758
759         * ld-powerpc/relax.s: Add branch back to _start.
760         * ld-powerpc/relax.d: Update.
761         * ld-powerpc/relaxr.d: Update.
762
763 2010-07-01  Alan Modra  <amodra@gmail.com>
764
765         * lib/ld-lib.exp (default_ld_simple_link): Add $gcc_ld_flag before
766         any other options in $ld.
767
768 2010-06-29  Alan Modra  <amodra@gmail.com>
769
770         * ld-maxq/maxq.exp: Delete file.
771         * ld-maxq/addend.dd, * ld-maxq/addend.s, * ld-maxq/paddr.dd,
772         * ld-maxq/paddr.s, * ld-maxq/paddr1.dd, * ld-maxq/paddr1.s,
773         * ld-maxq/r32-1.s, * ld-maxq/r32-2.s, * ld-maxq/r32.dd: Likewise.
774
775 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
776
777         * ld-elf/orphan3.d: Allow section names starting '_'.
778         * ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
779         ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d,
780         ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d,
781         ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d,
782         ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d,
783         ld-tic6x/attr-arch-c64x+-c674x.d,
784         ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d,
785         ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d,
786         ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d,
787         ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d,
788         ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s,
789         ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d,
790         ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d,
791         ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d,
792         ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d,
793         ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d,
794         ld-tic6x/attr-arch-c67x+-c674x.d,
795         ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d,
796         ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d,
797         ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d,
798         ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d,
799         ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New.
800
801 2010-06-07  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
802
803         * ld-arm/arm-call.d: Handle change in lsls/movs disassembly.
804         * ld-arm/farcall-thumb-arm-short.d: Likewise.
805         * ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Likewise.
806         * ld-arm/farcall-thumb-thumb-blx.d: Likewise.
807         * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
808         * ld-arm/farcall-thumb-thumb-m.d: Likewise.
809         * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
810         * ld-arm/farcall-thumb-thumb.d: Likewise.
811         * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
812         * ld-arm/thumb2-bl-as-thumb1-bad.d: Likewise.
813         * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
814         * ld-arm/thumb2-bl-bad.d: Likewise.
815
816 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
817
818         PR ld/11628
819         * ld-elf/textaddr3.d: New.
820         * ld-elf/textaddr4.d: Likewise.
821         * ld-elf/textaddr5.d: Likewise.
822         * ld-elf/textaddr6.d: Likewise.
823         * ld-elf/textaddr7.d: Likewise.
824
825 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
826             Joseph Myers  <joseph@codesourcery.com>
827             Andrew Stubbs  <ams@codesourcery.com>
828
829         * ld-sh/sh.exp: Handle uClinux like Linux.
830         * lib/ld-lib.exp (is_elf_format): Include sh*-*-uclinux*.
831         * ld-sh/fdpic-funcdesc-shared.d: New file.
832         * ld-sh/fdpic-funcdesc-shared.s: New file.
833         * ld-sh/fdpic-funcdesc-static.d: New file.
834         * ld-sh/fdpic-funcdesc-static.s: New file.
835         * ld-sh/fdpic-gotfuncdesc-shared.d: New file.
836         * ld-sh/fdpic-gotfuncdesc-shared.s: New file.
837         * ld-sh/fdpic-gotfuncdesc-static.d: New file.
838         * ld-sh/fdpic-gotfuncdesc-static.s: New file.
839         * ld-sh/fdpic-gotfuncdesci20-shared.d: New file.
840         * ld-sh/fdpic-gotfuncdesci20-shared.s: New file.
841         * ld-sh/fdpic-gotfuncdesci20-static.d: New file.
842         * ld-sh/fdpic-gotfuncdesci20-static.s: New file.
843         * ld-sh/fdpic-goti20-shared.d: New file.
844         * ld-sh/fdpic-goti20-shared.s: New file.
845         * ld-sh/fdpic-goti20-static.d: New file.
846         * ld-sh/fdpic-goti20-static.s: New file.
847         * ld-sh/fdpic-gotofffuncdesc-shared.d: New file.
848         * ld-sh/fdpic-gotofffuncdesc-shared.s: New file.
849         * ld-sh/fdpic-gotofffuncdesc-static.d: New file.
850         * ld-sh/fdpic-gotofffuncdesc-static.s: New file.
851         * ld-sh/fdpic-gotofffuncdesci20-shared.d: New file.
852         * ld-sh/fdpic-gotofffuncdesci20-shared.s: New file.
853         * ld-sh/fdpic-gotofffuncdesci20-static.d: New file.
854         * ld-sh/fdpic-gotofffuncdesci20-static.s: New file.
855         * ld-sh/fdpic-gotoffi20-shared.d: New file.
856         * ld-sh/fdpic-gotoffi20-shared.s: New file.
857         * ld-sh/fdpic-gotoffi20-static.d: New file.
858         * ld-sh/fdpic-gotoffi20-static.s: New file.
859         * ld-sh/fdpic-plt-be.d: New file.
860         * ld-sh/fdpic-plt-le.d: New file.
861         * ld-sh/fdpic-plt.s: New file.
862         * ld-sh/fdpic-plti20-be.d: New file.
863         * ld-sh/fdpic-plti20-le.d: New file.
864         * ld-sh/fdpic-stack-default.d: New file.
865         * ld-sh/fdpic-stack-size.d: New file.
866         * ld-sh/fdpic-stack.s: New file.
867
868 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
869
870         PR gas/11600
871         * ld-elf/exclude3.s: New.
872         * ld-elf/exclude3a.d: Likewise.
873         * ld-elf/exclude3b.d: Likewise.
874         * ld-elf/exclude3c.d: Likewise.
875
876 2010-05-11  Andrew Stubbs  <ams@codesourcery.com>
877
878         * ld-arm/attr-merge-2.attr: Add Tag_DIV_use.
879         * ld-arm/attr-merge-2a.s: Likewise.
880         * ld-arm/attr-merge-2b.s: Likewise.
881         * ld-arm/attr-merge-3a.s: Likewise.
882         * ld-arm/attr-merge-3b.s: Likewise.
883         * ld-arm/attr-merge-4.attr: Likewise.
884         * ld-arm/attr-merge-5.attr: Likewise.
885         * ld-arm/attr-merge-6.attr: Likewise.
886         * ld-arm/attr-merge-7.attr: Likewise.
887         * ld-arm/attr-merge-arch-1.attr: Likewise.
888         * ld-arm/attr-merge-arch-2.attr: Likewise.
889         * ld-arm/attr-merge-unknown-2.d: Likewise.
890         * ld-arm/attr-merge-unknown-2r.d: Likewise.
891         * ld-arm/attr-merge-unknown-3.d: Likewise.
892         * ld-arm/attr-merge-vfp-1.d: Likewise.
893         * ld-arm/attr-merge-vfp-1r.d: Likewise.
894         * ld-arm/attr-merge-vfp-2.d: Likewise.
895         * ld-arm/attr-merge-vfp-2r.d: Likewise.
896         * ld-arm/attr-merge-vfp-3.d: Likewise.
897         * ld-arm/attr-merge-vfp-3r.d: Likewise.
898         * ld-arm/attr-merge-vfp-4.d: Likewise.
899         * ld-arm/attr-merge-vfp-4r.d: Likewise.
900         * ld-arm/attr-merge-vfp-5.d: Likewise.
901         * ld-arm/attr-merge-vfp-5r.d: Likewise.
902         * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
903         * ld-arm/attr-merge-wchar-00.d: Likewise.
904         * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
905         * ld-arm/attr-merge-wchar-02.d: Likewise.
906         * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
907         * ld-arm/attr-merge-wchar-04.d: Likewise.
908         * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
909         * ld-arm/attr-merge-wchar-20.d: Likewise.
910         * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
911         * ld-arm/attr-merge-wchar-22.d: Likewise.
912         * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
913         * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
914         * ld-arm/attr-merge-wchar-40.d: Likewise.
915         * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
916         * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
917         * ld-arm/attr-merge-wchar-44.d: Likewise.
918         * ld-arm/attr-merge.attr: Likewise.
919
920 2010-05-11  Jie Zhang  <jie@codesourcery.com>
921
922         * ld-arm/attr-merge-vfp-6.d: New test.
923         * ld-arm/attr-merge-vfp-6r.d: New test.
924         * ld-arm/attr-merge-vfpv3xd.s: New test.
925         * ld-arm/arm-elf.exp: Add attr-merge-vfp-6 and attr-merge-vfp-6r.
926
927 2010-05-07  Daniel Jacobowitz  <dan@codesourcery.com>
928
929         * ld-arm/cortex-a8-fix-bl-rel-plt.d: New file.
930         * ld-arm/arm-elf.exp (armelftests): Run cortex-a8-fix-bl-rel-plt.d.
931
932 2010-05-06  Joseph Myers  <joseph@codesourcery.com>
933
934         * ld-elf/orphan-region.d: Use ld -N.
935
936 2010-04-30  H.J. Lu  <hongjiu.lu@intel.com>
937
938         PR ld/11542
939         * ld-elf/discard.ld: New.
940         * ld-elf/discard1.d: Likewise.
941         * ld-elf/discard1.s: Likewise.
942         * ld-elf/discard2.d: Likewise.
943         * ld-elf/discard2.s: Likewise.
944         * ld-elf/discard3.d: Likewise.
945
946 2010-04-22  Alan Modra  <amodra@gmail.com>
947
948         * ld-elf/extract-symbol-1sec.d: Update lma.
949         * ld-i386/alloc.d: Expect a warning, not an error.
950
951 2010-04-20  Joseph Myers  <joseph@codesourcery.com>
952
953         * ld-tic6x/data-reloc-global-rel.d,
954         ld-tic6x/data-reloc-global-rel.s,
955         ld-tic6x/data-reloc-local-r-rel.d,
956         ld-tic6x/data-reloc-local-rel.d, ld-tic6x/mvk-reloc-global-rel.d,
957         ld-tic6x/mvk-reloc-global-rel.s, ld-tic6x/mvk-reloc-local-1-rel.s,
958         ld-tic6x/mvk-reloc-local-2-rel.s,
959         ld-tic6x/mvk-reloc-local-r-rel.d, ld-tic6x/mvk-reloc-local-rel.d,
960         ld-tic6x/pcrel-reloc-global-rel.d,
961         ld-tic6x/pcrel-reloc-local-r-rel.d,
962         ld-tic6x/pcrel-reloc-local-rel.d, ld-tic6x/sbr-reloc-global-rel.d,
963         ld-tic6x/sbr-reloc-global-rel.s, ld-tic6x/sbr-reloc-local-1-rel.s,
964         ld-tic6x/sbr-reloc-local-2-rel.s,
965         ld-tic6x/sbr-reloc-local-r-rel.d, ld-tic6x/sbr-reloc-local-rel.d:
966         New.
967
968 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
969
970         * ld-arm/attr-merge-2.attr: Update for changes in attribute output.
971         * ld-arm/attr-merge-3.attr: Likewise.
972         * ld-arm/attr-merge-vfp-1.d: Likewise.
973         * ld-arm/attr-merge-vfp-1r.d: Likewise.
974         * ld-arm/attr-merge-vfp-2.d: Likewise.
975         * ld-arm/attr-merge-vfp-2r.d: Likewise.
976         * ld-arm/attr-merge-vfp-3.d: Likewise.
977         * ld-arm/attr-merge-vfp-3r.d: Likewise.
978         * ld-arm/attr-merge-vfp-4.d: Likeiwse.
979         * ld-arm/attr-merge-vfp-4r.d: Likewise.
980         * ld-arm/attr-merge-vfp-5.d: Likewise.
981         * ld-arm/attr-merge-vfp-5r.d: Likewise.
982         * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
983         * ld-arm/attr-merge-wchar-00.d: Likewise.
984         * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
985         * ld-arm/attr-merge-wchar-02.d: Likewise.
986         * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
987         * ld-arm/attr-merge-wchar-04.d: Likewise.
988         * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
989         * ld-arm/attr-merge-wchar-20.d: Likewise.
990         * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
991         * ld-arm/attr-merge-wchar-22.d: Likewise.
992         * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
993         * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
994         * ld-arm/attr-merge-wchar-40.d: Likewise.
995         * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
996         * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
997         * ld-arm/attr-merge-wchar-44.d: Likewise.
998         * ld-arm/attr-merge.attr: Likewise.
999
1000 2010-04-06  David S. Miller  <davem@davemloft.net>
1001
1002         * ld-elfvers/vers.exp: Pass -Av9a to assembler on sparc-*-*
1003
1004 2010-04-05  Kai Tietz  <kai.tietz@onevision.com>
1005
1006         * ld-pe/orphan_nu.d: New test for --no-leading-underscore.
1007         * ld-pe/orphana_nu.s: New file.
1008         * ld-pe/pe.exp: Add orphan_nu test.
1009
1010 2010-04-01  Nathan Sidwell  <nathan@codesourcery.com>
1011
1012         * ld-powerpc/apuinfo-nul.rd: New.
1013         * ld-powerpc/apuinfo-nul1.s: New.
1014         * ld-powerpc/powerpc.exp: Add it.
1015
1016 2010-03-31  Kai TIetz  <kai.tietz@onevision.com>
1017
1018         * ld-pe//pe-compile.exp (run_basefile_test): Trim result of wc
1019         before string compare.
1020
1021 2010-03-31  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1022
1023         * ld-arm/script-type.sym: Fix test.
1024
1025 2010-03-31  Kai TIetz  <kai.tietz@onevision.com>
1026
1027         * ld-pe/basefile1.s: New.
1028         * ld-pe/pe-compile.exp: Add base-file test.
1029
1030 2010-03-31  Hans-Peter Nilsson  <hp@axis.com>
1031
1032         PR ld/11458
1033         * ld-cris/pcrelcp-1.d, ld-cris/pcrelcp-1.s: New test.
1034
1035         * lib/ld-lib.exp (run_dump_test): When checking linker message and
1036         return code, when success with no message is expected, don't
1037         continue if we have an abnormal exit with a message.  Check output
1038         of inspection program and fail if it had output or an abnormal
1039         exit code.  Include "warning" and "error" among the directives
1040         where multiples are allowed and append to previous values.
1041
1042         * ld-cris/cris.exp (loop over $srcdir/$subdir/*dso-*.d): Apply
1043         "file rootname", not "file tail", before applying runtest_file_p.
1044
1045 2010-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
1046
1047         * ld-arm/arm-elf.exp (armeabitests): Add v6-M farcall test.
1048
1049 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
1050
1051         * ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*.
1052         * ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*.
1053         * ld-tic6x: New directory and testcases.
1054
1055 2010-03-19  Jie Zhang  <jie@codesourcery.com>
1056
1057         PR ld/11304
1058         * ld-elf/pr11304.d: New test.
1059         * ld-elf/pr11304a.s: New test.
1060         * ld-elf/pr11304b.s: New test.
1061         * lib/ld-lib.exp (regexp_diff): Add support for #failif.
1062
1063 2010-03-15  Daniel Jacobowitz  <dan@codesourcery.com>
1064
1065         * ld-elf/orphan-region.d, ld-elf/orphan-region.ld,
1066         ld-elf/orphan-region.s: New files.
1067
1068 2010-03-02  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1069
1070         * ld-arm/arm-merge-incompatible.d: New test.
1071         * ld-arm/arm-merge-incompatiblea.s: Likewise.
1072         * ld-arm/arm-merge-incompatibleb.s: Likewise.
1073         * ld-arm/arm-elf.exp: Run the new test.
1074
1075 2010-03-02  Christophe Lyon  <christophe.lyon@st.com>
1076             Alan Modra  <amodra@gmail.com>
1077
1078         * ld-arm/arm-elf.exp: Change .text start address for
1079         farcall-thumb-arm tests. Add v4t variant for farcall-mixed-lib
1080         test.
1081         * ld-arm/farcall-mixed-lib-v4t.d: New test.
1082         * ld-arm/farcall-mixed-lib1.s: Don't force armv5t.
1083         * ld-arm/farcall-mixed-lib2.s: Likewise.
1084         * ld-arm/arm-call.d: Update expected results.
1085         * ld-arm/cortex-a8-far.d: Likewise.
1086         * ld-arm/farcall-group-size2.d: Likewise.
1087         * ld-arm/farcall-group.d: Likewise.
1088         * ld-arm/farcall-mix.d: Likewise.
1089         * ld-arm/farcall-mix2.d: Likewise.
1090         * ld-arm/farcall-mixed-app-v5.d: Likewise.
1091         * ld-arm/farcall-mixed-app.d: Likewise.
1092         * ld-arm/farcall-mixed-lib.d: Likewise.
1093         * ld-arm/farcall-thumb-arm.d: Likewise.
1094         * ld-arm/farcall-thumb-arm-blx.d: Likewise.
1095         * ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise.
1096         * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise.
1097         * ld-arm/farcall-thumb-arm.s: Update test. Add a new call to
1098         potentially generate different types of stubs.
1099
1100 2010-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1101
1102         * ld-elf/init-fini-arrays.d: Pass --wide to readelf.
1103
1104 2010-02-27  Jie Zhang  <jie@codesourcery.com>
1105
1106         * ld-elf/init-fini-arrays.s: New test.
1107         * ld-elf/init-fini-arrays.d: New test.
1108
1109 2010-02-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1110
1111         * ld-arm/group-relocs.s: Mark code sections as executable.
1112         * ld-arm/arm-elf.exp (armelftests): Only dump executable sections in
1113         group-relocs test.
1114         * ld-arm/reloc-boundaries.d: Fix test to work on Linux targets.
1115
1116 2010-02-23  Nick Clifton  <nickc@redhat.com>
1117
1118         * ld-elf/orphan4.d: Allow for other sections to be present in the
1119         output.
1120
1121 2010-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1122
1123         * ld-ifunc/ifunc.exp: Expect System V OSABI in dynamic
1124         ifunc-using executable.
1125
1126 2010-02-19  Alan Modra  <amodra@gmail.com>
1127
1128         * ld-elf/group.ld: Discard .dropme sections.
1129         * ld-elf/group10.d, * ld-elf/group10.s: New test.
1130
1131 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1132
1133         * ld-arm/attr-merge-6.attr: Add new test.  Missed off last commit.
1134
1135 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1136
1137         * ld-arm/attr-merge-3.attr: Fix test for new attribute values.
1138         * ld-arm/attr-merge-3b.s: Likewise.
1139         * ld-arm/attr-merge-unknown-1.d: Fix test now that 42 is a recognised
1140         attribute ID.
1141         * ld-arm/attr-merge-unknown-1.s: Likewise.
1142         * ld-arm/attr-merge-6.attr: New test.
1143         * ld-arm/attr-merge-6a.s: Likewise.
1144         * ld-arm/attr-merge-6b.s: Likewise.
1145         * ld-arm/attr-merge-7.attr: Likewise.
1146         * ld-arm/attr-merge-7a.s: Likewise.
1147         * ld-arm/attr-merge-7b.s: Likewise.
1148         * ld-arm/arm-elf.exp: Run the new tests.
1149
1150 2010-02-15  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1151
1152         * ld-arm/jump-reloc-veneers-long.d: Correct testcase for
1153           arm-none-eabi target.
1154         * ld-arm/jump-reloc-veneers-short1.d: Likewise
1155         * ld-arm/jump-reloc-veneers-short2.d: Likewise
1156
1157 2010-02-12  Daniel Gutson  <dgutson@codesourcery.com>
1158
1159         * ld-arm/arm-elf.exp (armelftests): New test case added.
1160         * ld-arm/data-only-map.s: New file.
1161         * ld-arm/data-only-map.d: New file.
1162         * ld-arm/data-only-map.ld: New file.
1163
1164 2010-02-11  David S. Miller  <davem@davemloft.net>
1165
1166         * ld-sparc/gotop32.s: Add local symbol case.
1167         * ld-sparc/gotop64.s: Likewise.
1168         * ld-sparc/gotop32.rd: Adjust expected results.
1169         * ld-sparc/gotop32.td: Likewise.
1170         * ld-sparc/gotop64.dd: Likewise.
1171         * ld-sparc/gotop64.rd: Likewise.
1172         * ld-sparc/gotop64.td: Likewise.
1173
1174 2010-02-09  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1175
1176         * ld-elfvsb/elfvsb.exp: Fix tests for arm*-*-linux*.
1177         * ld-shared/shared.exp: Likewise.
1178
1179 2010-02-08  David S. Miller  <davem@davemloft.net>
1180
1181         * ld-ifunc/ifunc.exp: Run for sparc.
1182
1183 2010-02-08  Nathan Sidwell  <nathan@codesourcery.com>
1184
1185         * ld-powerpc/apuinfo-nul.s: New.
1186         * ld-powerpc/apuinfo.rd: Add it.
1187         * ld-powerpc/powerpc.exp: Likewise.
1188
1189 2010-02-01  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1190
1191         * ld-arm/jump-reloc-veneers-long.d: New test.
1192         * ld-arm/jump-reloc-veneers-short1.d: Likewise.
1193         * ld-arm/jump-reloc-veneers-short2.d: Likewise.
1194         * ld-arm/jump-reloc-veneers.s: Likewise.
1195         * ld-arm/arm-elf.exp (armelftests): Run them.
1196
1197 2010-01-28  Nick Clifton  <nickc@redhat.com>
1198
1199         PR 11225
1200         * ld-sh/refdbg-0-dso.d: Dump all sections.
1201
1202 2010-01-26  H.J. Lu  <hongjiu.lu@intel.com>
1203
1204         PR ld/11218
1205         * ld-gc/dummy.s: New.
1206         * ld-gc/pr11218-1.c: Likewise.
1207         * ld-gc/pr11218-2.c: Likewise.
1208         * ld-gc/pr11218.d: Likewise.
1209
1210 2010-01-23  Richard Sandiford  <r.sandiford@uk.ibm.com>
1211
1212         * ld-powerpc/aix-ref-1-32.od, ld-powerpc/aix-ref-1-64.od,
1213         ld-powerpc/aix-ref-1.s: New tests.
1214         * ld-powerpc/aix52.exp: Run them.
1215
1216 2010-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1217
1218         * ld-elf/orphan4.d: Support 64bit targets.
1219
1220 2010-01-13  DJ Delorie  <dj@redhat.com>
1221
1222         * ld-elf/orphan4.d: New.
1223         * ld-elf/orphan4.ld: New.
1224         * ld-elf/orphan4.s: New.
1225
1226 2010-01-13  Chao-ying Fu  <fu@mips.com>
1227
1228         * ld-mips-elf/jr-to-b-1.d, ld-mips-elf/jr-to-b-2.d: New tests.
1229         * ld-mips-elf/jr-to-b-1.s, ld-mips-elf/jr-to-b-2.s: Source.
1230         * ld-mips-elf/mips-elf.exp: Run new tests.
1231
1232 2010-01-13  Daniel Jacobowitz  <dan@codesourcery.com>
1233
1234         * ld-arm/arm-elf.exp (armelftests): Assemble Cortex-A8 tests with
1235         -mcpu=cortex-a8.
1236
1237 2010-01-13  Nick Clifton  <nickc@redhat.com>
1238
1239         * ld-scrips/sort.exp: Skip these tests when the target is the
1240         h8300.
1241
1242 2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
1243
1244         PR ld/11146
1245         * ld-elf/dynsym1.d: New.
1246
1247 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1248
1249         PR ld/11138
1250         * ld-elf/pr11138-1.c: New.
1251         * ld-elf/pr11138-1.map: Likewise.
1252         * ld-elf/pr11138-2.c: Likewise.
1253         * ld-elf/pr11138-2.map: Likewise.
1254         * ld-elf/pr11138.out: Likewise.
1255
1256         * ld-elf/shared.exp (build_tests): Add libpr11138-1.so and
1257         libpr11138-2.o.
1258         (run_tests): Add 2 tests for PR ld/11138.
1259
1260 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1261
1262         PR ld/11133
1263         * ld-gc/gc.exp: Run start.
1264
1265         * ld-gc/start.d: New.
1266         * ld-gc/start.s: Likewise.
1267
1268 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1269
1270         PR ld/11143
1271         * ld-gc/gc.exp: Run abi-note.
1272
1273         * ld-gc/abi-note.d: New.
1274         * ld-gc/abi-note.s: Likewise.
1275
1276 For older changes see ChangeLog-2009
1277 \f
1278 Local Variables:
1279 mode: change-log
1280 left-margin: 8
1281 fill-column: 74
1282 version-control: never
1283 End: