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