eca0c795036d5045da732fb3fcec897c118f3d64
[external/binutils.git] / ld / testsuite / ChangeLog
1 2008-10-06  Tom Tromey  <tromey@redhat.com>
2
3         * ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d,
4         ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d,
5         ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d,
6         ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d,
7         ld-mips-elf/eh-frame4.d: Update for readelf change.
8
9 2008-10-04  H.J. Lu  <hongjiu.lu@intel.com>
10
11         PR ld/6931
12         * ld-elf/group7.d: New.
13
14 2008-10-03  H.J. Lu  <hongjiu.lu@intel.com>
15
16         * ld-elf/group5.d: Updated.
17         * ld-elf/group6.d: Likewise.
18
19 2008-10-03  Tristan Gingold  <gingold@adacore.com>
20
21         * ld-elf/stab.d: Don't run on alpha (to avoid relocation
22         overflow on 64 bits targets whose stab values is 32 bits).
23
24 2008-10-03  H.J. Lu  <hongjiu.lu@intel.com>
25
26         PR ld/6931
27         * ld-elf/group4.d: New.
28         * ld-elf/group5.d: Likewise.
29         * ld-elf/group6.d: Likewise.
30
31 2008-10-03  Alan Modra  <amodra@bigpond.net.au>
32
33         * ld-powerpc/vxworks1-lib.rd: Update.
34
35 2008-09-29  Alan Modra  <amodra@bigpond.net.au>
36
37         * ld-elf/extract-symbol-1sec.d: Correct section lma.
38
39 2008-09-25  Alan Modra  <amodra@bigpond.net.au>
40
41         * ld-elf/eh-group.exp: Only run on ELF targets.
42         * ld-elf/eh5b.s: Export main, start, __start.
43
44 2008-09-20  Richard Sandiford  <rdsandiford@googlemail.com>
45
46         * ld-mips-elf/reloc-estimate-1.d: Make endian-neutral.
47
48 2008-09-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
49
50         Provide virtual target "cfi" for targets supporting CFI.
51         * ld-elf/eh-frame-hdr.d: Replace target and xfail statements by single
52         `target: cfi'.
53         * ld-elf/eh-group.exp: Call check_as_cfi instead of is_elf_format.
54         * ld-elf/eh-group1.s, elf/eh-group2.s: Use more compatible section
55         flags prefix '%'.
56         * ld-elf/eh5.d: Replace target statement by `target: cfi' with an Alpha
57         exception.  Relax the `Code alignment factor' matching.
58         * lib/ld-lib.exp: Rename istarget as istarget_ld.
59         (istarget, check_as_cfi): New procedure.
60         (run_dump_test): New comment for the virtual target `cfi'.
61
62 2008-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
63
64         * ld-elf/eh-group.exp, ld-elf/eh-group1.s, ld-elf/eh-group2.s: New test.
65
66 2008-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
67
68         Fix testcases compilation failures due to unused variables.
69         * ld-elfcomm/common1b.c (dummy1): Mark the variable for GCC as USED.
70         * ld-shared/main.c (main): Move the P variable only to the places where
71         it is used.
72
73 2008-09-16  H.J. Lu  <hongjiu.lu@intel.com>
74
75         PR ld/6877
76         * ld-elf/comm1.c: New.
77         * ld-elf/func1.c: Likewise.
78
79         * ld-elf/shared.exp: Add tests for libfunc1.so and comm1.
80
81 2008-08-26  Nick Clifton  <nickc@redhat.com>
82
83         * ld-arm/arm-elf.exp: Add farcall-thumb-arm-short test.
84         * ld-arm/farcall-group2.s: Fix comment.
85         * ld-arm/farcall-thumb-arm-short.d: New test.
86         * ld-arm/farcall-thumb-arm-short.s: New test.
87
88 2008-08-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
89
90         * ld-x86-64/dwarfreloc.exp, ld-x86-64/dwarfreloc.rd,
91         ld-x86-64/dwarfreloc1.s, ld-x86-64/dwarfreloc2.s: New test.
92
93 2008-08-20  Bob Wilson  <bob.wilson@acm.org>
94         
95         * ld-xtensa/tlsbin.dd, ld-xtensa/tlsbin.rd, ld-xtensa/tlsbin.s,
96         ld-xtensa/tlsbin.sd, ld-xtensa/tlsbin.td, ld-xtensa/tlslib.s,
97         ld-xtensa/tlspic.dd, ld-xtensa/tlspic.rd, ld-xtensa/tlspic.sd,
98         ld-xtensa/tlspic.td, ld-xtensa/tlspic1.s, ld-xtensa/tlspic2.s: New.
99         * ld-xtensa/xtensa.exp: Run them.
100
101 2008-08-18  Richard Sandiford  <rdsandiford@googlemail.com>
102
103         * ld-mips-elf/mips16-pic-4a.s, ld-mips-elf/mips16-pic-4b.s,
104         ld-mips-elf/mips16-pic-4.ver, ld-mips-elf/mips16-pic-4a.dd,
105         ld-mips-elf/mips16-pic-4a.nd, ld-mips-elf/mips16-pic-4a.gd,
106         ld-mips-elf/mips16-pic-4c.s, ld-mips-elf/mips16-pic-4b.dd: New tests.
107         * ld-mips-elf/mips-elf.exp: Run them.
108
109 2008-08-17  Nick Clifton  <nickc@redhat.com>
110
111         * ld-elf/sec-to-seg1.s: Shorten test data to align the section to
112         a 4-byte boundary.
113
114 2008-08-08  Richard Sandiford  <rdsandiford@googlemail.com>
115             Daniel Jacobowitz  <dan@codesourcery.com>
116
117         * ld-mips-elf/mips16-pic-3a.s,
118         ld-mips-elf/mips16-pic-3b.s,
119         ld-mips-elf/mips16-pic-3.dd,
120         ld-mips-elf/mips16-pic-3.gd,
121         ld-mips-elf/mips16-pic-3.rd,
122         ld-mips-elf/mips16-pic-3.inc,
123         ld-mips-elf/pic-and-nonpic-1a.s,
124         ld-mips-elf/pic-and-nonpic-1b.s,
125         ld-mips-elf/pic-and-nonpic-1.ld,
126         ld-mips-elf/pic-and-nonpic-1.dd,
127         ld-mips-elf/pic-and-nonpic-1.nd,
128         ld-mips-elf/pic-and-nonpic-1-rel.dd,
129         ld-mips-elf/pic-and-nonpic-1-rel.nd,
130         ld-mips-elf/pic-and-nonpic-2a.s,
131         ld-mips-elf/pic-and-nonpic-2b.s,
132         ld-mips-elf/pic-and-nonpic-2.d,
133         ld-mips-elf/pic-and-nonpic-3a.s,
134         ld-mips-elf/pic-and-nonpic-3a.ld,
135         ld-mips-elf/pic-and-nonpic-3a.dd,
136         ld-mips-elf/pic-and-nonpic-3a.gd,
137         ld-mips-elf/pic-and-nonpic-3a.sd,
138         ld-mips-elf/pic-and-nonpic-3b.s,
139         ld-mips-elf/pic-and-nonpic-3b.ld,
140         ld-mips-elf/pic-and-nonpic-3b.ad,
141         ld-mips-elf/pic-and-nonpic-3b.dd,
142         ld-mips-elf/pic-and-nonpic-3b.gd,
143         ld-mips-elf/pic-and-nonpic-3b.nd,
144         ld-mips-elf/pic-and-nonpic-3b.pd,
145         ld-mips-elf/pic-and-nonpic-3b.rd,
146         ld-mips-elf/pic-and-nonpic-3b.sd,
147         ld-mips-elf/pic-and-nonpic-3-error.d,
148         ld-mips-elf/pic-and-nonpic-4a.s,
149         ld-mips-elf/pic-and-nonpic-4b.s,
150         ld-mips-elf/pic-and-nonpic-4b.ld,
151         ld-mips-elf/pic-and-nonpic-4b.ad,
152         ld-mips-elf/pic-and-nonpic-4b.dd,
153         ld-mips-elf/pic-and-nonpic-4b.gd,
154         ld-mips-elf/pic-and-nonpic-4b.nd,
155         ld-mips-elf/pic-and-nonpic-4b.rd,
156         ld-mips-elf/pic-and-nonpic-4b.sd,
157         ld-mips-elf/pic-and-nonpic-4-error.d,
158         ld-mips-elf/pic-and-nonpic-5a.s,
159         ld-mips-elf/pic-and-nonpic-5b.s,
160         ld-mips-elf/pic-and-nonpic-5b.ld,
161         ld-mips-elf/pic-and-nonpic-5b.ad,
162         ld-mips-elf/pic-and-nonpic-5b.dd,
163         ld-mips-elf/pic-and-nonpic-5b.gd,
164         ld-mips-elf/pic-and-nonpic-5b.nd,
165         ld-mips-elf/pic-and-nonpic-5b.rd,
166         ld-mips-elf/pic-and-nonpic-5b.sd,
167         ld-mips-elf/pic-and-nonpic-5b.pd,
168         ld-mips-elf/pic-and-nonpic-6.ld,
169         ld-mips-elf/pic-and-nonpic-6-o32a.s,
170         ld-mips-elf/pic-and-nonpic-6-o32b.s,
171         ld-mips-elf/pic-and-nonpic-6-o32c.s,
172         ld-mips-elf/pic-and-nonpic-6-o32.ad,
173         ld-mips-elf/pic-and-nonpic-6-o32.dd,
174         ld-mips-elf/pic-and-nonpic-6-o32.gd,
175         ld-mips-elf/pic-and-nonpic-6-o32.nd,
176         ld-mips-elf/pic-and-nonpic-6-o32.pd,
177         ld-mips-elf/pic-and-nonpic-6-o32.rd,
178         ld-mips-elf/pic-and-nonpic-6-o32.sd,
179         ld-mips-elf/pic-and-nonpic-6-n32a.s,
180         ld-mips-elf/pic-and-nonpic-6-n32b.s,
181         ld-mips-elf/pic-and-nonpic-6-n32c.s,
182         ld-mips-elf/pic-and-nonpic-6-n32.ad,
183         ld-mips-elf/pic-and-nonpic-6-n32.dd,
184         ld-mips-elf/pic-and-nonpic-6-n32.gd,
185         ld-mips-elf/pic-and-nonpic-6-n32.nd,
186         ld-mips-elf/pic-and-nonpic-6-n32.pd,
187         ld-mips-elf/pic-and-nonpic-6-n32.rd,
188         ld-mips-elf/pic-and-nonpic-6-n32.sd,
189         ld-mips-elf/pic-and-nonpic-6-n64a.s,
190         ld-mips-elf/pic-and-nonpic-6-n64b.s,
191         ld-mips-elf/pic-and-nonpic-6-n64c.s,
192         ld-mips-elf/pic-and-nonpic-6-n64.ad,
193         ld-mips-elf/pic-and-nonpic-6-n64.dd,
194         ld-mips-elf/pic-and-nonpic-6-n64.gd,
195         ld-mips-elf/pic-and-nonpic-6-n64.nd,
196         ld-mips-elf/pic-and-nonpic-6-n64.pd,
197         ld-mips-elf/pic-and-nonpic-6-n64.rd,
198         ld-mips-elf/pic-and-nonpic-6-n64.sd: New tests.
199         * ld-mips-elf/mips-elf.exp: Run them.
200
201 2008-08-07  Richard Sandiford  <rdsandiford@googlemail.com>
202
203         * ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: We have
204         removed an unused GOT entry that was allocated for the R_MIPS_32
205         relocation against "undef", so adjust addresses down by 4 bytes.
206         * ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-2.d: We have
207         changed the order of the GOT entries so that reloc-only ones
208         come last.  "undef" is only referred to by dynamic relocations,
209         so it now comes after "glob".
210         * ld-mips-elf/mips16-pic-2.dd, ld-mips-elf/mips16-pic-2.gd,
211         ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/mips16-pic-2.rd: We have
212         removed two unused local GOT entries that were originally created
213         as global entries for the hidden symbols "used2" and "used3".
214         "used4" and "used5" are only referred to by relocations, so they
215         now come after "used6" and "used7".
216
217 2008-08-07  Richard Sandiford  <rdsandiford@googlemail.com>
218
219         * ld-mips-elf/got-vers-1a.s, ld-mips-elf/got-vers-1b.s,
220         ld-mips-elf/got-vers-1.ver, ld-mips-elf/got-vers-1.dd,
221         ld-mips-elf/got-vers-1.sd, ld-mips-elf/got-vers-1.rd: New tests.
222         * ld-mips-elf/mips-elf.exp: Run them.
223
224 2008-08-07  Richard Sandiford  <rdsandiford@googlemail.com>
225
226         * ld-mips-elf/tlsdyn-o32-2.got, ld-mips-elf/tlsdyn-o32-3.got,
227         ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-3.d: Change the
228         GOT layout as follows:
229
230                  BEFORE                  AFTER
231            +0x08 %call16(__tls_get_addr) %call16(__tls_get_addr)
232            +0x0c %tlsldm(tlsbin_ld)      %gottprel(tlsvar_ie)
233            +0x10   "  "                  %tlsgd(tlsvar_gd)
234            +0x14 %tlsgd(tlsvar_gd)          "  "
235            +0x18   "  "                  %tlsgd(tlsbin_gd)
236            +0x1c %gottprel(tlsvar_ie)       "  "
237            +0x20 %tlsgd(tlsbin_gd)       %tlsldm(tlsbin_ld)
238            +0x24   "  "                     "  "       
239            +0x28 %gottprel(tlsbin_ie)    %gottprel(tlsbin_ie)
240
241 2008-08-07  Richard Sandiford  <rdsandiford@googlemail.com>
242
243         * ld-mips-elf/reloc-estimate-1.d, ld-mips-elf/reloc-estimate-1.ld,
244         ld-mips-elf/reloc-estimate-1a.s, ld-mips-elf/reloc-estimate-1b.s:
245         New test.
246         * ld-mips-elf/mips-elf.exp: Run it.
247
248 2008-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
249
250         * ld-mips-elf/tls-hidden3.ld: Remove the unused .MIPS.stubs section.
251         Keep the text start address the same.
252         * ld-mips-elf/tls-multi-got-1.got: We have removed a .MIPS.stubs
253         section that contained only a 16-byte dummy stub.  Subtract 16
254         from addresses to account for the change.
255         * ld-mips-elf/tls-multi-got-1.r: Likewise.  Adjust MIPS_UNREFEXTNO
256         to account the removed section symbol.
257         * ld-mips-elf/tlsdyn-o32-1.d: We have deleted a .MIPS.stubs
258         section that contained only a 16-byte dummy stub.  Remove it
259         from the disassembly.
260         * ld-mips-elf/tlsdyn-o32-2.d: Likewise.
261         * ld-mips-elf/tlsdyn-o32-3.d: Likewise.
262         * ld-mips-elf/tlsdyn-o32.d: Likewise.
263         * ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
264         * ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
265
266 2008-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
267
268         * ld-mips-elf/mips16-local-stubs-1.d: Remove stub_for_h3,
269         which was only referenced by the .pdr section, and was not
270         actually needed by code.
271         * ld-mips-elf/mips16-intermix.d: Remove unused static function stubs.
272         * ld-mips-elf/mips16-pic-1a.s,
273         ld-mips-elf/mips16-pic-1b.s,
274         ld-mips-elf/mips16-pic-1-dummy.s,
275         ld-mips-elf/mips16-pic-1.dd,
276         ld-mips-elf/mips16-pic-1.gd,
277         ld-mips-elf/mips16-pic-1.inc,
278         ld-mips-elf/mips16-pic-1.ld,
279         ld-mips-elf/mips16-pic-2a.s,
280         ld-mips-elf/mips16-pic-2b.s,
281         ld-mips-elf/mips16-pic-2.ad,
282         ld-mips-elf/mips16-pic-2.dd,
283         ld-mips-elf/mips16-pic-2.gd,
284         ld-mips-elf/mips16-pic-2.nd,
285         ld-mips-elf/mips16-pic-2.rd: New tests.
286         * ld-mips-elf/mips-elf.exp: Run them.
287
288 2008-08-06  Alan Modra  <amodra@bigpond.net.au>
289
290         * ld-elf/extract-symbol-1sec.d: Update.
291
292 2008-07-30  Nick Clifton  <nickc@redhat.com>
293
294         * ld-elf/sec-to-seg.exp: New test: Checks the assignment of
295         sections to segments.
296         * ld-elf/sec-to-seg1.s: Test source file.
297         * ld-elf/sec-to-seg2.s: Test source file.
298         * ld-elf/sec-to-seg-script-same-page.t: Test linker script.
299         * ld-elf/sec-to-seg-script-adjoining-pages.t: Test linker script.
300         * ld-elf/sec-to-seg-script-disjoint-pages.t: Test linker script.
301
302 2008-07-28  Alexandre Oliva  <aoliva@redhat.com>
303
304         * ld-i386/tlsbindesc.dd: Adjust incorrect expectations for LD to
305         LE relaxation.
306         * ld-x86-64/tlsbindesc.dd: Likewise.
307         * ld-i386/tlsbindesc.rd: Adjust address of _TLS_MODULE_BASE_.
308         * ld-x86-64/tlsbindesc.rd: Likewise.
309         Reported by Cary Coutant <ccoutant@google.com>
310
311 2008-07-27  Alan Modra  <amodra@bigpond.net.au>
312
313         * ld-gc/gc.exp (test_gc): xfail powerpc64.
314
315 2008-07-26  Michael Eager <eager@eagercon.com>
316
317         * ld-powerpc/powerpc.exp: Run new tests.
318         * ld-powerpc/attr-gnu-4-03.d: New file.
319         * ld-powerpc/attr-gnu-4-14.d: New file.
320         * ld-powerpc/attr-gnu-4-23.d: New file.
321         * ld-powerpc/attr-gnu-4-24.d: New file.
322         * ld-powerpc/attr-gnu-4-32.d: New file.
323         * ld-powerpc/attr-gnu-4-33.d: New file.
324         * ld-powerpc/attr-gnu-4-34.d: New file.
325         * ld-powerpc/attr-gnu-4-41.d: New file.
326         * ld-powerpc/attr-gnu-4-4.s: New file.
327         * ld-powerpc/attr-gnu-4-13.d: Adjust.
328         * ld-powerpc/attr-gnu-4-31.d: Adjust.
329
330 2008-07-26  Alan Modra  <amodra@bigpond.net.au>
331
332         * ld-scripts/include.exp: Don't run test for aout.
333         * ld-scripts/include.s: Use .fill rather than .4byte.
334         * ld-scripts/include-1.d: Adjust.
335
336 2008-07-22  Alan Modra  <amodra@bigpond.net.au>
337
338         * ld-alpha/tlsbin.rd: Update.
339         * ld-alpha/tlsbinr.rd: Update.
340         * ld-arm/mixed-app.sym: Update.
341         * ld-arm/use-thumb-lib.sym: Update.
342         * ld-cris/pv32-1.d: Update.
343
344 2008-07-21  Nick Clifton  <nickc@redhat.com>
345
346         * ld-scripts/include-sections.t: Discard all sections not
347         explicitly requested by the rest of the linker script.
348         * ld-scripts/include-1.d: Expect test to fail for AIX ports.
349         Do not assume that the .text section will be marked readonly.
350         * ld-scripts/include.s: Replace .section directives with just
351         .text or .data.
352
353 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
354
355         * ld-arm/attr-merge-wchar-0.s,ld-arm/attr-merge-wchar-2.s,
356         ld-arm/attr-merge-wchar-4.s, ld-arm/attr-merge-wchar-00-nowarn.d,
357         ld-arm/attr-merge-wchar-00.d, ld-arm/attr-merge-wchar-02-nowarn.d,
358         ld-arm/attr-merge-wchar-02.d, ld-arm/attr-merge-wchar-04-nowarn.d,
359         ld-arm/attr-merge-wchar-04.d, ld-arm/attr-merge-wchar-20-nowarn.d,
360         ld-arm/attr-merge-wchar-20.d, ld-arm/attr-merge-wchar-22-nowarn.d,
361         ld-arm/attr-merge-wchar-22.d, ld-arm/attr-merge-wchar-24-nowarn.d,
362         ld-arm/attr-merge-wchar-24.d, ld-arm/attr-merge-wchar-40-nowarn.d,
363         ld-arm/attr-merge-wchar-40.d, ld-arm/attr-merge-wchar-42-nowarn.d,
364         ld-arm/attr-merge-wchar-42.d, ld-arm/attr-merge-wchar-44-nowarn.d,
365         ld-arm/attr-merge-wchar-44.d: New.
366         * ld-arm/arm-elf.exp: Run new tests.
367
368 2008-07-11  H.J. Lu  <hongjiu.lu@intel.com>
369
370         * ld-m68k/got-12.s: Removed.
371         * ld-m68k/got-13.s: Likewise.
372         * ld-m68k/got-14.s: Likewise.
373         * ld-m68k/got-15.s: Likewise.
374         * ld-m68k/got-34.s: Likewise.
375         * ld-m68k/got-35.s: Likewise.
376         * ld-m68k/xgot-15.s: Likewise.
377
378         * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Remove #source
379         and expected relocations.
380         * ld-m68k/got-multigot-14-ok.d: Likewise.
381         * ld-m68k/got-negative-12-13-14-34-ok.d: Likewise.
382         * ld-m68k/got-negative-14-ok.d: Likewise.
383         * ld-m68k/got-single-12-ok.d: Likewise.
384         * ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: Likewise.
385         * ld-m68k/got-xgot-15-ok.d: Likewise.
386
387         * ld-m68k/got-multigot-15-er.d: Remove #source.
388         * ld-m68k/got-negative-12-13-14-35-er.d: Likewise.
389         * ld-m68k/got-negative-15-er.d: Likewise.
390         * ld-m68k/got-single-13-er.d: Likewise.
391
392         * ld-m68k/m68k.exp: Move GOT tests to ...
393         * ld-m68k/m68k-got.exp: This.  New.
394
395 2008-07-10  Richard Sandiford  <rdsandiford@googlemail.com>
396
397         * ld-mips-elf/no-shared-1-o32.s,
398         ld-mips-elf/no-shared-1-o32.d,
399         ld-mips-elf/no-shared-1-n32.d,
400         ld-mips-elf/no-shared-1-n64.s,
401         ld-mips-elf/no-shared-1-n64.d,
402         ld-mips-elf/no-shared-1.ld: New tests.
403         * ld-mips-elf/mips-elf.exp: Run them.
404
405 2008-07-07  Stan Shebs  <stan@codesourcery.com>
406
407         * ld-arm/arm-elf.exp: Use objdump -d for arm-be8 test.
408         * ld-arm/arm-be8.d: Change to test disassembly.
409
410 2008-07-06  Nathan Sidwell  <nathan@codesourcery.com>
411
412         * ld-scripts/include-1.d: New.
413         * ld-scripts/include-1.t: New.
414         * ld-scripts/include-data.t: New.
415         * ld-scripts/include-mem.t: New.
416         * ld-scripts/include-ram.t: New.
417         * ld-scripts/include-sections.t: New.
418         * ld-scripts/include-subdata.t: New.
419         * ld-scripts/include.exp: New.
420         * ld-scripts/include.s: New.
421
422 2008-06-29  Andreas Schwab  <schwab@suse.de>
423
424         * ld-m68k/got-1.s: New file.
425         * ld-m68k/got-1.d: New dump test.
426         * ld-m68k/m68k.exp: Run it.
427
428 2008-06-24  Daniel Jacobowitz  <dan@codesourcery.com>
429
430         * ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
431         ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
432         ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
433         ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
434         ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
435         ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
436         ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm.d,
437         ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
438         ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
439         ld-arm/thumb2-bl-as-thumb1-bad.d, ld-arm/thumb2-bl-bad.d: Update for
440         stub symbols and stub corrections.
441
442 2008-06-20  Alan Modra  <amodra@bigpond.net.au>
443
444         * ld-spu/ovl.d: Update.
445         * ld-spu/ovl2.d: Update.
446
447 2008-06-16  Hans-Peter Nilsson  <hp@bitrange.com>
448
449         PR gas/6607
450         * ld-mmix/loc10.d, ld-mmix/loc10.s, ld-mmix/loc10m.d, ld-mmix/loc8.d,
451         ld-mmix/loc8.s, ld-mmix/loc8m.d, ld-mmix/loc9.d, ld-mmix/loc9.s,
452         ld-mmix/loc9m.d: New tests.
453
454 2008-06-12  Nick Clifton  <nickc@redhat.com>
455
456         * ld-scripts/overlay-size.t (end_of_bss_overlays): Define.
457         (end_of_text_overlays): Define.
458         (end_of_data_overlays): Define.
459         * ld-scripts/overlay-size-map.d: Add expected values for
460         end_of_bss_overlays, end_of_text_overlays and
461         end_of_data_overlays.
462
463 2008-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
464
465         * ld-sh/arch/arch_expected.txt: Regenerate.
466
467 2008-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
468
469         * ld-arm/mixed-lib.d: Loosen pattern.
470
471 2008-06-09  Christophe Lyon  <christophe.lyon@st.com>
472
473         * ld-arm/farcall-thumb-thumb-m.d: Fix branch type.
474         * ld-arm/farcall-thumb-arm.d: Likewise.
475
476 2008-05-31  Nick Clifton  <nickc@redhat.com>
477
478         PR ld/6430
479         * ld-elfcomm/elfcomm.exp (test_sort_common): Test the
480         ascending/descending argument to the --sort-common command line
481         option.
482         * ld-elfcomm/sort-common.s: New file.
483
484 2008-05-28  Christophe Lyon  <christophe.lyon@st.com>
485         
486         * ld-arm/arm-elf.exp: Skip farcalls tests for non-ARM-EABI
487         targets.
488         * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: New file.
489         * ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
490
491 2008-05-22  Christophe Lyon  <christophe.lyon@st.com>
492
493         * ld-arm/farcall-arm-arm.s: Force function type on 'bar'.
494         * ld-arm/farcall-thumb-arm.s: Likewise.
495         * ld-arm/farcall-thumb-arm-blx.d: Fix encoding.
496         * ld-arm/farcall-thumb-arm.d: Likewise.
497         * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise.
498         * ld-arm/arm-elf.exp (armelftests): Add farcall-mix, farcall-mix2,
499         farcall-group-default, farcall-group-size2, farcall-section Ignore
500         gas warnings in farcall-thumb-arm, farcall-thumb-arm-blx,
501         farcall-thumb-arm-blx-pic-veneer.
502
503 2008-05-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
504
505         * ld-m68k/got-12.s: New file.
506         * ld-m68k/got-13.s: New file.
507         * ld-m68k/got-14.s: New file.
508         * ld-m68k/got-15.s: New file.
509         * ld-m68k/got-34.s: New file.
510         * ld-m68k/got-35.s: New file.
511         * ld-m68k/got-single-12-ok.d: New dump test.
512         * ld-m68k/got-single-13-er.d: New dump test.
513         * ld-m68k/got-negative-14-ok.d: New dump test.
514         * ld-m68k/got-negative-15-er.d: New dump test.
515         * ld-m68k/got-negative-12-13-14-34-ok.d: New dump test.
516         * ld-m68k/got-negative-12-13-14-35-er.d: New dump test.
517         * ld-m68k/got-multigot-14-ok.d: New dump test.
518         * ld-m68k/got-multigot-15-er.d: New dump test.
519         * ld-m68k/got-multigot-12-13-14-34-35-ok.d: New dump test.
520         * ld-m68k/xgot-15.s: New source.
521         * ld-m68k/got-xgot-15-ok.d: New test.
522         * ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: New test.
523         * ld-m68k/m68k.exp: Run new tests.
524
525 2008-05-15  Christophe Lyon  <christophe.lyon@st.com>
526         
527         * ld-arm/arm-elf.exp (armelftests): Add farcall-arm-arm,
528         farcall-arm-arm-pic-veneer, farcall-arm-arm-be8 farcall-arm-thumb,
529         farcall-arm-thumb-blx, farcall-arm-thumb-pic-veneer,
530         farcall-arm-thumb-blx-pic-veneer, farcall-thumb-thumb,
531         farcall-thumb-thumb-pic-veneer, farcall-thumb-thumb-blx,
532         farcall-thumb-thumb-m, farcall-thumb-thumb-m-pic-veneer,
533         farcall-thumb-thumb-blx-pic-veneer, farcall-thumb-arm,
534         farcall-thumb-arm-pic-veneer, farcall-thumb-arm-blx,
535         farcall-thumb-arm-blx-pic-veneer.
536         Change thumb2-bl-as-thumb1-bad, thumb2-bl-bad.
537         * ld-arm/thumb2-bl-as-thumb1-bad.d: Reflects farcall stub
538         generation.
539         * ld-arm/thumb2-bl-bad.d: Likewise.
540         * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comments.
541         * ld-arm/thumb2-bl-bad.s: Likewise.
542
543 2008-05-08  Alan Modra  <amodra@bigpond.net.au>
544
545         * ld-spu/ear.s: Align various sections.
546         * ld-spu/embed.rd: Update.
547
548 2008-05-05  Alan Modra  <amodra@bigpond.net.au>
549
550         PR 6473
551         * ld-elf/lma.s, ld-elf/lma.lnk: New test.
552         * ld-elf/binutils.exp: Run it.
553
554 2008-05-03  Mike Frysinger  <vapier@gentoo.org>
555
556         * ld-scripts/defined.s: Use .set syntax rather than =.
557
558 2008-05-02  H.J. Lu  <hongjiu.lu@intel.com>
559
560         PR ld/6475
561         * ld-scripts/rgn-over8-ok.d: Accept any alignment.
562
563 2008-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
564
565         * ld-arm/symbian-seg1.s, ld-arm/symbian-seg1.d: New files.
566         * ld-arm/arm-elf.exp: Run symbian-seg1.
567
568 2008-04-28  Nathan Sidwell  <nathan@codesourcery.com>
569
570         * ld-scripts/rgn-over8.s: Tweak.
571
572         * ld-scripts/rgn-over.exp: Allow -ok file names to pass.
573         * ld-scripts/rgn-over8.s: New.
574         * ld-scripts/rgn-over8.t: New.
575         * ld-scripts/rgn-over8-ok.d: New.
576
577 2008-04-21  Nathan Sidwell  <nathan@codesourcery.com>
578
579         * ld-vxworks/plt-mips1.s: New.
580         * ld-vxworks/plt-mips1.d: New.
581
582 2008-04-16  David S. Miller  <davem@davemloft.net>
583
584         * ld-sparc/gotop32.dd: New.
585         * ld-sparc/gotop32.rd: Likewise.
586         * ld-sparc/gotop32.s: Likewise.
587         * ld-sparc/gotop32.sd: Likewise.
588         * ld-sparc/gotop32.td: Likewise.
589         * ld-sparc/gotop64.dd: Likewise.
590         * ld-sparc/gotop64.rd: Likewise.
591         * ld-sparc/gotop64.s: Likewise.
592         * ld-sparc/gotop64.sd: Likewise.
593         * ld-sparc/gotop64.td: Likewise.
594         * ld-sparc/sparc.exp: Run new gotdata tests.
595
596 2008-04-15  Andrew Stubbs  <andrew.stubbs@st.com>
597
598         * ld-sh/arch/sh-dsp.s: Regenerate.
599         * ld-sh/arch/sh.s: Regenerate.
600         * ld-sh/arch/sh2.s: Regenerate.
601         * ld-sh/arch/sh2a-nofpu-or-sh3-nommu.s: Regenerate.
602         * ld-sh/arch/sh2a-nofpu-or-sh4-nommu-nofpu.s: Regenerate.
603         * ld-sh/arch/sh2a-nofpu.s: Regenerate.
604         * ld-sh/arch/sh2a-or-sh3e.s: Regenerate.: Regenerate.
605         * ld-sh/arch/sh2a-or-sh4.s: Regenerate.
606         * ld-sh/arch/sh2a.s: Regenerate.
607         * ld-sh/arch/sh2e.s: Regenerate.
608         * ld-sh/arch/sh3-dsp.s: Regenerate.
609         * ld-sh/arch/sh3-nommu.s: Regenerate.
610         * ld-sh/arch/sh3.s: Regenerate.
611         * ld-sh/arch/sh3e.s: Regenerate.
612         * ld-sh/arch/sh4-nofpu.s: Regenerate.
613         * ld-sh/arch/sh4-nommu-nofpu.s: Regenerate.
614         * ld-sh/arch/sh4.s: Regenerate.
615         * ld-sh/arch/sh4a-nofpu.s: Regenerate.
616         * ld-sh/arch/sh4a.s: Regenerate.
617         * ld-sh/arch/sh4al-dsp.s: Regenerate.
618
619 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
620
621         * ld-spu/ovl2.s: Extend to test jump table references and
622         absolute _SPUEAR_ syms.
623         * ld-spu/ovl2.d: Update.
624
625 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
626
627         * ld-elfcomm/elfcomm.exp: Run $READELF not readelf.
628
629 2008-03-26  Daniel Jacobowitz  <dan@codesourcery.com>
630
631         * ld-elf/flags1.d: Adjust for MIPS text alignment.
632
633 2008-03-25  Nathan Sidwell  <nathan@codesourcery.com>
634
635         * ld-vxworks/tls-3.s: New.
636         * ld-vxworks/tls-3.d: New.
637
638 2008-03-22  Hans-Peter Nilsson  <hp@axis.com>
639
640         * ld-cris/libdso-10.d: Adjust for change in objdump output.
641
642 2008-03-21  Adam Nemet  <anemet@caviumnetworks.com>
643
644         * ld-mips-elf/dyn-sec64.d, ld-mips-elf/dyn-sec64.s,
645         ld-mips-elf/dyn-sec64.ld: New test.
646         * ld-mips-elf/mips-elf.exp: Run it.
647
648 2008-03-20  Richard Sandiford  <rsandifo@nildram.co.uk>
649
650         * ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-1.s,
651         ld-mips-elf/got-dump-1.ld, ld-mips-elf/got-dump-2.d,
652         ld-mips-elf/got-dump-2.s, ld-mips-elf/got-dump-2.ld: New tests.
653         * ld-mips-elf/mips-elf.exp: Run them.
654
655 2008-03-20  Richard Sandiford  <rsandifo@nildram.co.uk>
656
657         * ld-mips-elf/elf-rel-got-n64-linux.d: Expect bit 63 rather than
658         bit 31 of the second GOT entry to be set.
659         * ld-mips-elf/elf-rel-got-n64.d: Likewise.
660         * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
661         * ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
662
663 2008-03-17  Richard Sandiford  <rsandifo@nildram.co.uk>
664
665         * ld-mips-elf/eh-frame1-n32.d: Expect a warning about .eh_frame_hdr.
666         Remove duplicate CIEs.  Adjust relocation addresses and .eh_frame
667         offsets accordingly.  Do not allow there to be any trailing
668         R_MIPS_NONE relocations.
669         * ld-mips-elf/eh-frame1-n64.d: Likewise.
670         * ld-mips-elf/eh-frame2-n32.d: Likewise.
671         * ld-mips-elf/eh-frame2-n64.d: Likewise.
672
673 2008-03-17  Richard Sandiford  <rsandifo@nildram.co.uk>
674
675         * ld-mips-elf/mips-elf.exp (o32_as_flags, o32_ld_flags): New variables.
676         (mips16_call_global_test, mips16_intermix_test): Use them.
677
678 2008-03-16  H.J. Lu  <hongjiu.lu@intel.com>
679
680         PR ld/5789
681         PR ld/5943
682         * ld-i386/hidden1.d: New.
683         * ld-i386/hidden1.s: Likewise.
684         * ld-i386/hidden2.d: Likewise.
685         * ld-i386/hidden2.s: Likewise.
686         * ld-i386/hidden3.d: Likewise.
687         * ld-i386/hidden4.s: Likewise.
688         * ld-i386/protected1.d: Likewise.
689         * ld-i386/protected1.s: Likewise.
690         * ld-i386/protected2.d: Likewise.
691         * ld-i386/protected2.s: Likewise.
692         * ld-i386/protected3.d: Likewise.
693         * ld-i386/protected3.s: Likewise.
694         * ld-x86-64/hidden1.d: Likewise.
695         * ld-x86-64/hidden1.s: Likewise.
696         * ld-x86-64/hidden2.d: Likewise.
697         * ld-x86-64/hidden2.s: Likewise.
698         * ld-x86-64/hidden3.d: Likewise.
699         * ld-x86-64/hidden3.s: Likewise.
700         * ld-x86-64/protected1.d: Likewise.
701         * ld-x86-64/protected1.s: Likewise.
702         * ld-x86-64/protected2.d: Likewise.
703         * ld-x86-64/protected2.s: Likewise.
704         * ld-x86-64/protected3.d: Likewise.
705         * ld-x86-64/protected3.s: Likewise.
706
707         * ld-i386/i386.exp: Run hidden1, hidden2, hidden3, protected1,
708         protected2 and protected3.
709         * ld-x86-64/x86-64.exp: Likewise.
710
711 2008-03-14  Alan Modra  <amodra@bigpond.net.au>
712
713         * ld-spu/ovl2.s: Make setjmp global.
714         * ld-spu/ovl2.d: Update.
715
716 2008-03-12  Alan Modra  <amodra@bigpond.net.au>
717
718         PR 5900
719         * ld-elf/sec64k.exp: Update.
720
721 2008-03-08  Paul Brook  <paul@codesourcery.com>
722
723         * ld-arm/arm-elf.exp (armeabitests): Add thumb2-b-interwork.
724         * ld-arm/thumb2-b-interwork.d: New test.
725         * ld-arm/thumb2-b-interwork.s: New test.
726
727 2008-03-07  Paul Brook  <paul@codesourcery.com>
728
729         * ld-arm/arm-elf.exp (armelftests): Add movw-merge and arm-app-movw.
730         * ld-arm/arm-app-movw.s: New test.
731         * ld-arm/arm-app.r: Update expected output.
732         * ld-arm/movw-merge.d: New test.
733         * ld-arm/movw-merge.s: New test.
734
735 2008-03-01  Alan Modra  <amodra@bigpond.net.au>
736
737         * ld-powerpc/relbrlt.d: Update.  Also check .branch_lt section.
738
739 2008-02-27  Catherine Moore  <clm@codesourcery.com>
740
741         * ld-cris/libdso-10.d: Update expected output for the Dynamic
742         Section to allow an arbitrary number of spaces.
743
744 2008-02-20  Mark Mitchell  <mark@codesourcery.com>
745
746         ld/testsuite/
747         * ld-elf/seg.d: Expect .reginfo section on MIPS.
748
749 2008-02-20  Pedro Alves  <pedro_alves@portugalmail.pt>
750
751         * ld-auto-import/auto-import.exp: Use $ld to link the dll for
752         cygwin, not $CC.
753
754 2008-02-18  Hans-Peter Nilsson  <hp@axis.com>
755
756         * lib/ld-lib.exp (run_dump_test): Don't apply prune_warnings
757         for tool invocations where warnings or errors can be matched.
758
759 2008-02-14  H.J. Lu  <hongjiu.lu@intel.com>
760
761         * ld-shared/sh1.c (shlib_overriddencall2): Moved to ...
762         * ld-shared/sh2.c (shlib_overriddencall2): Here.  New.
763
764 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
765
766         * ld-spu/ovl.d: Update.
767         * ld-spu/ovl2.d: Update.
768
769 2008-02-04  Bob Wilson  <bob.wilson@acm.org>
770
771         * ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*.
772         
773 2008-01-31  Marc Gauthier  <marc@tensilica.com>
774
775         * ld-elf/merge.d: Recognize Xtensa processor variants.
776         * ld-xtensa/coalesce.exp: Likewise.
777         * ld-xtensa/lcall.exp: Likewise.
778
779 2008-01-28  Petr Muller  <pmuller@redhat.com>
780
781         * ld-elfvers/vers.exp (test_ar): Sort the expected output so that
782         it has matches the ordering of the obtained output.
783
784 2008-01-28  H.J. Lu  <hongjiu.lu@intel.com>
785
786         * ld-elf/eh1.d: Replace DW_CFA_def_cfa_reg with
787         DW_CFA_def_cfa_register. Updated for i386/x86-64 register
788         names.
789         * ld-elf/eh2.d: Likewise.
790         * ld-elf/eh3.d: Likewise.
791         * ld-elf/eh4.d: Likewise.
792         * ld-elf/eh5.d: Likewise.
793
794 2008-01-28  Alan Modra  <amodra@bigpond.net.au>
795
796         * ld-spu/ovl.d: Update.
797         * ld-spu/ovl2.d: Update.
798
799 2008-01-26  Alan Modra  <amodra@bigpond.net.au>
800
801         * ld-elf/loadaddr.t: New, extracted from..
802         * ld-elf/loadaddr1.t: ..here.  Use insert.
803         * ld-elf/loadaddr2.t: Likewise.
804         * ld-elf/loadaddr1.d: Update.
805         * ld-elf/loadaddr2.d: Update.
806
807 2008-01-25  Alan Modra  <amodra@bigpond.net.au>
808
809         * ld-spu/ovl.lnk: Delete overlay.
810         * ld-spu/ovl1.lnk: New file.
811         * ld-spu/ovl2.lnk: New file.
812         * ld-spu/ovl.d: Update.
813         * ld-spu/ovl2.d: Update.
814
815 2008-01-23  Andreas Schwab  <schwab@suse.de>
816
817         * ld-gc/gc.c: Make sure used_func is not inlined.
818
819 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
820
821         * ld-gc/gc.exp: Use [which $CC] != 0.
822
823 2008-01-14  Tristan Gingold  <gingold@adacore.com>
824
825         * ld-gc/gc.exp (test_gc): Let missing C compiler make tests
826         "untested" instead of "failed".
827
828 2008-01-10  Tristan Gingold  <gingold@adacore.com>
829
830         * lib/ld-lib.exp (check_gc_sections_available): Now available on
831         VxWorks.
832         * ld-gc: New directory for testing --gc-sections.
833         * ld-gc/gc.c: New file.
834         * ld-gc/gc.exp: New file.
835         * ld-gc/noent.s: New file.
836         * ld-gc/noent.d: New file.
837
838 2008-01-09  Richard Sandiford  <rsandifo@nildram.co.uk>
839
840         PR ld/5526
841         * ld-elf/eh6.s, ld-elf/eh6.d: New test.
842
843 2008-01-07  H.J. Lu  <hongjiu.lu@intel.com>
844
845         PR ld/5522
846         * ld-elf/noload-3.d: New file.
847         * ld-elf/noload-3.s: Likewise.
848         * ld-elf/noload-3.t: Likewise.
849
850 For older changes see ChangeLog-2007
851 \f
852 Local Variables:
853 mode: change-log
854 left-margin: 8
855 fill-column: 74
856 version-control: never
857 End: