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