PR linker/4844
[binutils-gdb.git] / ld / testsuite / ChangeLog
1 2007-10-02 Ralf Habecker <ralf.habacker@freenet.de>
2
3 PR linker/4844
4 * ld-auto-import/auto-import.exp: Extend test to include running
5 the application and checking for some output.
6 * ld-auto-import/client.c (struct TEST): Include a variable field
7 with an offset.
8 (const_xyz): A const version of the xyz structure used to test the
9 initialization of constant data.
10
11 2007-09-30 Mike Frysinger <vapier@gentoo.org>
12
13 * ld-selective/selective.exp: Set $compiler based on $testtype and
14 use that instead of $CC.
15
16 2007-09-29 Alan Modra <amodra@bigpond.net.au>
17
18 * ld-selective/sel-dump.exp: Add am33, m88k, mep to xfails.
19 * ld-selective/selective.exp: Don't run for same target list
20 we xfail sel-dump.
21
22 2007-09-29 Mike Frysinger <vapier@gentoo.org>
23
24 * ld-alpha/tlsbin.rd: Use [0-9]+ to match section header count and
25 0x[0-9a-f]+ to match section header offset. Match section indexes
26 with \[[ 0-9]+\]. Use [0-9]+ to match program header count and
27 0x[0-9a-f]+ to match program header offset. Match .dynsym and
28 .symtab entry counts with [0-9]+.
29 * ld-alpha/tlsbinr.rd: Likewise.
30 * ld-alpha/tlspic.rd: Likewise.
31 * ld-i386/tlsbin.rd: Likewise.
32 * ld-i386/tlsbindesc.rd: Likewise.
33 * ld-i386/tlsdesc.rd: Likewise.
34 * ld-i386/tlsgdesc.rd: Likewise.
35 * ld-i386/tlsnopic.rd: Likewise.
36 * ld-i386/tlspic.rd: Likewise.
37 * ld-ia64/tlsbin.rd: Likewise.
38 * ld-ia64/tlspic.rd: Likewise.
39 * ld-powerpc/tlsexe.r: Likewise.
40 * ld-powerpc/tlsexe32.r: Likewise.
41 * ld-powerpc/tlsexetoc.r: Likewise.
42 * ld-powerpc/tlsso.r: Likewise.
43 * ld-powerpc/tlsso32.r: Likewise.
44 * ld-powerpc/tlstocso.r: Likewise.
45 * ld-s390/tlsbin.rd: Likewise.
46 * ld-s390/tlsbin_64.rd: Likewise.
47 * ld-s390/tlspic.rd: Likewise.
48 * ld-s390/tlspic_64.rd: Likewise.
49 * ld-sparc/tlssunbin32.rd: Likewise.
50 * ld-sparc/tlssunbin64.rd: Likewise.
51 * ld-sparc/tlssunnopic32.rd: Likewise.
52 * ld-sparc/tlssunnopic64.rd: Likewise.
53 * ld-sparc/tlssunpic32.rd: Likewise.
54 * ld-sparc/tlssunpic64.rd: Likewise.
55 * ld-x86-64/tlsbin.rd: Likewise.
56 * ld-x86-64/tlsbindesc.rd: Likewise.
57 * ld-x86-64/tlsdesc.rd: Likewise.
58 * ld-x86-64/tlsgdesc.rd: Likewise.
59 * ld-x86-64/tlspic.rd: Likewise.
60
61 2007-09-25 Alan Modra <amodra@bigpond.net.au>
62
63 * ld-spu/ovl.d: Adjust for stub relocs.
64 * ld-spu/ovl2.d: Likewise.
65
66 2007-09-20 H.J. Lu <hongjiu.lu@intel.com>
67
68 PR 658
69 * ld-i386/tlsbin.dd: Updated.
70 * ld-i386/tlsld1.dd: Likewise.
71
72 2007-09-19 Nick Clifton <nickc@redhat.com>
73
74 * ld-scripts/crossref.exp: Compile test source with -mtiny=0 in
75 order to prevent the use of the small data area.
76
77 2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
78
79 PR binutils/3281
80 PR binutils/5037
81 * ld-elf/binutils.exp: Update "-z relro" tests to use relro1.s.
82 Add "-z relro" tests with relro2.s. Add "-z relro" tests with
83 TLS for objcopy.
84
85 * ld-elf/relro1.s: New file.
86 * ld-elf/relro2.s: Likewise.
87
88 2007-09-04 Mike Frysinger <vapier@gentoo.org>
89
90 * lib/ld-lib.exp (default_ld_compile): Pull in global CXXFLAGS and
91 add it to $flags when $ccexe matches *++*.
92 (run_ld_link_exec_tests): Pull in global CXXFLAGS and execute CXX
93 with CXXFLAGS when $lang matches c++.
94 (run_cc_link_tests): Likewise.
95
96 2007-09-02 H.J. Lu <hongjiu.lu@intel.com>
97
98 PR ld/4986
99 * ld-ia64/line.exp: New.
100 * ld-ia64/undefined.s: Likewise.
101
102 * ld-x86-64/line.exp: Don't check CC.
103
104 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
105
106 PR ld/4986
107 * ld-x86-64/line.exp: New
108 * ld-x86-64/undefined.s: Likewise.
109
110 2007-08-31 Tristan Gingold <gingold@adacore.com>
111
112 * ld-script/map-address.t: Add a test for testing DEFINED in map
113 output.
114 * ld-script/map-address.d: Update expected output.
115
116 2007-08-28 Mark Shinwell <shinwell@codesourcery.com>
117 Joseph Myers <joseph@codesourcery.com>
118
119 * ld-elfcomm/elfcomm.exp: Use run_host_cmd. Only check "which
120 $CC" if host is local.
121 * ld-checks/checks.exp: Use run_host_cmd.
122 * ld-elf/exclude.exp: Likewise.
123 * ld-elf/elf.exp: Download merge.ld if host is remote.
124 * ld-elf/binutils.exp (binutils_test): Use remote_exec.
125 * ld-elf/tls_common.exp: Use run_host_cmd.
126 * lib/ld-lib.exp (ld_version): Only check "which $ld" if host is
127 local. Use remote_exec.
128 (run_host_cmd): New.
129 (run_host_cmd_yesno): New.
130 (default_ld_relocate): Use run_host_cmd_yesno.
131 (default_ld_link): Likewise.
132 (default_ld_simple_link): Use run_host_cmd.
133 (default_ld_compile): Only check "which $ccprog" if host is local.
134 Use remote_file and remote_exec.
135 (default_ld_assemble): Only check "which $as" if host is local.
136 Use run_host_cmd.
137 (default_ld_nm): Use remote_exec, remote_upload and remote_file.
138 (run_dump_test): Use remote_exec, remote_upload and remote_file.
139 Only check "which $binary" if host is local.
140 (run_ld_link_tests): Use remote_exec, remote_upload and
141 remote_file.
142 * ld-selective/selective.exp: Only check "which $CXX" if host is
143 local. Use remote_exec.
144 * ld-scripts/phdrs.exp: Only check "which $objdump" if host is
145 local. Use run_host_cmd.
146 * ld-scripts/phdrs2.exp: Likewise.
147 * ld-scripts/weak.exp: Likewise.
148 * ld-undefined/weak-undef.exp: Likewise.
149 * ld-scripts/crossref.exp: Only check "which $CC" if host is local.
150 Use run_host_cmd.
151 * ld-scripts/map-address.exp: Upload map_address.map if host is
152 remote.
153 * ld-srec/srec.exp (run_srec_tests): Use run_host_cmd. Only check
154 "which $CC" and "which $CXX" if host is local.
155 * ld-undefined/undefined.exp: Only check "which $CC" if host is
156 local. Use remote_file and run_host_cmd.
157 * config/default.exp: Use remote_exec to create tmpdir.
158
159 2007-08-24 H.J. Lu <hongjiu.lu@intel.com>
160
161 * ld-i386/i386.exp (i386tests): Add a test for TLS IE->LE
162 transition.
163 Run tlsie2, tlsie3, tlsie4 and tlsie5.
164
165 * ld-i386/tlsie1.dd: New file.
166 * ld-i386/tlsie1.s: Likewise.
167 * ld-i386/tlsie2.d: Likewise.
168 * ld-i386/tlsie2.s: Likewise.
169 * ld-i386/tlsie3.d: Likewise.
170 * ld-i386/tlsie3.s: Likewise.
171 * ld-i386/tlsie4.d: Likewise.
172 * ld-i386/tlsie4.s: Likewise.
173 * ld-i386/tlsie5.d: Likewise.
174 * ld-i386/tlsie5.s: Likewise.
175 * ld-x86-64/tlsgd2.d: Likewise.
176 * ld-x86-64/tlsgd2.s: Likewise.
177 * ld-x86-64/tlsgd3.d: Likewise.
178 * ld-x86-64/tlsgd3.s: Likewise.
179 * ld-x86-64/tlsie1.dd: Likewise.
180 * ld-x86-64/tlsie1.s: Likewise.
181 * ld-x86-64/tlsie2.d: Likewise.
182 * ld-x86-64/tlsie2.s: Likewise.
183 * ld-x86-64/tlsie3.d: Likewise.
184 * ld-x86-64/tlsie3.s: Likewise.
185
186 * ld-x86-64/x86-64.exp (x86_64tests): Add a test for TLS LD->LE
187 transition.
188 Run tlsgd2, tlsgd3, tlsie2 and tlsie3.
189
190 2007-08-23 H.J. Lu <hongjiu.lu@intel.com>
191
192 * ld-i386/tlsbinpic.s: Add a new GD -> IE test.
193
194 * ld-i386/tlsgd1.s: Add a new GD -> LE test.
195
196 * ld-i386/tlsbin.dd: Updated.
197 * ld-i386/tlsbin.rd: Likewise.
198 * ld-i386/tlsgd1.dd: Likewise.
199
200 2007-08-17 Jakub Jelinek <jakub@redhat.com>
201
202 * ld-sparc/tlssunnopic32.dd: Fix up #target.
203 * ld-sparc/tlssunnopic32.rd: Likewise.
204 * ld-sparc/tlssunnopic32.sd: Likewise.
205 * ld-sparc/tlssunnopic64.dd: Likewise.
206 * ld-sparc/tlssunnopic64.rd: Likewise.
207 * ld-sparc/tlssunnopic64.sd: Likewise.
208
209 2007-08-17 Richard Sandiford <richard@codesourcery.com>
210
211 * lib/ld-lib.exp (run_dump_test): Allow [big_or_little_endian]
212 to appear in assembler and linker options.
213 * ld-mips-elf/vxworks1-static.d (ld): Add [big_or_little_endian].
214
215 2007-08-16 Alan Modra <amodra@bigpond.net.au>
216
217 * ld-srec/srec.exp: Always pass "-G 0". Remove all powerpc
218 xfails.
219
220 2007-08-14 H.J. Lu <hongjiu.lu@intel.com>
221
222 PR ld/4918
223 * ld-i386/i386.exp (i386tests): Add tlsgd1 and tlsld1 tests.
224 * ld-x86-64/x86-64.exp (x86_64tests): Likewise.
225
226 * ld-i386/tlsgd1.dd: New file.
227 * ld-i386/tlsgd1.s: Likewise.
228 * ld-i386/tlsld1.dd: Likewise.
229 * ld-i386/tlsld1.s: Likewise.
230 * ld-x86-64/tlsgd1.dd: Likewise.
231 * ld-x86-64/tlsgd1.s: Likewise.
232 * ld-x86-64/tlsld1.dd: Likewise.
233 * ld-x86-64/tlsld1.s: Likewise.
234
235 2007-08-13 Richard Sandiford <richard@codesourcery.com>
236
237 * ld-mips-elf/vxworks-forced-local-1.d,
238 * ld-mips-elf/vxworks-forced-local-1.s,
239 * ld-mips-elf/vxworks-forced-local-1.ver: New test.
240 * ld-mips-elf/mips-elf.exp: Run it.
241 * ld-mips-elf/tlsdyn-o32-2.d: Adjust for removal of unnecessary
242 local GOT entry.
243 * ld-mips-elf/tlsdyn-o32-2.got: Likewise.
244 * ld-mips-elf/tlsdyn-o32-3.d: Likewise.
245 * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
246 * ld-mips-elf/vxworks1-lib.dd: Likewise.
247 * ld-mips-elf/vxworks1-lib.rd: Likewise.
248
249 2007-08-13 Alan Modra <amodra@bigpond.net.au>
250
251 * ld-powerpc/relbrlt.s (.text.pad2): Adjust space.
252 * ld-powerpc/relbrlt.d: Update.
253 * ld-powerpc/tlsexe.d: Update.
254 * ld-powerpc/tlsexe.g: Update.
255 * ld-powerpc/tlsexe.r: Update.
256 * ld-powerpc/tlsexetoc.d: Update.
257 * ld-powerpc/tlsexetoc.g: Update.
258 * ld-powerpc/tlsexetoc.r: Update.
259 * ld-powerpc/tlsso.d: Update.
260 * ld-powerpc/tlsso.g: Update.
261 * ld-powerpc/tlsso.r: Update.
262 * ld-powerpc/tlstocso.d: Update.
263 * ld-powerpc/tlstocso.g: Update.
264
265 2007-08-06 Kai Tietz <kai.tietz@onevision.com>
266
267 PR ld/4877
268 * ld-pe/pe.exp: Special diff file for x86_64-mingw target.
269 * ld-pe/secrel_64.d: New.
270
271 2007-08-03 Daniel Jacobowitz <dan@codesourcery.com>
272
273 * ld-srec/srec.exp: XFAIL for powerpc*-*-*.
274
275 2007-08-01 Adam Nemet <anemet@caviumnetworks.com>
276
277 * ld-mips-elf/reloc-4.s, ld-mips-elf/reloc-4.d,
278 ld-mips-elf/reloc-5.s, ld-mips-elf/reloc-5.d: New tests.
279 * ld-mips-elf/mips-elf.exp: Invoke them.
280
281 2007-07-29 Alan Modra <amodra@bigpond.net.au>
282
283 * ld-elf/weak-dyn-1.rd: Adjust.
284
285 2007-07-25 Daniel Jacobowitz <dan@codesourcery.com>
286
287 * ld-cdtest/cdtest-foo.cc (strncpy): Fix parameter name.
288
289 2007-07-24 Nick Clifton <nickc@redhat.com>
290
291 * ld-arm/arm-elf.exp: Move EABI attribute tests into EABI only
292 section.
293
294 2007-07-23 Richard Sandiford <richard@codesourcery.com>
295
296 * ld-elf/weak-dyn-1a.s, ld-elf/weak-dyn-1b.s, ld-elf/weak-dyn-1.ld,
297 * ld-elf/weak-dyn-1.rd: New test.
298 * ld-elf/elf.exp: Run it.
299
300 2007-07-13 Nathan Sidwell <nathan@codesourcery.com>
301
302 * ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
303 zero.
304
305 2007-07-10 H.J. Lu <hongjiu.lu@intel.com>
306
307 * ld-elfvers/vers.exp: Add tests for --defsym.
308
309 * ld-elfvers/vers32.map: Likewise.
310 * ld-elfvers/vers32a.c: Likewise.
311 * ld-elfvers/vers32a.dsym: Likewise.
312 * ld-elfvers/vers32a.ver: Likewise.
313 * ld-elfvers/vers32b.c: Likewise.
314 * ld-elfvers/vers32b.dsym: Likewise.
315 * ld-elfvers/vers32b.ver: Likewise.
316 * ld-elfvers/vers32c.dsym: Likewise.
317 * ld-elfvers/vers32c.ver: Likewise.
318 * ld-elfvers/vers32d.ver: Likewise.
319
320 2007-07-06 Nick Clifton <nickc@redhat.com>
321
322 * lib/default.exp: Update copyright notice to refer to GPLv3.
323 * config/default.exp, ld-alpha/alpha.exp, ld-arm/arm-elf.exp,
324 ld-auto-import/auto-import.exp, ld-bootstrap/bootstrap.exp,
325 ld-cdtest/cdtest.exp, ld-checks/checks.exp, ld-cris/cris.exp,
326 ld-crx/crx.exp, ld-cygwin/exe-export.exp, ld-d10v/d10v.exp,
327 ld-discard/discard.exp, ld-elf/elf.exp, ld-elf/exclude.exp,
328 ld-elf/frame.exp, ld-elf/sec64k.exp, ld-elf/binutils.exp,
329 ld-elf/tls_common.exp, ld-elf/shared.exp, ld-elf/dwarf.exp,
330 ld-elf/wrap.exp, ld-elfcomm/elfcomm.exp, ld-elfvers/vers.exp,
331 ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, ld-xc16x/xc16x.exp,
332 ld-fastcall/fastcall.exp, ld-frv/tls.exp, ld-h8300/h8300.exp,
333 ld-i386/i386.exp, ld-ia64/ia64.exp, ld-linkonce/linkonce.exp,
334 ld-m68hc11/m68hc11.exp, ld-maxq/maxq.exp,
335 ld-mips-elf/mips-elf-flags.exp, ld-mips-elf/mips-elf.exp,
336 ld-mmix/mmix.exp, ld-pe/pe.exp, ld-pe/direct.exp,
337 ld-powerpc/powerpc.exp, ld-s390/s390.exp, ld-scripts/align.exp,
338 ld-scripts/alignof.exp, ld-scripts/assert.exp,
339 ld-scripts/crossref.exp, ld-scripts/data.exp,
340 ld-scripts/default-script.exp, ld-scripts/defined.exp,
341 ld-scripts/empty-address.exp, ld-scripts/empty-aligned.exp,
342 ld-scripts/empty-orphan.exp, ld-scripts/expr.exp,
343 ld-scripts/extern.exp, ld-scripts/map-address.exp,
344 ld-scripts/overlay-size.exp, ld-scripts/phdrs.exp,
345 ld-scripts/phdrs2.exp, ld-scripts/provide.exp,
346 ld-scripts/script.exp, ld-scripts/size.exp, ld-scripts/sizeof.exp,
347 ld-scripts/sort.exp, ld-scripts/weak.exp,
348 ld-selective/sel-dump.exp, ld-selective/selective.exp,
349 ld-sh/arch/arch.exp, ld-sh/sh64/rd-sh64.exp, ld-sh/sh64/relax.exp,
350 ld-sh/sh64/relfail.exp, ld-sh/sh64/sh64.exp, ld-sh/rd-sh.exp,
351 ld-sh/sh.exp, ld-shared/shared.exp, ld-sparc/sparc.exp,
352 ld-srec/srec.exp, ld-undefined/undefined.exp,
353 ld-undefined/weak-undef.exp, ld-versados/versados.exp,
354 ld-x86-64/x86-64.exp, ld-xstormy16/xstormy16.exp,
355 ld-xtensa/coalesce.exp, ld-xtensa/lcall.exp, ld-pie/pie.exp,
356 ld-m68k/m68k.exp, ld-mep/mep.exp, ld-spu/spu.exp,
357 ld-vxworks/vxworks.exp, lib/ld-lib.exp: Likewise.
358 * ld-frv/frv-elf.exp: Add copyright notice.
359 * ld-libs/libs.exp, ld-sh/sh-vxworks.exp,
360 ld-scripts/dynamic-sections.exp, ld-v850.v850.exp: Likewise.
361
362 2007-07-05 Alan Modra <amodra@bigpond.net.au>
363
364 * ld-powerpc/powerpc.exp: Disable for lynxos and nto.
365
366 2007-07-03 Joseph Myers <joseph@codesourcery.com>
367
368 * ld-arm/attr-merge-2a.s, ld-arm/attr-merge-2b.s,
369 ld-arm/attr-merge-2.attr: New.
370 * ld-arm/arm-elf.exp (armelftests): Add new test.
371
372 2007-07-02 Nathan Sidwell <nathan@codesourcery.com>
373
374 * ld-scripts/alignof.exp: Skip on non-elf
375
376 2007-06-29 Joseph Myers <joseph@codesourcery.com>
377
378 * ld-powerpc/attr-gnu-4-0.s, ld-powerpc/attr-gnu-4-00.d,
379 ld-powerpc/attr-gnu-4-01.d, ld-powerpc/attr-gnu-4-02.d,
380 ld-powerpc/attr-gnu-4-1.s, ld-powerpc/attr-gnu-4-10.d,
381 ld-powerpc/attr-gnu-4-11.d, ld-powerpc/attr-gnu-4-12.d,
382 ld-powerpc/attr-gnu-4-13.d, ld-powerpc/attr-gnu-4-2.s,
383 ld-powerpc/attr-gnu-4-20.d, ld-powerpc/attr-gnu-4-21.d,
384 ld-powerpc/attr-gnu-4-22.d, ld-powerpc/attr-gnu-4-3.s,
385 ld-powerpc/attr-gnu-4-31.d: New.
386 * ld-powerpc/powerpc.exp: Run these new tests.
387
388 2007-06-29 Joseph Myers <joseph@codesourcery.com>
389
390 * ld-mips-elf/attr-gnu-4-0.s, ld-mips-elf/attr-gnu-4-00.d,
391 ld-mips-elf/attr-gnu-4-01.d, ld-mips-elf/attr-gnu-4-02.d,
392 ld-mips-elf/attr-gnu-4-03.d, ld-mips-elf/attr-gnu-4-1.s,
393 ld-mips-elf/attr-gnu-4-10.d, ld-mips-elf/attr-gnu-4-11.d,
394 ld-mips-elf/attr-gnu-4-12.d, ld-mips-elf/attr-gnu-4-13.d,
395 ld-mips-elf/attr-gnu-4-14.d, ld-mips-elf/attr-gnu-4-2.s,
396 ld-mips-elf/attr-gnu-4-20.d, ld-mips-elf/attr-gnu-4-21.d,
397 ld-mips-elf/attr-gnu-4-22.d, ld-mips-elf/attr-gnu-4-23.d,
398 ld-mips-elf/attr-gnu-4-3.s, ld-mips-elf/attr-gnu-4-30.d,
399 ld-mips-elf/attr-gnu-4-31.d, ld-mips-elf/attr-gnu-4-32.d,
400 ld-mips-elf/attr-gnu-4-33.d, ld-mips-elf/attr-gnu-4-4.s,
401 ld-mips-elf/attr-gnu-4-41.d: New.
402 * ld-mips-elf/mips-elf.exp: Run these new tests.
403
404 2007-06-29 Paul Brook <paul@codesourcery.com>
405
406 * ld-arm/arm-elf.exp (armelftests): Add callweak.
407 * ld-arm/callweak.d: New test.
408 * ld-arm/callweak.s: New test.
409
410 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
411
412 PR ld/4701
413 * ld-elf/noload-2.d: New.
414
415 2007-06-29 H.J. Lu <hjl@gnu.org>
416
417 * ld-scripts/assert.t: Discard .reginfo sections.
418
419 2007-06-26 Joseph Myers <joseph@codesourcery.com>
420
421 * ld-arm/attr-merge.s, ld-arm/attr-merge.attr: New.
422 * ld-arm/arm-elf.exp (armelftests): Add new test.
423
424 2007-06-25 Richard Sandiford <richard@codesourcery.com>
425
426 * ld-mips-elf/mips16-local-stubs-1.s,
427 * ld-mips-elf/mips16-local-stubs-1.d: New tests.
428 * ld-mips-elf/mips-elf.exp: Run them.
429
430 2007-06-19 H.J. Lu <hongjiu.lu@intel.com>
431
432 PR ld/4590
433 * ld-ia64/merge1.d: New.
434 * ld-ia64/merge1.s: Likewise.
435 * ld-ia64/merge2.d: Likewise.
436 * ld-ia64/merge2.s: Likewise.
437 * ld-ia64/merge3.d: Likewise.
438 * ld-ia64/merge3.s: Likewise.
439 * ld-ia64/merge4.d: Likewise.
440 * ld-ia64/merge4.s: Likewise.
441 * ld-ia64/merge5.d: Likewise.
442 * ld-ia64/merge5.s: Likewise.
443
444 2007-06-18 Andreas Schwab <schwab@suse.de>
445
446 * ld-scripts/cross3.t: Add .opd section.
447
448 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
449
450 * ld-scripts/alignof.s: New.
451 * ld-scripts/alignof.t: New
452 * ld-scripts/alignof.exp: New.
453
454 2007-06-14 Alan Modra <alan@grove.modra.org>
455
456 * ld-spu/ovl.d: Update.
457 * ld-spu/ovl2.d: Update.
458
459 2007-05-24 Nathan Sidwell <nathan@codesourcery.com>
460
461 * ld-scripts/assert.t: Add additional cases.
462 * ld-scripts/extern.t, ld-scripts/extern.s,
463 ld-scripts/extern.exp: New.
464
465 2007-05-22 Paul Brook <paul@codesourcery.com>
466
467 * ld-arm/arm-pic-veneer.d: Update expected output.
468 * ld-arm/arm-call.d: Ditto.
469
470 2007-05-22 Paul Brook <paul@codesourcery.com>
471
472 * ld-arm-mixed-lib.d: Update expected output.
473 * ld-arm/arm-app.d: Ditto.
474 * ld-arm/mixed-app.d: Ditto.
475 * ld-arm/arm-lib-plt32.d: Ditto.
476 * ld-arm/arm-app-abs32.d: Ditto.
477 * ld-arm/mixed-app-v5.d: Ditto.
478 * ld-arm/armthumb-lib.d: Ditto.
479 * ld-arm/arm-lib.d: Ditto.
480
481 2007-05-21 Richard Sandiford <richard@codesourcery.com>
482
483 * ld-arm/emit-relocs1.d, ld-arm/emit-relocs1.s,
484 * ld-arm/emit-relocs1-vxworks.d: New tests.
485 * ld-arm/arm-elf.exp: Run them.
486 * ld-arm/vxworks1.dd: Expect proper branch targets.
487
488 2007-05-18 Joseph Myers <joseph@codesourcery.com>
489
490 * ld-elf/group.ld: Discard .reginfo.
491
492 2007-05-18 Paul Brook <paul@codesourcery.com>
493
494 * ld-arm/arm-call.d: Update expected output.
495
496 2007-05-17 Paul Brook <paul@codesourcery.com>
497
498 * ld-elf/multibss1.s: Use %nobits instead of @nobits.
499
500 2007-05-17 Nathan Sidwell <nathan@codesourcery.com>
501
502 * ld-m68k/merge-error-1a.d: Mismatch is an error.
503 * ld-m68k/merge-error-1b.d: Likewise.
504 * ld-m68k/merge-error-1c.d: Likewise.
505 * ld-m68k/merge-error-1d.d: Likewise.
506 * ld-m68k/merge-error-1e.d: Likewise.
507
508 2007-05-15 H.J. Lu <hongjiu.lu@intel.com>
509
510 PR ld/4504
511 * ld-elf/data1.c: New file.
512 * ld-elf/data1.h: Likewise.
513 * ld-elf/dynbss1.c: Likewise.
514 * ld-elf/pass.out: Likewise.
515
516 * ld-elf/shared.exp (build_tests): Add "Build libdata1.so".
517 (run_tests): Add "Run with libdata1.so".
518
519 2007-05-15 Richard Sandiford <richard@codesourcery.com>
520
521 * ld-arm/vxworks1.ld: Swap .bss and .data.
522 * ld-arm/vxworks1-lib.rd: Update accordingly.
523 * ld-arm/vxworks1-lib.td: New test.
524 * ld-arm/arm-elf.exp: Run it.
525
526 * ld-i386/vxworks1.ld: Swap .bss and .data.
527 * ld-i386/vxworks1-lib.rd: Update accordingly.
528 * ld-i386/vxworks1-lib.td: New test.
529 * ld-i386/i386.exp: Run it.
530
531 * ld-mips-elf/vxworks1.ld: Swap .bss and .data.
532 * ld-mips-elf/vxworks1-lib.rd: Update accordingly.
533 * ld-mips-elf/vxworks1.rd: Likewise.
534
535 * ld-powerpc/vxworks1.ld: Swap .bss and .data.
536 * ld-powerpc/vxworks1-lib.rd: Update accordingly.
537 * ld-powerpc/vxworks1-lib.td: New test.
538 * ld-powerpc/powerpc.exp: Run it.
539
540 * ld-sh/vxworks1.ld: Swap .bss and .data.
541 * ld-sh/vxworks1-lib.rd: Update accordingly.
542 * ld-sh/vxworks1-lib.td: New test.
543 * ld-sh/sh-vxworks.exp: Run it.
544
545 * ld-sparc/vxworks1.ld: Swap .bss and .data.
546 * ld-sparc/vxworks1-lib.rd: Update accordingly.
547 * ld-sparc/vxworks1-lib.td: New test.
548 * ld-sparc/sparc.exp: Run it.
549
550 2007-05-15 Richard Sandiford <richard@codesourcery.com>
551
552 * ld-mips-elf/vxworks1-lib.rd: Expect the GOT relocation to be
553 against symbol 0.
554
555 2007-05-15 Mark Shinwell <shinwell@codesourcery.com>
556
557 * ld-arm/arm-elf.exp: Add jump19 testcase.
558 * ld-arm/jump19.d: New.
559 * ld-arm/jump19.s: New.
560
561 2007-05-14 Richard Sandiford <richard@codesourcery.com>
562
563 * ld-sh/vxworks1.dd: Remove hexadecimal prefixes from constant pool
564 contents. Consistently use "!" as the comment character.
565 Consistently use _PROCEDURE_LINKAGE_TABLE_ in the first PLT entry.
566 * ld-sh/vxworks1-le.dd: Likewise.
567 * ld-sh/vxworks1-lib.dd: Likewise.
568 * ld-sh/vxworks1-lib-le.dd: Likewise.
569 * ld-sh/vxworks3.dd: Likewise.
570 * ld-sh/vxworks3-le.dd: Likewise.
571
572 2007-05-14 Andreas Schwab <schwab@suse.de>
573
574 * ld-elf/dl2a.list: New file.
575 * ld-elf/shared.exp: Add test using --dynamic-list=dl2a.list.
576
577 2007-05-10 Richard Sandiford <richard@codesourcery.com>
578
579 * ld-arm/vxworks1-lib.dd: Expect "push" instead of stmdb and
580 "pop" instead of ldmia. Don't require specific symbolic addresses
581 for in-text addresses. Expect data to be rendered as .words rather
582 than disassembled.
583 * ld-arm/vxworks1.dd: Likewise.
584
585 2007-05-10 Richard Sandiford <richard@codesourcery.com>
586
587 * ld-elf/multibss1.d, ld-elf/multibss1.s: New test.
588
589 2007-04-27 Nathan Sidwell <nathan@codesourcery.com>
590
591 * ld-m68k/plt1-isac.d: New.
592 * ld-m68k/m68k.exp: Add it.
593
594 2007-04-26 H.J. Lu <hongjiu.lu@intel.com>
595
596 PR binutils/4430
597 * ld-i386/tlsbin.dd: Updated.
598 * ld-i386/tlsbindesc.dd: Likewise
599 * ld-i386/tlsdesc.dd: Likewise
600 * ld-i386/tlsgdesc.dd: Likewise
601 * ld-i386/tlsnopic.dd: Likewise
602 * ld-i386/tlspic.dd: Likewise
603 * ld-x86-64/tlsbin.dd: Likewise
604 * ld-x86-64/tlsbindesc.dd: Likewise
605 * ld-x86-64/tlsdesc.dd: Likewise
606 * ld-x86-64/tlsgdesc.dd: Likewise
607 * ld-x86-64/tlspic.dd: Likewise
608
609 2007-04-24 Alan Modra <amodra@bigpond.net.au>
610
611 * ld-linkonce/x.s: Use .gcc_except_table instead of .eh_frame
612 to test that entry for deleted function is zeroed. Add a
613 somewhat closer to normal .eh_frame to test that fde for
614 deleted function is removed.
615 * ld-linkonce/y.s: Likewise.
616 * ld-linkonce/zeroeh.ld: Place .gcc_except_table too.
617 * ld-linkonce/zeroehl32.d: Update.
618
619 2007-04-21 Richard Earnshaw <rearnsha@arm.com>
620
621 * ld-arm/arm-app-abs32.d: Convert to unified syntax.
622 * ld-arm/arm-app.d: Likewise.
623 * ld-arm/arm-lib-plt32.d: Likewise.
624 * ld-arm/arm-lib.d: Likewise.
625 * ld-arm/arm-static-app.d: Likewise.
626 * ld-arm/armthumb-lib.d: Likewise.
627 * ld-arm/mixed-app-v5.d: Likewise.
628 * ld-arm/mixed-app.d: Likewise.
629 * ld-arm/mixed-lib.d: Likewise.
630
631 2007-04-18 Alan Modra <amodra@bigpond.net.au>
632
633 * ld-spu/ovl.lnk: Use OVERLAY keyword.
634
635 2007-04-17 Paul Brook <paul@codesourcery.com>
636
637 * ld-arm/preempt-app.s: New test.
638 * ld-arm/preempt-app.sym: New.
639 * ld-arm/arm-elf.exp: Add preempt-app.
640
641 2007-04-12 Richard Sandiford <richard@codesourcery.com>
642
643 * ld-mips-elf/vxworks1-lib.td: New test.
644 * ld-mips-elf/mips-elf.exp: Run it.
645
646 2007-04-05 H.J. Lu <hongjiu.lu@intel.com>
647
648 PR ld/4304
649 * ld-i386/i386.exp: Run "warn1".
650
651 * ld-i386/warn1.d: New file.
652 * ld-i386/warn1.s: Likewise.
653
654 2007-04-05 H.J. Lu <hongjiu.lu@intel.com>
655
656 * ld-i386/combreloc.d: Remove #target: i?86-*-*.
657 * ld-i386/reloc.d: Likewise.
658
659 2007-04-05 Alan Modra <amodra@bigpond.net.au>
660
661 * ld-spu/ovl2.d: Update.
662
663 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
664
665 PR ld/4090
666 * ld-elf/expr1.d: New file.
667 * ld-elf/expr1.s: Likewise.
668 * ld-elf/expr1.t: Likewise.
669
670 2007-03-29 Richard Sandiford <richard@codesourcery.com>
671
672 * ld-libs/lib-1.s, ld-libs/lib-2.s, ld-libs/lib-2.d,
673 * ld-libs/libs.exp: New files.
674
675 2007-03-28 Richard Sandiford <richard@codesourcery.com>
676
677 * ld-vxworks/rpath-1.s, ld-vxworks/rpath-1.d,
678 * ld-vxworks/vxworks.exp: New files.
679
680 2007-03-27 Alan Modra <amodra@bigpond.net.au>
681
682 * ld-elf/note-1.s: Increase .foo size.
683
684 2007-03-27 Alan Modra <amodra@bigpond.net.au>
685
686 * ld-spu/spu.exp (embed_test): New.
687 * ld-spu/ear.s: New.
688 * ld-spu/ear.d: New.
689 * ld-spu/embed.rd: New.
690 * ld-spu/ovl2.s: New.
691 * ld-spu/ovl2.d: New.
692
693 2007-03-24 Alan Modra <amodra@bigpond.net.au>
694
695 * ld-elf/overlay.d: -u symbols we want to see in the output.
696
697 2007-03-23 Alan Modra <amodra@bigpond.net.au>
698
699 * ld-spu/ovl.s (f4_a2): Tail call.
700 * ld-spu/ovl.d: Add --emit-relocs to ld options, -r to objdump.
701 Update expected results.
702
703 2007-03-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
704
705 * ld-sh/ld-r-1.d: Update.
706 * ld-sh/shared-1.d: Likewise.
707
708 2007-03-23 Alan Modra <amodra@bigpond.net.au>
709
710 * ld-elf/elf.exp: Add "--local-store 0:0" to LDFLAGS for spu.
711
712 2007-03-22 H.J. Lu <hongjiu.lu@intel.com>
713
714 PR ld/4210
715 * ld-pe/image_size.d: New file.
716 * ld-pe/image_size.s: Likewise.
717 * ld-pe/image_size.t: Likewise.
718
719 * ld-pe/pe.exp: Run image_size.
720
721 2007-03-22 H.J. Lu <hongjiu.lu@intel.com>
722
723 PR ld/4007
724 * ld-elf/note-1.d: New file.
725 * ld-elf/note-1.s: Likewise.
726 * ld-elf/note-1.t: Likewise.
727 * ld-i386/alloc.d: Likewise.
728 * ld-i386/alloc.s: Likewise.
729 * ld-i386/alloc.t: Likewise.
730
731 * ld-i386/i386.exp: Run "alloc".
732
733 2007-03-20 Paul Brook <paul@codesourcery.com>
734
735 * ld-arm/arm-elf.exp (ld-arm/arm-elf.exp): Add arm-pic-veneer.
736 * ld-arm/arm-pic-veneer.d: New test.
737 * ld-arm/arm-pic-veneer.s: New test.
738
739 2007-03-08 Richard Sandiford <richard@codesourcery.com>
740
741 * ld-elf/extract-symbol-1.ld (data): Explicitly set the start address
742 to 0.
743
744 2007-03-07 Alan Modra <amodra@bigpond.net.au>
745
746 * ld-elf/extract-symbol-1sec.d: xfail hppa.
747 * ld-elf/extract-symbol-1sym.d: xfail hppa.
748
749 2007-03-07 H.J. Lu <hongjiu.lu@intel.com>
750
751 PR 3958
752 * ld-elf/linkonce1.d: New.
753 * ld-elf/linkonce1a.s: New.
754 * ld-elf/linkonce1b.s: New.
755 * ld-elf/linkonce2.d: New.
756 * ld-i386/pcrel16abs.d: New.
757 * ld-i386/pcrel16abs.s: New.
758 * ld-i386/i386.exp: Run it.
759
760 2007-03-06 H.J. Lu <hongjiu.lu@intel.com>
761
762 PR ld/4144
763 * ld-elf/nobits-1.d: New file.
764 * ld-elf/nobits-1.s: Likewise.
765 * ld-elf/nobits-1.t: Likewise.
766
767 2007-03-02 Richard Sandiford <richard@codesourcery.com>
768
769 * ld-elf/binutils.exp: Revert last change.
770
771 2007-03-01 Richard Sandiford <richard@codesourcery.com>
772
773 * ld-elf/extract-symbol-1sym.d, ld-elf/extract-symbol-1sec.d,
774 * ld-elf/extract-symbol-1.s, ld-elf/extract-symbol-1.ld: New tests.
775 * ld-elf/binutils.exp: Run them.
776
777 2007-02-28 Nick Clifton <nickc@redhat.com>
778
779 PR ld/3796
780 * ld-arm/arm-elf.exp (armelftests): Move "Thumb-2 BL" test into...
781 (armeabitests): ... here, a new array for EABI specific tests.
782 (armelftests): Add extra command line options for VFP11 fix tests
783 and thumb shared library test.
784
785 2007-02-22 Paul Brook <paul@codesourcery.com>
786
787 * ld-arm/arm-elf.exp (armelftests): Add gc-unwind.h.
788 * ld-arm/gc-unwind.s: New file.
789 * ld-arm/gc-unwind.d: New file.
790
791 2007-02-14 H.J. Lu <hongjiu.lu@intel.com>
792
793 PR ld/3953
794 * ld-elf/beginwarn.c: New file.
795 * ld-elf/warn.out: Likewise.
796
797 * ld-elf/shared.exp (build_tests): Add "Build warn libbar.so".
798 (run_tests): Add "Run warn with versioned libfoo.so".
799
800 * lib/ld-lib.exp (default_ld_relocate): Make exec_output global
801 and remove target first.
802 (default_ld_link): Likewise.
803 (default_ld_simple_link): Likewise.
804 (run_ld_link_exec_tests): Take an optional linker warning and
805 check it.
806 (default_ld_link): Check pruned linker output.
807
808 2007-02-13 H.J. Lu <hongjiu.lu@intel.com>
809
810 * ld-scripts/default-script1.d: Expect extra symbols.
811 * ld-scripts/default-script2.d: Likewise.
812 * ld-scripts/default-script3.d: Likewise.
813 * ld-scripts/default-script4.d: Likewise.
814
815 2007-02-13 Alan Modra <amodra@bigpond.net.au>
816
817 * ld-powerpc/relbrlt.d: Update.
818 * ld-powerpc/tlsexe.r: Update.
819 * ld-powerpc/tlsexetoc.r: Update.
820 * ld-powerpc/tlsso.r: Update.
821 * ld-powerpc/tlstocso.r: Update.
822
823 2007-02-12 Alan Modra <amodra@bigpond.net.au>
824
825 * ld-powerpc/relbrlt.d: Update.
826
827 2007-02-06 Nick Clifton <nickc@redhat.com>
828
829 PR ld/3805
830 * ld-elf/sec64k.exp: Expect the relocatable version of this test
831 to fail for the m32r because it creates both .rel and .rela
832 sections.
833
834 2007-02-05 Dave Brolley <brolley@redhat.com>
835
836 * ld-undefined/undefined.exp: XFAIL the undefined test
837 * ld-mep: New, with content.
838
839 2007-02-05 H.J. Lu <hongjiu.lu@intel.com>
840
841 * ld-i386/pcrel16.d: Undo the last change.
842 * ld-x86-64/pcrel16.d: Likewise.
843
844 2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
845
846 * ld-i386/pcrel16.d: Updated.
847 * ld-x86-64/pcrel16.d: Likewise.
848
849 2007-02-01 Alan Modra <amodra@bigpond.net.au>
850
851 * ld-scripts/default-script.exp: Add "--local-store 0:0" to
852 LDFLAGS for spu.
853
854 2007-01-29 Julian Brown <julian@codesourcery.com>
855
856 * ld-arm/arm-elf.exp: Add VFP11 tests.
857 * ld-arm/vfp11-fix-none.s: New file.
858 * ld-arm/vfp11-fix-none.d: Expected disassembly of above.
859 * ld-arm/vfp11-fix-scalar.s: New file.
860 * ld-arm/vfp11-fix-scalar.d: Expected disassembly of above.
861 * ld-arm/vfp11-fix-vector.s: New file.
862 * ld-arm/vfp11-fix-vector.d: Expected disassembly of above.
863
864 2007-01-23 Nathan Sidwell <nathan@codesourcery.com>
865
866 * ld-elf/header.d: Reduce page size, restrict to linux & vxworks
867 * ld-elf/header.s: Adjust.
868 * ld-elf/header.t: Reduce initial offset.
869
870 2007-01-23 Andreas Schwab <schwab@suse.de>
871
872 * lib/ld-lib.exp (run_dump_test): Don't prematurely remove
873 assembler output.
874
875 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
876
877 * ld-elf/dl6.c: New file.
878 * ld-elf/dl6a.out: Likewise.
879 * ld-elf/dl6amain.c: Likewise.
880 * ld-elf/dl6b.out: Likewise.
881 * ld-elf/dl6bmain.c: Likewise.
882 * ld-elf/dl6cmain.c: Likewise.
883 * ld-elf/dl6dmain.c: Likewise.
884
885 * ld-elf/shared.exp: Add new tests for -Bsymbolic,
886 -Bsymbolic-functions, --dynamic-list-data and
887 --dynamic-list-cpp-new.
888
889 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
890
891 * ld-elf/maxpage3.t: New file.
892 * ld-elf/maxpage3a.d: Likewise.
893 * ld-elf/maxpage3b.d: Likewise.
894 * ld-elf/maxpage3c.d: Likewise.
895
896 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
897
898 * ld-scripts/default-script.exp: New file.
899 * ld-scripts/default-script.s: Likewise.
900 * ld-scripts/default-script.t: Likewise.
901 * ld-scripts/default-script1.d: Likewise.
902 * ld-scripts/default-script2.d: Likewise.
903 * ld-scripts/default-script3.d: Likewise.
904 * ld-scripts/default-script4.d: Likewise.
905
906 2007-01-18 H.J. Lu <hongjiu.lu@intel.com>
907
908 PR ld/1283
909 * lib/ld-lib.exp (run_dump_test): Remove output file first.
910
911 2007-01-17 H.J. Lu <hongjiu.lu@intel.com>
912
913 * ld-elf/header.d: Adjust for .text section with 16byte
914 alignment.
915
916 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
917
918 * ld-elf/dl1main.c (main): Fix a typo.
919
920 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
921
922 PR ld/3831
923 * ld-elf/del.cc: New.
924 * ld-elf/dl5.cc: Likewise.
925 * ld-elf/dl5.out: Likewise.
926 * ld-elf/new.cc: Likewise.
927
928 * ld-elf/shared.exp: Add tests for --dynamic-list-data and
929 --dynamic-list-cpp-new.
930
931 2007-01-12 Hans-Peter Nilsson <hp@axis.com>
932
933 * ld-elf/header.d: Allow arbitrary lines between "Program Header"
934 and "Sections". Only run on *-*-linux*.
935
936 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
937
938 * ld-elf/header.d: New.
939 * ld-elf/header.t: New.
940 * ld-elf/header.s: New.
941
942 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
943
944 * ld-fastcall/fastcall.exp: Renamed target x86_64-*-mingw64 to
945 x86_64-*-mingw*.
946 * ld-pe/pe.exp: Ditto.
947 * ld-scripts/align.exp: Ditto.
948 * ld-scripts/defined.exp: Ditto.
949 * ld-scripts/provide.exp: Ditto.
950 * ld-scripts/weak.exp: Ditto.
951
952 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
953
954 * ld-scripts/expr.exp: New.
955 * ld-scripts/expr1.s: New.
956 * ld-scripts/expr1.d: New.
957 * ld-scripts/expr1.t: New.
958
959 For older changes see ChangeLog-2006
960 \f
961 Local Variables:
962 mode: change-log
963 left-margin: 8
964 fill-column: 74
965 version-control: never
966 End: