8a29ecec145b0fa613c2e17d96fcd81143044fb3
[external/binutils.git] / ld / testsuite / ChangeLog
1 2007-06-18  Andreas Schwab  <schwab@suse.de>
2
3         * ld-scripts/cross3.t: Add .opd section.
4
5 2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
6
7         * ld-scripts/alignof.s: New.
8         * ld-scripts/alignof.t: New
9         * ld-scripts/alignof.exp: New.
10
11 2007-06-14  Alan Modra  <alan@grove.modra.org>
12
13         * ld-spu/ovl.d: Update.
14         * ld-spu/ovl2.d: Update.
15
16 2007-05-24  Nathan Sidwell  <nathan@codesourcery.com>
17
18         * ld-scripts/assert.t: Add additional cases.
19         * ld-scripts/extern.t, ld-scripts/extern.s,
20         ld-scripts/extern.exp: New.
21
22 2007-05-22  Paul Brook  <paul@codesourcery.com>
23
24         * ld-arm/arm-pic-veneer.d: Update expected output.
25         * ld-arm/arm-call.d: Ditto.
26
27 2007-05-22  Paul Brook  <paul@codesourcery.com>
28
29         * ld-arm-mixed-lib.d: Update expected output.
30         * ld-arm/arm-app.d: Ditto.
31         * ld-arm/mixed-app.d: Ditto.
32         * ld-arm/arm-lib-plt32.d: Ditto.
33         * ld-arm/arm-app-abs32.d: Ditto.
34         * ld-arm/mixed-app-v5.d: Ditto.
35         * ld-arm/armthumb-lib.d: Ditto.
36         * ld-arm/arm-lib.d: Ditto.
37
38 2007-05-21  Richard Sandiford  <richard@codesourcery.com>
39
40         * ld-arm/emit-relocs1.d, ld-arm/emit-relocs1.s,
41         * ld-arm/emit-relocs1-vxworks.d: New tests.
42         * ld-arm/arm-elf.exp: Run them.
43         * ld-arm/vxworks1.dd: Expect proper branch targets.
44
45 2007-05-18  Joseph Myers  <joseph@codesourcery.com>
46
47         * ld-elf/group.ld: Discard .reginfo.
48
49 2007-05-18  Paul Brook  <paul@codesourcery.com>
50
51         * ld-arm/arm-call.d: Update expected output.
52
53 2007-05-17  Paul Brook  <paul@codesourcery.com>
54
55         * ld-elf/multibss1.s: Use %nobits instead of @nobits.
56
57 2007-05-17  Nathan Sidwell  <nathan@codesourcery.com>
58
59         * ld-m68k/merge-error-1a.d: Mismatch is an error.
60         * ld-m68k/merge-error-1b.d: Likewise.
61         * ld-m68k/merge-error-1c.d: Likewise.
62         * ld-m68k/merge-error-1d.d: Likewise.
63         * ld-m68k/merge-error-1e.d: Likewise.
64
65 2007-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66
67         PR ld/4504
68         * ld-elf/data1.c: New file.
69         * ld-elf/data1.h: Likewise.
70         * ld-elf/dynbss1.c: Likewise.
71         * ld-elf/pass.out: Likewise.
72
73         * ld-elf/shared.exp (build_tests): Add "Build libdata1.so".
74         (run_tests): Add "Run with libdata1.so".
75
76 2007-05-15  Richard Sandiford  <richard@codesourcery.com>
77
78         * ld-arm/vxworks1.ld: Swap .bss and .data.
79         * ld-arm/vxworks1-lib.rd: Update accordingly.
80         * ld-arm/vxworks1-lib.td: New test.
81         * ld-arm/arm-elf.exp: Run it.
82
83         * ld-i386/vxworks1.ld: Swap .bss and .data.
84         * ld-i386/vxworks1-lib.rd: Update accordingly.
85         * ld-i386/vxworks1-lib.td: New test.
86         * ld-i386/i386.exp: Run it.
87
88         * ld-mips-elf/vxworks1.ld: Swap .bss and .data.
89         * ld-mips-elf/vxworks1-lib.rd: Update accordingly.
90         * ld-mips-elf/vxworks1.rd: Likewise.
91
92         * ld-powerpc/vxworks1.ld: Swap .bss and .data.
93         * ld-powerpc/vxworks1-lib.rd: Update accordingly.
94         * ld-powerpc/vxworks1-lib.td: New test.
95         * ld-powerpc/powerpc.exp: Run it.
96
97         * ld-sh/vxworks1.ld: Swap .bss and .data.
98         * ld-sh/vxworks1-lib.rd: Update accordingly.
99         * ld-sh/vxworks1-lib.td: New test.
100         * ld-sh/sh-vxworks.exp: Run it.
101
102         * ld-sparc/vxworks1.ld: Swap .bss and .data.
103         * ld-sparc/vxworks1-lib.rd: Update accordingly.
104         * ld-sparc/vxworks1-lib.td: New test.
105         * ld-sparc/sparc.exp: Run it.
106
107 2007-05-15  Richard Sandiford  <richard@codesourcery.com>
108
109         * ld-mips-elf/vxworks1-lib.rd: Expect the GOT relocation to be
110         against symbol 0.
111
112 2007-05-15  Mark Shinwell  <shinwell@codesourcery.com>
113
114         * ld-arm/arm-elf.exp: Add jump19 testcase.
115         * ld-arm/jump19.d: New.
116         * ld-arm/jump19.s: New.
117
118 2007-05-14  Richard Sandiford  <richard@codesourcery.com>
119
120         * ld-sh/vxworks1.dd: Remove hexadecimal prefixes from constant pool
121         contents.  Consistently use "!" as the comment character.
122         Consistently use _PROCEDURE_LINKAGE_TABLE_ in the first PLT entry.
123         * ld-sh/vxworks1-le.dd: Likewise.
124         * ld-sh/vxworks1-lib.dd: Likewise.
125         * ld-sh/vxworks1-lib-le.dd: Likewise.
126         * ld-sh/vxworks3.dd: Likewise.
127         * ld-sh/vxworks3-le.dd: Likewise.
128
129 2007-05-14  Andreas Schwab  <schwab@suse.de>
130
131         * ld-elf/dl2a.list: New file.
132         * ld-elf/shared.exp: Add test using --dynamic-list=dl2a.list.
133
134 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
135
136         * ld-arm/vxworks1-lib.dd: Expect "push" instead of stmdb and
137         "pop" instead of ldmia.  Don't require specific symbolic addresses
138         for in-text addresses.  Expect data to be rendered as .words rather
139         than disassembled.
140         * ld-arm/vxworks1.dd: Likewise.
141
142 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
143
144         * ld-elf/multibss1.d, ld-elf/multibss1.s: New test.
145
146 2007-04-27  Nathan Sidwell  <nathan@codesourcery.com>
147
148         * ld-m68k/plt1-isac.d: New.
149         * ld-m68k/m68k.exp: Add it.
150
151 2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>
152
153         PR binutils/4430
154         * ld-i386/tlsbin.dd: Updated.
155         * ld-i386/tlsbindesc.dd: Likewise
156         * ld-i386/tlsdesc.dd: Likewise
157         * ld-i386/tlsgdesc.dd: Likewise
158         * ld-i386/tlsnopic.dd: Likewise
159         * ld-i386/tlspic.dd: Likewise
160         * ld-x86-64/tlsbin.dd: Likewise
161         * ld-x86-64/tlsbindesc.dd: Likewise
162         * ld-x86-64/tlsdesc.dd: Likewise
163         * ld-x86-64/tlsgdesc.dd: Likewise
164         * ld-x86-64/tlspic.dd: Likewise
165
166 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
167
168         * ld-linkonce/x.s: Use .gcc_except_table instead of .eh_frame
169         to test that entry for deleted function is zeroed.  Add a
170         somewhat closer to normal .eh_frame to test that fde for
171         deleted function is removed.
172         * ld-linkonce/y.s: Likewise.
173         * ld-linkonce/zeroeh.ld: Place .gcc_except_table too.
174         * ld-linkonce/zeroehl32.d: Update.
175
176 2007-04-21  Richard Earnshaw  <rearnsha@arm.com>
177
178         * ld-arm/arm-app-abs32.d: Convert to unified syntax.
179         * ld-arm/arm-app.d: Likewise.
180         * ld-arm/arm-lib-plt32.d: Likewise.
181         * ld-arm/arm-lib.d: Likewise.
182         * ld-arm/arm-static-app.d: Likewise.
183         * ld-arm/armthumb-lib.d: Likewise.
184         * ld-arm/mixed-app-v5.d: Likewise.
185         * ld-arm/mixed-app.d: Likewise.
186         * ld-arm/mixed-lib.d: Likewise.
187
188 2007-04-18  Alan Modra  <amodra@bigpond.net.au>
189
190         * ld-spu/ovl.lnk: Use OVERLAY keyword.
191
192 2007-04-17  Paul Brook  <paul@codesourcery.com>
193
194         * ld-arm/preempt-app.s: New test.
195         * ld-arm/preempt-app.sym: New.
196         * ld-arm/arm-elf.exp: Add preempt-app.
197
198 2007-04-12  Richard Sandiford  <richard@codesourcery.com>
199
200         * ld-mips-elf/vxworks1-lib.td: New test.
201         * ld-mips-elf/mips-elf.exp: Run it.
202
203 2007-04-05  H.J. Lu  <hongjiu.lu@intel.com>
204
205         PR ld/4304
206         * ld-i386/i386.exp: Run "warn1".
207
208         * ld-i386/warn1.d: New file.
209         * ld-i386/warn1.s: Likewise.
210
211 2007-04-05  H.J. Lu  <hongjiu.lu@intel.com>
212
213         * ld-i386/combreloc.d: Remove #target: i?86-*-*.
214         * ld-i386/reloc.d: Likewise.
215
216 2007-04-05  Alan Modra  <amodra@bigpond.net.au>
217
218         * ld-spu/ovl2.d: Update.
219
220 2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>
221
222         PR ld/4090
223         * ld-elf/expr1.d: New file.
224         * ld-elf/expr1.s: Likewise.
225         * ld-elf/expr1.t: Likewise.
226
227 2007-03-29  Richard Sandiford  <richard@codesourcery.com>
228
229         * ld-libs/lib-1.s, ld-libs/lib-2.s, ld-libs/lib-2.d,
230         * ld-libs/libs.exp: New files.
231
232 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
233
234         * ld-vxworks/rpath-1.s, ld-vxworks/rpath-1.d,
235         * ld-vxworks/vxworks.exp: New files.
236
237 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
238
239         * ld-elf/note-1.s: Increase .foo size.
240
241 2007-03-27  Alan Modra  <amodra@bigpond.net.au>
242
243         * ld-spu/spu.exp (embed_test): New.
244         * ld-spu/ear.s: New.
245         * ld-spu/ear.d: New.
246         * ld-spu/embed.rd: New.
247         * ld-spu/ovl2.s: New.
248         * ld-spu/ovl2.d: New.
249
250 2007-03-24  Alan Modra  <amodra@bigpond.net.au>
251
252         * ld-elf/overlay.d: -u symbols we want to see in the output.
253
254 2007-03-23  Alan Modra  <amodra@bigpond.net.au>
255
256         * ld-spu/ovl.s (f4_a2): Tail call.
257         * ld-spu/ovl.d: Add --emit-relocs to ld options, -r to objdump.
258         Update expected results.
259
260 2007-03-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
261
262         * ld-sh/ld-r-1.d: Update.
263         * ld-sh/shared-1.d: Likewise.
264
265 2007-03-23  Alan Modra  <amodra@bigpond.net.au>
266
267         * ld-elf/elf.exp: Add "--local-store 0:0" to LDFLAGS for spu.
268
269 2007-03-22  H.J. Lu  <hongjiu.lu@intel.com>
270
271         PR ld/4210
272         * ld-pe/image_size.d: New file.
273         * ld-pe/image_size.s: Likewise.
274         * ld-pe/image_size.t: Likewise.
275
276         * ld-pe/pe.exp: Run image_size.
277
278 2007-03-22  H.J. Lu  <hongjiu.lu@intel.com>
279
280         PR ld/4007
281         * ld-elf/note-1.d: New file.
282         * ld-elf/note-1.s: Likewise.
283         * ld-elf/note-1.t: Likewise.
284         * ld-i386/alloc.d: Likewise.
285         * ld-i386/alloc.s: Likewise.
286         * ld-i386/alloc.t: Likewise.
287
288         * ld-i386/i386.exp: Run "alloc".
289
290 2007-03-20  Paul Brook  <paul@codesourcery.com>
291
292         * ld-arm/arm-elf.exp (ld-arm/arm-elf.exp): Add arm-pic-veneer.
293         * ld-arm/arm-pic-veneer.d: New test.
294         * ld-arm/arm-pic-veneer.s: New test.
295
296 2007-03-08  Richard Sandiford  <richard@codesourcery.com>
297
298         * ld-elf/extract-symbol-1.ld (data): Explicitly set the start address
299         to 0.
300
301 2007-03-07  Alan Modra  <amodra@bigpond.net.au>
302
303         * ld-elf/extract-symbol-1sec.d: xfail hppa.
304         * ld-elf/extract-symbol-1sym.d: xfail hppa.
305
306 2007-03-07  H.J. Lu  <hongjiu.lu@intel.com>
307
308         PR 3958
309         * ld-elf/linkonce1.d: New.
310         * ld-elf/linkonce1a.s: New.
311         * ld-elf/linkonce1b.s: New.
312         * ld-elf/linkonce2.d: New.
313         * ld-i386/pcrel16abs.d: New.
314         * ld-i386/pcrel16abs.s: New.
315         * ld-i386/i386.exp: Run it.
316
317 2007-03-06  H.J. Lu  <hongjiu.lu@intel.com>
318
319         PR ld/4144
320         * ld-elf/nobits-1.d: New file.
321         * ld-elf/nobits-1.s: Likewise.
322         * ld-elf/nobits-1.t: Likewise.
323
324 2007-03-02  Richard Sandiford  <richard@codesourcery.com>
325
326         * ld-elf/binutils.exp: Revert last change.
327
328 2007-03-01  Richard Sandiford  <richard@codesourcery.com>
329
330         * ld-elf/extract-symbol-1sym.d, ld-elf/extract-symbol-1sec.d,
331         * ld-elf/extract-symbol-1.s, ld-elf/extract-symbol-1.ld: New tests.
332         * ld-elf/binutils.exp: Run them.
333
334 2007-02-28  Nick Clifton  <nickc@redhat.com>
335
336         PR ld/3796
337         * ld-arm/arm-elf.exp (armelftests): Move "Thumb-2 BL" test into...
338         (armeabitests): ... here, a new array for EABI specific tests.
339         (armelftests): Add extra command line options for VFP11 fix tests
340         and thumb shared library test.
341
342 2007-02-22  Paul Brook  <paul@codesourcery.com>
343
344         * ld-arm/arm-elf.exp (armelftests): Add gc-unwind.h.
345         * ld-arm/gc-unwind.s: New file.
346         * ld-arm/gc-unwind.d: New file.
347
348 2007-02-14  H.J. Lu  <hongjiu.lu@intel.com>
349
350         PR ld/3953
351         * ld-elf/beginwarn.c: New file.
352         * ld-elf/warn.out: Likewise.
353
354         * ld-elf/shared.exp (build_tests): Add "Build warn libbar.so".
355         (run_tests): Add "Run warn with versioned libfoo.so".
356
357         * lib/ld-lib.exp (default_ld_relocate): Make exec_output global
358         and remove target first.
359         (default_ld_link): Likewise.
360         (default_ld_simple_link): Likewise.
361         (run_ld_link_exec_tests): Take an optional linker warning and
362         check it.
363         (default_ld_link): Check pruned linker output.
364
365 2007-02-13  H.J. Lu  <hongjiu.lu@intel.com>
366
367         * ld-scripts/default-script1.d: Expect extra symbols.
368         * ld-scripts/default-script2.d: Likewise.
369         * ld-scripts/default-script3.d: Likewise.
370         * ld-scripts/default-script4.d: Likewise.
371
372 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
373
374         * ld-powerpc/relbrlt.d: Update.
375         * ld-powerpc/tlsexe.r: Update.
376         * ld-powerpc/tlsexetoc.r: Update.
377         * ld-powerpc/tlsso.r: Update.
378         * ld-powerpc/tlstocso.r: Update.
379
380 2007-02-12  Alan Modra  <amodra@bigpond.net.au>
381
382         * ld-powerpc/relbrlt.d: Update.
383
384 2007-02-06  Nick Clifton  <nickc@redhat.com>
385
386         PR ld/3805
387         * ld-elf/sec64k.exp: Expect the relocatable version of this test
388         to fail for the m32r because it creates both .rel and .rela
389         sections.
390
391 2007-02-05  Dave Brolley  <brolley@redhat.com>
392
393         * ld-undefined/undefined.exp: XFAIL the undefined test
394         * ld-mep: New, with content.
395
396 2007-02-05  H.J. Lu  <hongjiu.lu@intel.com>
397
398         * ld-i386/pcrel16.d: Undo the last change.
399         * ld-x86-64/pcrel16.d: Likewise.
400
401 2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>
402
403         * ld-i386/pcrel16.d: Updated.
404         * ld-x86-64/pcrel16.d: Likewise.
405
406 2007-02-01  Alan Modra  <amodra@bigpond.net.au>
407
408         * ld-scripts/default-script.exp: Add "--local-store 0:0" to
409         LDFLAGS for spu.
410
411 2007-01-29  Julian Brown  <julian@codesourcery.com>
412
413         * ld-arm/arm-elf.exp: Add VFP11 tests.
414         * ld-arm/vfp11-fix-none.s: New file.
415         * ld-arm/vfp11-fix-none.d: Expected disassembly of above.
416         * ld-arm/vfp11-fix-scalar.s: New file.
417         * ld-arm/vfp11-fix-scalar.d: Expected disassembly of above.
418         * ld-arm/vfp11-fix-vector.s: New file.
419         * ld-arm/vfp11-fix-vector.d: Expected disassembly of above.
420
421 2007-01-23  Nathan Sidwell  <nathan@codesourcery.com>
422
423         * ld-elf/header.d: Reduce page size, restrict to linux & vxworks
424         * ld-elf/header.s: Adjust.
425         * ld-elf/header.t: Reduce initial offset.
426
427 2007-01-23  Andreas Schwab  <schwab@suse.de>
428
429         * lib/ld-lib.exp (run_dump_test): Don't prematurely remove
430         assembler output.
431
432 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
433
434         * ld-elf/dl6.c: New file.
435         * ld-elf/dl6a.out: Likewise.
436         * ld-elf/dl6amain.c: Likewise.
437         * ld-elf/dl6b.out: Likewise.
438         * ld-elf/dl6bmain.c: Likewise.
439         * ld-elf/dl6cmain.c: Likewise.
440         * ld-elf/dl6dmain.c: Likewise.
441
442         * ld-elf/shared.exp: Add new tests for -Bsymbolic,
443         -Bsymbolic-functions, --dynamic-list-data and
444         --dynamic-list-cpp-new.
445
446 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
447
448         * ld-elf/maxpage3.t: New file.
449         * ld-elf/maxpage3a.d: Likewise.
450         * ld-elf/maxpage3b.d: Likewise.
451         * ld-elf/maxpage3c.d: Likewise.
452
453 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
454
455         * ld-scripts/default-script.exp: New file.
456         * ld-scripts/default-script.s: Likewise.
457         * ld-scripts/default-script.t: Likewise.
458         * ld-scripts/default-script1.d: Likewise.
459         * ld-scripts/default-script2.d: Likewise.
460         * ld-scripts/default-script3.d: Likewise.
461         * ld-scripts/default-script4.d: Likewise.
462
463 2007-01-18  H.J. Lu  <hongjiu.lu@intel.com>
464
465         PR ld/1283
466         * lib/ld-lib.exp (run_dump_test): Remove output file first.
467
468 2007-01-17  H.J. Lu  <hongjiu.lu@intel.com>
469
470         * ld-elf/header.d: Adjust for .text section with 16byte
471         alignment.
472
473 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
474
475         * ld-elf/dl1main.c (main): Fix a typo.
476
477 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
478
479         PR ld/3831
480         * ld-elf/del.cc: New.
481         * ld-elf/dl5.cc: Likewise.
482         * ld-elf/dl5.out: Likewise.
483         * ld-elf/new.cc: Likewise.
484
485         * ld-elf/shared.exp: Add tests for --dynamic-list-data and
486          --dynamic-list-cpp-new.
487
488 2007-01-12  Hans-Peter Nilsson  <hp@axis.com>
489
490         * ld-elf/header.d: Allow arbitrary lines between "Program Header"
491         and "Sections".  Only run on *-*-linux*.
492
493 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
494
495         * ld-elf/header.d: New.
496         * ld-elf/header.t: New.
497         * ld-elf/header.s: New.
498
499 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
500
501         * ld-fastcall/fastcall.exp: Renamed target x86_64-*-mingw64 to
502         x86_64-*-mingw*.
503         * ld-pe/pe.exp: Ditto.
504         * ld-scripts/align.exp: Ditto.
505         * ld-scripts/defined.exp: Ditto.
506         * ld-scripts/provide.exp: Ditto.
507         * ld-scripts/weak.exp: Ditto.
508
509 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
510
511         * ld-scripts/expr.exp: New.
512         * ld-scripts/expr1.s: New.
513         * ld-scripts/expr1.d: New.
514         * ld-scripts/expr1.t: New.
515
516 For older changes see ChangeLog-2006
517 \f
518 Local Variables:
519 mode: change-log
520 left-margin: 8
521 fill-column: 74
522 version-control: never
523 End: