* ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d,
[binutils-gdb.git] / ld / testsuite / ChangeLog
1 2003-05-12 Hans-Peter Nilsson <hp@bitrange.com>
2
3 * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d,
4 ld-mmix/loc4.d, ld-mmix/loc4m.d, ld-mmix/loc6.d, ld-mmix/loc6m.d,
5 ld-mmix/locdo-1.d, ld-mmix/sec-1.d, ld-mmix/sec-2.d,
6 ld-mmix/sec-3.d, ld-mmix/sec-4.d, ld-mmix/sec-5.d,
7 ld-mmix/sec-7m.d, ld-mmix/sec-8m.d, ld-mmix/spec802.d,
8 ld-mmix/spec803.d, ld-mmix/spec804.d, ld-mmix/spec805.d,
9 ld-mmix/spec806.d, ld-mmix/spec807.d, ld-mmix/spec808.d: Tweak for
10 objdump no longer truncating dump addresses.
11
12 2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
13
14 * ld-elfvsb/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame
15 to linker script.
16 * ld-elfvsb/elfvsb.exp (visibility_run): Add setup_xfails for s390x.
17 * ld-selective/selective.exp: Disable for s390 and s390x.
18 * ld-shared/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame
19 to linker script.
20 * ld-shared/shared.exp (shared_test): Add setup_xfails for s390x.
21 * ld-undefined/undefined.exp (checkund): Remove setup_xfail for s390x.
22
23 2003-05-08 H.J. Lu <hongjiu.lu@intel.com>
24
25 * ld-elfvers/vers.exp: Add vers27d4 and vers27d5 to test
26 versioned reference for hidden symbol.
27
28 * ld-elfvers/vers27d4.dsym: New file.
29 * ld-elfvers/vers27d4.ver: Likewise.
30
31 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
32
33 * ld-elfvers/vers27d3.c (__start): New.
34 (start): New.
35
36 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
37
38 * ld-elfvers/vers.exp (build_binary): Support build exeutable.
39 (build_binary): Renamed from ...
40 (build_vers_lib): This.
41 (build_vers_lib_no_pic): Updated.
42 (build_vers_lib_pic): Likewise.
43 Add vers27d1, vers27d2 and vers27d3 to test versioned
44 definition for hidden symbol referenced by a DSO.
45
46 * ld-elfvers/vers27d.dsym: New file.
47 * ld-elfvers/vers27d.sym: Likewise.
48 * ld-elfvers/vers27d.ver: Likewise.
49 * ld-elfvers/vers27d1.c: Likewise.
50 * ld-elfvers/vers27d2.c: Likewise.
51 * ld-elfvers/vers27d3.c: Likewise.
52
53 2003-05-07 Andreas Schwab <schwab@suse.de>
54
55 * ld-elfvsb/elfvsb.exp: Run dump tests even when cross
56 compiling.
57
58 2003-05-06 Alexandre Oliva <aoliva@redhat.com>
59
60 * config/default.exp (gcc_gas_flags): Force ABI to n32 on
61 mips64-linux.
62 * ld-elf/merge.d: Xfail on mips64*-linux-gnu*.
63 * ld-mips-elf/mips-elf-flags.exp (ldemul): Set to o32-compatible
64 on mips-sgi-irix6*, mips64-linux-gnu and mips64el-linux-gnu.
65 (good_combination, bad_combination): Use it.
66 Add -32 or -mabi=o64 wherever the ABI was formerly implied.
67
68 2003-05-06 H.J. Lu <hjl@gnu.org>
69
70 * ld-elfvers/vers.exp (objdump_versionstuff): Support comment
71 in expected version file.
72
73 * ld-elfvers/vers25b.c: Add a line of comment.
74 * ld-elfvers/vers25b.dsym: Likwise.
75 * ld-elfvers/vers25b.ver: Likwise.
76 * ld-elfvers/vers26b.dsym: Likwise.
77 * ld-elfvers/vers26b.ver: Likwise.
78 * ld-elfvers/vers27b.dsym: Likwise.
79 * ld-elfvers/vers27b.ver: Likwise.
80 * ld-elfvers/vers27c.c: Likwise.
81 * ld-elfvers/vers27c.dsym: Likwise.
82 * ld-elfvers/vers27c.ver: Likwise.
83
84 2003-05-04 H.J. Lu <hjl@gnu.org>
85
86 * ld-elfvsb/main.c: Updated.
87 * ld-elfvsb/sh1.c: Likewise.
88
89 2003-05-04 H.J. Lu <hjl@gnu.org>
90
91 * ld-elfvers/vers18.dsym: Updated for weak definiton change.
92 * ld-elfvers/vers18.ver: Likewise.
93 * ld-elfvers/vers19.ver: Likewise.
94 * ld-elfweak/dsowdata.dsym: Likewise.
95 * ld-elfweak/elfweak.exp: Likewise.
96 * ld-elfweak/weakdata.dsym: Likewise.
97
98 * ld-elfweak/elfweak.exp: Remove xfail.
99
100 2003-05-04 Alexandre Oliva <aoliva@redhat.com>
101
102 * ld-mips-elf/multi-got-1.d: Force into big-endian mode.
103 Turn relocation offsets into regexps.
104
105 2003-05-03 H.J. Lu <hjl@gnu.org>
106
107 * ld-elfvers/vers.exp: Add vers27a, vers27b, vers27c1 and
108 vers27c2 to test versioned definition vs. hidden definition in
109 different files.
110
111 * ld-elfvers/vers27a.c: New file.
112 * ld-elfvers/vers27a.dsym: Likewise.
113 * ld-elfvers/vers27a.map: Likewise.
114 * ld-elfvers/vers27a.ver: Likewise.
115 * ld-elfvers/vers27b.c: Likewise.
116
117 * ld-elfvers/vers27b.dsym: New empty file.
118 * ld-elfvers/vers27b.ver: Likwise.
119 * ld-elfvers/vers27c.c: Likwise.
120 * ld-elfvers/vers27c.dsym: Likwise.
121 * ld-elfvers/vers27c.ver: Likwise.
122
123 2003-05-02 Nick Clifton <nickc@redhat.com>
124
125 * ld-xstormy16: New directory.
126 * ld-xstormy16/xstormy16.exp: New test script.
127 * ld-xstormy16/pcrel.s: Test assembler source file.
128 * ld-xstormy16/external.s: Test assembler source file.
129 * ld-xstormy16/pcrel.d: Test expected disassembly.
130
131 2003-05-02 Andreas Jaeger <aj@suse.de>
132
133 * ld-elfvers/vers.exp (build_exec): Disable vers26b3 on x86-64-linux.
134
135 2003-04-29 H.J. Lu <hjl@gnu.org>
136
137 * ld-ia64/tlsbin.dd: Updated.
138 * ld-ia64/tlsbin.rd: Likewise.
139 * ld-ia64/tlsbin.sd: Likewise.
140 * ld-ia64/tlsbin.td: Likewise.
141 * ld-ia64/tlspic.rd: Likewise.
142 * ld-ia64/tlspic.sd: Likewise.
143 * ld-ia64/tlspic.td: Likewise.
144
145 2003-04-29 J"orn Rennecke <joern.rennecke@superh.com>
146
147 * ld-selective/3.cc (start): New function.
148 * ld-selective/4.cc: Likewise.
149 * ld-selective/5.cc: Likewise.
150
151 2003-04-28 H.J. Lu <hjl@gnu.org>
152
153 * ld-elfvers/vers.exp (picflag): Set PIC flag for compiler.
154 (build_vers_lib): Support PIC.
155 (build_vers_lib_no_pic): New. Change all calls to build_vers_lib
156 to build_vers_lib_no_pic.
157 (build_vers_lib_pic): New.
158 Add tests vers26a, vers26b1, vers26b2 and vers26b3 for versioned
159 definition vs. normal definition in different files.
160
161 * ld-elfvers/vers26a.c: New file.
162 * ld-elfvers/vers26a.dsym: Likewise.
163 * ld-elfvers/vers26a.map: Likewise.
164 * ld-elfvers/vers26a.ver: Likewise.
165 * ld-elfvers/vers26b.c: Likewise.
166
167 * ld-elfvers/vers26b.dsym: New empty file.
168 * ld-elfvers/vers26b.ver: Likewise.
169
170 2003-04-27 H.J. Lu <hjl@gnu.org>
171
172 * ld-elfvsb/elfvsb.dat: Updated.
173 * ld-elfvsb/elfvsb.exp: Likewise.
174 * ld-elfvsb/main.c: Likewise.
175 * ld-elfvsb/sh1.c: Likewise.
176 * ld-elfvsb/sh2.c: Likewise.
177
178 2003-04-26 Stephane Carrez <stcarrez@nerim.fr>
179
180 * ld-m68hc11/bug-3331.d: New test.
181 * ld-m68hc11/bug-3331.s: New file.
182
183 2003-04-25 Nick Clifton <nickc@redhat.com>
184 J"orn Rennecke <joern.rennecke@superh.com>
185
186 * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.
187
188 2003-04-24 J"orn Rennecke <joern.rennecke@superh.com>
189
190 * ld-elfcomm/elfcomm.exp: Allow symbols to have '_' prepended.
191
192 2003-04-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
193
194 * ld-sh/tlsbin-1.d, ld-sh/tlsbin-2.d, ld-sh/tlsbin-3.d,
195 ld-sh/tlstpoff-1.d, ld-sh/tlstpoff-2.d: Update for removing
196 unnecessary TLS relocs.
197
198 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
199
200 * ld-sh/sh64/crange3-cmpct.rd (Machine): Change to refer to SuperH.
201 * ld-sh/sh64/crange3-media.rd (Machine): Likewise.
202
203 2003-04-23 H.J. Lu <hjl@gnu.org>
204
205 * ld-elfvers/vers.exp (objdump_dynsymstuff): Support empty
206 files.
207 (objdump_versionstuff): Likewise.
208 Add tests vers25a, vers25b1 and vers25b2 for versioned
209 definition vs. normal definition in different files.
210
211 * ld-elfvers/vers25a.c: New file.
212 * ld-elfvers/vers25a.dsym: Likewise.
213 * ld-elfvers/vers25a.map: Likewise.
214 * ld-elfvers/vers25a.ver: Likewise.
215
216 * ld-elfvers/vers25b.c: New empty file.
217 * ld-elfvers/vers25b.dsym: Likewise.
218 * ld-elfvers/vers25b.ver: Likewise.
219
220 2003-04-22 H.J. Lu <hjl@gnu.org>
221
222 * ld-elfcomm/elfcomm.exp: Support 64bit targets.
223
224 2003-04-21 Stephane Carrez <stcarrez@nerim.fr>
225
226 * ld-m68hc11/far-hc11.s: New file.
227 * ld-m68hc11/far-hc11.d: New test for HC11 trampoline generation.
228 * ld-m68hc11/far-hc12.s: New file.
229 * ld-m68hc11/far-hc12.d: New test for HC12 trampoline generation.
230 * ld-m68hc11/far-hc12.ld: New file.
231
232 2003-04-15 H.J. Lu <hjl@gnu.org>
233
234 * ld-elfcom/elfcom.exp: Fix a typo.
235
236 2003-04-14 H.J. Lu <hjl@gnu.org>
237
238 * ld-elfcom: New directory.
239 * ld-elfcom/elfcom.exp: New file: Test alignment of common symbols
240 under ELF.
241 * ld-elfcom/common1a.c: New file: Test source code.
242 * ld-elfcom/common1b.c: New file: Test source code.
243
244 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
245
246 * ld-sh/sh64/crange3-cmpct.rd: Replace occurrances of 'Hitachi'
247 with 'Renesas'.
248 * ld-sh/sh64/crange3-media.rd: Likewise.
249
250 2002-04-13 Daniel Jacobowitz <drow@mvista.com>
251
252 * ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s,
253 ld-sh/refdbg.s: Add leading 0 to .debug_info to prevent parsing it
254 for error messages.
255
256 2003-04-10 Alexandre Oliva <aoliva@redhat.com>
257
258 * ld-mips-elf/elf-rel-got-n32.d,
259 ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d,
260 ld-mips-elf/elf-rel-xgot-n64.d: New.
261 * ld-mips-elf/mips-elf.exp (hasn32): Define as condition for
262 new tests to run.
263
264 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
265
266 * ld-m68hc11/bug-1417.d: Update to take into account jsr->bsr relax.
267
268 2003-04-02 Bob Wilson <bob.wilson@acm.org>
269
270 * ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*.
271 * ld-xtensa/lcall.exp: Likewise.
272
273 2003-04-01 Bob Wilson <bob.wilson@acm.org>
274
275 * ld-elf/merge.d: xfail xtensa-*-*.
276 * ld-scripts/crossref.exp: Add -mtext-section-literals to CFLAGS
277 for Xtensa targets.
278 * ld-srec/srec.exp: Add -no-relax flag for Xtensa targets.
279 * ld-xtensa/coalesce1.s: New file.
280 * ld-xtensa/coalesce2.s: Likewise.
281 * ld-xtensa/coalesce.exp: Likewise.
282 * ld-xtensa/coalesce.t: Likewise.
283 * ld-xtensa/lcall1.s: Likewise.
284 * ld-xtensa/lcall2.s: Likewise.
285 * ld-xtensa/lcall.exp: Likewise.
286 * ld-xtensa/lcall.t: Likewise.
287
288 2003-03-25 Alexandre Oliva <aoliva@redhat.com>
289
290 * ld-mips-elf/mips-elf.exp: Added...
291 * ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d,
292 ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d,
293 ld-mips-elf/relax-jalr-n64-shared.d: New tests.
294
295 2003-03-11 Alexandre Oliva <aoliva@redhat.com>
296
297 * ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add:
298 * ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d,
299 ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New
300 tests.
301
302 2003-03-11 Alan Modra <amodra@bigpond.net.au>
303
304 * ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs.
305 * ld-powerpc/tlsso32.r: Likewise.
306
307 2003-02-18 Alan Modra <amodra@bigpond.net.au>
308
309 * ld-powerpc/tlsexe.d: Update for changed handling of invalid LD
310 relocs.
311 * ld-powerpc/tlsexe.g: Likewise.
312 * ld-powerpc/tlsexe.r: Likewise.
313 * ld-powerpc/tlsexe.t: Likewise.
314
315 * ld-powerpc/tls32.s: New file.
316 * ld-powerpc/tlslib32.s: New file.
317 * ld-powerpc/tls32.d: New file.
318 * ld-powerpc/tls32.g: New file.
319 * ld-powerpc/tls32.t: New file.
320 * ld-powerpc/tlsexe32.d: New file.
321 * ld-powerpc/tlsexe32.g: New file.
322 * ld-powerpc/tlsexe32.r: New file.
323 * ld-powerpc/tlsexe32.t: New file.
324 * ld-powerpc/tlsso32.d: New file.
325 * ld-powerpc/tlsso32.g: New file.
326 * ld-powerpc/tlsso32.r: New file.
327 * ld-powerpc/tlsso32.t: New file.
328 * ld-powerpc/powerpc.exp: Run new tests.
329
330 2003-02-18 Alan Modra <amodra@bigpond.net.au>
331
332 * ld-powerpc/tlsexe.g: Update for 2003-02-14 elf64-ppc.c change.
333
334 2003-02-10 Jakub Jelinek <jakub@redhat.com>
335
336 * ld-shared/shared.exp: Run on s390*-*-linux* and x86_64-*-linux* too.
337 xfail tests linking non-pic code into shared libs on x86_64-*-linux*.
338 * ld-elfvsb/elfvsb.exp: Likewise.
339 * ld-elfvers/vers.exp: Likewise. Add vers24a, vers24b and vers24c
340 tests.
341 * ld-elfvers/vers3.ver: Allow VERS_2.0 to come before GLIBC_*
342 version.
343 * ld-elfvers/vers19.ver: Likewise.
344 * ld-elfvers/vers24a.c: New test.
345 * ld-elfvers/vers24b.c: New test.
346 * ld-elfvers/vers24c.c: New test.
347 * ld-elfvers/vers24.map: New test.
348 * ld-elfvers/vers24.rd: New test.
349 * lib/ld-lib.exp (run_ld_link_tests): Add optional 7th argument
350 cflags. If source files have .c extension, compile them first.
351
352 2003-02-10 Kaz kojima <kkojima@rr.iij4u.or.jp>
353
354 * ld-sh/tlstpoff-1.d: New.
355 * ld-sh/tlstpoff-2.d: New.
356 * ld-sh/tlstpoff1.s: New.
357 * ld-sh/tlstpoff2.s: New.
358
359 2003-02-09 Alan Modra <amodra@bigpond.net.au>
360
361 * ld-powerpc/tlslib.s: Give .__tls_get_addr function type.
362 * ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var
363 in dynamic lib.
364 * ld-powerpc/tlsexe.g: Likewise.
365 * ld-powerpc/tlsexe.r: Likewise.
366 * ld-powerpc/tlsexe.t: Likewise.
367 * ld-powerpc/tlsexetoc.d: Likewise.
368 * ld-powerpc/tlsexetoc.g: Likewise.
369 * ld-powerpc/tlsexetoc.r: Likewise.
370 * ld-powerpc/tlsexetoc.t: Likewise.
371
372 2003-02-05 Alan Modra <amodra@bigpond.net.au>
373
374 * ld-powerpc/powerpc.exp (supports_ppc64): New.
375 (ppcelftests): Force 32 bit mode.
376 (ppc64elftests): New.
377 * ld-powerpc/tls.d: New.
378 * ld-powerpc/tls.g: New.
379 * ld-powerpc/tls.s: New.
380 * ld-powerpc/tls.t: New.
381 * ld-powerpc/tlsexe.d: New.
382 * ld-powerpc/tlsexe.g: New.
383 * ld-powerpc/tlsexe.r: New.
384 * ld-powerpc/tlsexe.t: New.
385 * ld-powerpc/tlsexetoc.d: New.
386 * ld-powerpc/tlsexetoc.g: New.
387 * ld-powerpc/tlsexetoc.r: New.
388 * ld-powerpc/tlsexetoc.t: New.
389 * ld-powerpc/tlslib.s: New.
390 * ld-powerpc/tlsso.d: New.
391 * ld-powerpc/tlsso.g: New.
392 * ld-powerpc/tlsso.r: New.
393 * ld-powerpc/tlsso.t: New.
394 * ld-powerpc/tlstoc.d: New.
395 * ld-powerpc/tlstoc.g: New.
396 * ld-powerpc/tlstoc.s: New.
397 * ld-powerpc/tlstoc.t: New.
398 * ld-powerpc/tlstocso.d: New.
399 * ld-powerpc/tlstocso.g: New.
400 * ld-powerpc/tlstocso.r: New.
401 * ld-powerpc/tlstocso.t: New.
402
403 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
404
405 * ld-mips-elf/multi-got-1.d: New.
406 * ld-mips-elf/multi-got-1-1.s: New.
407 * ld-mips-elf/multi-got-1-2.s: New.
408 * ld-mips-elf/mips-elf.exp (elf): mips*-*-irix* is elf.
409 Run multi-got-1.
410
411 2003-01-25 Jakub Jelinek <jakub@redhat.com>
412
413 * ld-sparc/sparc.exp: New.
414 * ld-sparc/tlsg32.s: New test.
415 * ld-sparc/tlsg32.sd: Likewise.
416 * ld-sparc/tlsg64.s: Likewise.
417 * ld-sparc/tlsg64.sd: Likewise.
418 * ld-sparc/tlslib.s: Likewise.
419 * ld-sparc/tlsnopic.s: Likewise.
420 * ld-sparc/tlspic.s: Likewise.
421 * ld-sparc/tlssunbin32.dd: Likewise.
422 * ld-sparc/tlssunbin32.rd: Likewise.
423 * ld-sparc/tlssunbin32.s: Likewise.
424 * ld-sparc/tlssunbin32.sd: Likewise.
425 * ld-sparc/tlssunbin32.td: Likewise.
426 * ld-sparc/tlssunbin64.dd: Likewise.
427 * ld-sparc/tlssunbin64.rd: Likewise.
428 * ld-sparc/tlssunbin64.s: Likewise.
429 * ld-sparc/tlssunbin64.sd: Likewise.
430 * ld-sparc/tlssunbin64.td: Likewise.
431 * ld-sparc/tlssunbinpic32.s: Likewise.
432 * ld-sparc/tlssunbinpic64.s: Likewise.
433 * ld-sparc/tlssunnopic32.dd: Likewise.
434 * ld-sparc/tlssunnopic32.rd: Likewise.
435 * ld-sparc/tlssunnopic32.s: Likewise.
436 * ld-sparc/tlssunnopic32.sd: Likewise.
437 * ld-sparc/tlssunnopic64.dd: Likewise.
438 * ld-sparc/tlssunnopic64.rd: Likewise.
439 * ld-sparc/tlssunnopic64.s: Likewise.
440 * ld-sparc/tlssunnopic64.sd: Likewise.
441 * ld-sparc/tlssunpic32.dd: Likewise.
442 * ld-sparc/tlssunpic32.rd: Likewise.
443 * ld-sparc/tlssunpic32.s: Likewise.
444 * ld-sparc/tlssunpic32.sd: Likewise.
445 * ld-sparc/tlssunpic32.td: Likewise.
446 * ld-sparc/tlssunpic64.dd: Likewise.
447 * ld-sparc/tlssunpic64.rd: Likewise.
448 * ld-sparc/tlssunpic64.s: Likewise.
449 * ld-sparc/tlssunpic64.sd: Likewise.
450 * ld-sparc/tlssunpic64.td: Likewise.
451
452 2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com>
453
454 * ld-s390/s390.exp: New file.
455 * ld-s390/tlsbin_64.dd: New file.
456 * ld-s390/tlsbin_64.rd: New file.
457 * ld-s390/tlsbin_64.s: New file.
458 * ld-s390/tlsbin_64.sd: New file.
459 * ld-s390/tlsbin_64.td: New file.
460 * ld-s390/tlsbin.dd: New file.
461 * ld-s390/tlsbinpic_64.s: New file.
462 * ld-s390/tlsbinpic.s: New file.
463 * ld-s390/tlsbin.rd: New file.
464 * ld-s390/tlsbin.s: New file.
465 * ld-s390/tlsbin.sd: New file.
466 * ld-s390/tlsbin.td: New file.
467 * ld-s390/tlslib_64.s: New file.
468 * ld-s390/tlslib.s: New file.
469 * ld-s390/tlspic1_64.s: New file.
470 * ld-s390/tlspic1.s: New file.
471 * ld-s390/tlspic2_64.s: New file.
472 * ld-s390/tlspic2.s: New file.
473 * ld-s390/tlspic_64.dd: New file.
474 * ld-s390/tlspic_64.rd: New file.
475 * ld-s390/tlspic_64.sd: New file.
476 * ld-s390/tlspic_64.td: New file.
477 * ld-s390/tlspic.dd: New file.
478 * ld-s390/tlspic.rd: New file.
479 * ld-s390/tlspic.sd: New file.
480 * ld-s390/tlspic.td: New file.
481
482 2003-01-24 Alan Modra <amodra@bigpond.net.au>
483
484 * ld-alpha/tlsbin.sd: Cope with truncated address in data dumps.
485 * ld-alpha/tlsbin.td: Likewise.
486 * ld-alpha/tlsbinr.sd: Likewise.
487
488 2003-01-21 Richard Henderson <rth@redhat.com>
489
490 * ld-alpha/alpha.exp: New.
491 * ld-alpha/align.s: New.
492 * ld-alpha/tlsbin.dd: New.
493 * ld-alpha/tlsbin.rd: New.
494 * ld-alpha/tlsbin.s: New.
495 * ld-alpha/tlsbin.sd: New.
496 * ld-alpha/tlsbin.td: New.
497 * ld-alpha/tlsbinpic.s: New.
498 * ld-alpha/tlsbinr.dd: New.
499 * ld-alpha/tlsbinr.rd: New.
500 * ld-alpha/tlsbinr.sd: New.
501 * ld-alpha/tlsg.s: New.
502 * ld-alpha/tlsg.sd: New.
503 * ld-alpha/tlslib.s: New.
504 * ld-alpha/tlspic.dd: New.
505 * ld-alpha/tlspic.rd: New.
506 * ld-alpha/tlspic.sd: New.
507 * ld-alpha/tlspic.td: New.
508 * ld-alpha/tlspic1.s: New.
509 * ld-alpha/tlspic2.s: New.
510
511 2003-01-20 Alan Modra <amodra@bigpond.net.au>
512
513 * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld.
514
515 2003-01-18 Jakub Jelinek <jakub@redhat.com>
516
517 * ld-ia64/tlspic1.s: Add tests for IE in shared libraries.
518 * ld-ia64/tlspic.rd: Adjust.
519 * ld-ia64/tlspic.dd: Adjust.
520 * ld-ia64/tlspic.sd: Adjust.
521
522 2003-01-16 Jakub Jelinek <jakub@redhat.com>
523
524 * ld-ia64/ia64.exp: New.
525 * ld-ia64/tlsbin.dd: New test.
526 * ld-ia64/tlsbinpic.s: New test.
527 * ld-ia64/tlsbin.rd: New test.
528 * ld-ia64/tlsbin.s: New test.
529 * ld-ia64/tlsbin.sd: New test.
530 * ld-ia64/tlsbin.td: New test.
531 * ld-ia64/tlsg.s: New test.
532 * ld-ia64/tlsg.sd: New test.
533 * ld-ia64/tlslib.s: New test.
534 * ld-ia64/tlspic1.s: New test.
535 * ld-ia64/tlspic2.s: New test.
536 * ld-ia64/tlspic.dd: New test.
537 * ld-ia64/tlspic.rd: New test.
538 * ld-ia64/tlspic.sd: New test.
539 * ld-ia64/tlspic.td: New test.
540
541 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
542
543 * ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test.
544
545 2003-01-02 Richard Sandiford <rsandifo@redhat.com>
546
547 * ld-mips-elf/jr.s: New file.
548 * ld-mips-elf/mips-elf-flags.exp: New test.
549
550 2002-12-18 Ralf Habacker <ralf.habacker@freenet.de>
551
552 * ld-auto-import: New directory.
553 * ld-auto-import/auto-import.exp: Test the auto importing direct
554 from a dll functionality.
555 * ld-auto-import/client.c: Source code for test.
556 * ld-auto-import/dll.c: Likewise.
557
558 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
559
560 * ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test.
561 * ld-mips-elf/branch-misc-2.d: Removed.
562
563 2002-12-10 Jason Thorpe <thorpej@wasabisystems.com>
564
565 * lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.
566
567 2002-12-03 Nick Clifton <nickc@redhat.com>
568
569 * ld-powerpc/powerpc.exp (ppcelftests): Add apuinfo merging
570 test.
571 * ld-powerpc/apuinfo1.s: New assembler source file.
572 * ld-powerpc/apuinfo2.s: New assembler source file.
573 * ld-powerpc/apuinfo.rd: New expected output file.
574
575 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
576
577 Fix PR savannah/1417:
578 * ld-m68hc11/bug-1417.s: New test.
579 * ld-m68hc11/bug-1417.d: Likewise.
580
581 2002-11-28 Jakub Jelinek <jakub@redhat.com>
582
583 * ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols.
584
585 2002-11-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
586
587 * ld-sh/refdbg-0-dso.d: New test.
588 * ld-sh/refdbg-1.d: Likewise.
589 * ld-sh/refdbg.s: Likewise.
590 * ld-sh/refdbglib.s: Likewise.
591
592 2002-11-22 Alan Modra <amodra@bigpond.net.au>
593
594 * ld-elf/elf.exp: Remove sec64k test.
595 * ld-elf/sec64k.exp: Reinstate.
596
597 2002-11-21 Alan Modra <amodra@bigpond.net.au>
598
599 * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop.
600 * ld-elf/merge.s: New file.
601 * ld-elf/merge.d: New file.
602 * ld-elf/merge.ld: New file.
603
604 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
605
606 * ld-scripts/script.exp: Setup for tic4x testcase
607
608 2002-11-15 Nick Clifton <nickc@redhat.com>
609
610 * ld-h8300: New directory.
611 * ld-h8300/h8300.exp: New expect script. Only run tests for h8300
612 targets.
613 * ld-h8300/relax.s: New assembler source file.
614 * ld-h8300/relax.d: New expected output file.
615
616 2002-11-11 Hans-Peter Nilsson <hp@axis.com>
617
618 * ld-elf/sec64k.exp: New test.
619 * lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/"
620 to a source file starting with "/".
621
622 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
623
624 * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d,
625 ld-mmix/local7.d: Tweak for change in readelf output.
626
627 2002-11-09 Alan Modra <amodra@bigpond.net.au>
628
629 * ld-elfvsb/define.s: Avoid use of @ in .type directive.
630
631 2002-11-07 Hans-Peter Nilsson <hp@axis.com>
632
633 * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d,
634 ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests.
635
636 2002-11-07 Nick Clifton <nickc@redhat.com>
637
638 * ld-fastcall/fastcall.exp: Only run tests for PE type x86
639 targets.
640
641 2002-11-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
642
643 * ld-sh/rd-sh.exp: Set asflags_save always.
644
645 2002-11-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
646
647 * ld-fastcall: New directory for testing fastcall support.
648 * ld-fastcall/export.s: New file for testing fastcall symbol
649 handling.
650 * ld-fastcall/import.s: Likewise.
651 * ld-fastcall/fastcall.exp: Likewise.
652
653 2002-11-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
654
655 * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
656 * ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
657 * ld-sh/tlspic-1.d: Likewise.
658 * ld-sh/tlspic-2.d: Likewise.
659 * ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
660 defined by the linker scripts.
661
662 2002-10-14 Stephane Carrez <stcarrez@nerim.fr>
663
664 * ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12.
665 * ld-m68hc11/adj-jump.d: New test for linker relaxation.
666 * ld-m68hc11/adj-jump.s: Likewise.
667 * ld-m68hc11/adj-brset.s: Likewise.
668 * ld-m68hc11/adj-brset.d: Likewise.
669 * ld-m68hc11/relax-direct.s: Likewise.
670 * ld-m68hc11/relax-direct.d: Likewise.
671 * ld-m68hc11/relax-group.s: Likewise.
672 * ld-m68hc11/relax-group.d: Likewise.
673 * ld-m68hc11/bug-1403.d: Likewise.
674 * ld-m68hc11/bug-1403.s: Likewise.
675
676 2002-10-14 Stephen Clarke <stephen.clarke@superh.com>
677 * ld-sh/ld-r-1.d: Disable for sh64*-*-linux*.
678 * ld-sh/sh64/sh64.exp: Likewise.
679 * ld-sh/sh.exp: Disable relaxing tests for sh64*-*-linux*.
680 * ld-sh/sh64/abi32.sd: Adjust expected output to include
681 sh64*-*-linux* formats too.
682 * ld-sh/sh64/relax.exp: Add emul32 variable to hold target
683 emulation, and set it appropriately for sh*-*-linux*.
684 * ld-sh/sh64/relfail.exp: Add variables to hold target
685 emulation, output format, start symbol, and whether target
686 supports 64-bit ABI. Set appropriately for sh*-*-linux*.
687
688 2002-10-12 H.J. Lu (hjl@gnu.org)
689
690 * ld-discard/extern.d: Remove $srcdir/$subdir/.
691 * ld-discard/start.d: Likewise.
692 * ld-discard/static.d: Likewise.
693 * ld-linkonce/zeroehl32.d: Likewise.
694 * ld-selective/keepdot.d: Likewise.
695 * ld-selective/keepdot0.d: Likewise.
696
697 2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
698
699 * ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output
700 of linker to the file tmpdir/*-dso.so.
701 * ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New.
702 * ld-sh/tlsbin-0-dso.d: New.
703 * ld-sh/tlsbin-1.d: New.
704 * ld-sh/tlsbin-2.d: New.
705 * ld-sh/tlsbin-3.d: New.
706 * ld-sh/tlsbin-4.d: New.
707 * ld-sh/tlspic1.s, ld-sh/tlspic2.s: New.
708 * ld-sh/tlspic-1.d: New.
709 * ld-sh/tlspic-2.d: New.
710 * ld-sh/tlspic-3.d: New.
711 * ld-sh/tlspic-4.d: New.
712
713 2002-10-10 Jakub Jelinek <jakub@redhat.com>
714
715 * ld-i386/combreloc.s: New test.
716 * ld-i386/combreloc.d: New test.
717 * ld-i386/i386.exp (i386tests): Add it.
718
719 2002-10-10 Alan Modra <amodra@bigpond.net.au>
720
721 * ld-i386/i386.exp (reloc): Turn off combreloc.
722 * ld-i386/reloc.d: Likewise.
723 * ld-powerpc/powerpc.exp: Likewise.
724 * ld-powerpc/reloc.d: Likewise.
725
726 2002-10-03 H.J. Lu <hjl@gnu.org>
727
728 * ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc
729 3.x.
730
731 2002-10-03 Chris Demetriou <cgd@broadcom.com>
732
733 * ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be
734 more compatible with non-embedded targets.
735 * ld-mips-elf/branch-misc-2.d: Likewise.
736
737 * ld-mips-elf/mips-elf.exp: Clean up some comments about embedded
738 PIC tests.
739 (elf): New variable, to control whether generic ELF tests are run.
740 (embedded_elf): New variable, to control whether ELF tests
741 requiring embedded PIC or embedded relocs are run.
742
743 2002-10-02 Stephen Clarke <stephen.clarke@superh.com>
744
745 * ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map,
746 ld-sh/sh64/gotplt.s: New test.
747
748 2002-10-02 Stephen Clarke <stephen.clarke@superh.com>
749 * ld-sh/sh64/cmpct1.sd : Fix linked file name.
750 * ld-sh/sh64/crange3.dd: Likewise.
751
752 2002-10-01 Jakub Jelinek <jakub@redhat.com>
753
754 * ld-i386/i386.exp: Add tlsindntpoff test.
755 * ld-i386/tlsindntpoff.s: New test.
756 * ld-i386/tlsindntpoff.dd: New test.
757
758 2002-10-01 Jakub Jelinek <jakub@redhat.com>
759
760 * ld-x86-64/tlspic1.s: Change TLSGD sequences.
761 * ld-x86-64/tlsbinpic.s: Likewise.
762 * ld-x86-64/tlspic.dd: Adjust.
763
764 2002-10-01 Jakub Jelinek <jakub@redhat.com>
765
766 * ld-i386/i386.exp: Add tlsg test.
767 * ld-i386/tlsg.s: New test.
768 * ld-i386/tlsg.sd: New test.
769 * ld-i386/tlsbin.dd: Change LD into LD -> LE in comments.
770 * ld-i386/tlsbinpic.s: Likewise.
771 * ld-x86-64/x86-64.exp: Add tlsg test.
772 * ld-x86-64/tlsg.s: New test.
773 * ld-x86-64/tlsg.sd: New test.
774 * ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments.
775 * ld-x86-64/tlsbinpic.s: Likewise.
776
777 2002-09-30 Alan Modra <amodra@bigpond.net.au>
778
779 * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.
780
781 2002-09-30 Alan Modra <amodra@bigpond.net.au>
782
783 * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.
784 * ld-powerpc/powerpc.exp: New.
785
786 * ld-i386/reloc.s, ld-i386/reloc.d: New.
787 * ld-i386/i386.exp: Run new test.
788
789 2002-09-27 Jakub Jelinek <jakub@redhat.com>
790
791 * lib/ld-lib.exp (run_ld_link_tests): Add.
792 * ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff,
793 file_contents): Remove.
794 (sh64tests): Add 6th field to the tests array.
795 * ld-i386/i386.exp (run_ld_link_tests): Remove.
796 * ld-x86-64/x86-64.exp: New.
797 * ld-x86-64/tlsbin.dd: New test.
798 * ld-x86-64/tlsbinpic.s: New test.
799 * ld-x86-64/tlsbin.rd: New test.
800 * ld-x86-64/tlsbin.s: New test.
801 * ld-x86-64/tlsbin.sd: New test.
802 * ld-x86-64/tlsbin.td: New test.
803 * ld-x86-64/tlslib.s: New test.
804 * ld-x86-64/tlspic1.s: New test.
805 * ld-x86-64/tlspic2.s: New test.
806 * ld-x86-64/tlspic.dd: New test.
807 * ld-x86-64/tlspic.rd: New test.
808 * ld-x86-64/tlspic.sd: New test.
809 * ld-x86-64/tlspic.td: New test.
810
811 2002-09-21 Alan Modra <amodra@bigpond.net.au>
812
813 * ld-undefined/undefined.exp: Adjust function test.
814
815 2002-09-20 Alan Modra <amodra@bigpond.net.au>
816
817 * ld-i386/i386.exp: Only run tests on ELF targets.
818
819 2002-09-19 Jakub Jelinek <jakub@redhat.com>
820
821 * ld-i386/i386.exp: New.
822 * ld-i386/tlsbin.dd: New test.
823 * ld-i386/tlsbinpic.s: New test.
824 * ld-i386/tlsbin.rd: New test.
825 * ld-i386/tlsbin.s: New test.
826 * ld-i386/tlsbin.sd: New test.
827 * ld-i386/tlsbin.td: New test.
828 * ld-i386/tlslib.s: New test.
829 * ld-i386/tlsnopic1.s: New test.
830 * ld-i386/tlsnopic2.s: New test.
831 * ld-i386/tlsnopic.dd: New test.
832 * ld-i386/tlsnopic.rd: New test.
833 * ld-i386/tlsnopic.sd: New test.
834 * ld-i386/tlspic1.s: New test.
835 * ld-i386/tlspic2.s: New test.
836 * ld-i386/tlspic.dd: New test.
837 * ld-i386/tlspic.rd: New test.
838 * ld-i386/tlspic.sd: New test.
839 * ld-i386/tlspic.td: New test.
840
841 2002-09-18 Chris Demetriou <cgd@broadcom.com>
842
843 * ld-mips-elf/branch-misc-1.d: New file.
844 * ld-mips-elf/branch-misc-2.d: New file.
845 * ld-mips-elf/mips-elf.exp: Run new tests.
846
847 2002-09-05 Alan Modra <amodra@bigpond.net.au>
848
849 * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym.
850 * ld-sh/sh64/crange3-cmpct.rd: Likewise.
851 * ld-sh/sh64/crange3-media.rd: Likewise.
852 * ld-sh/sh64/crange3.rd: Likewise.
853
854 2002-08-31 Hans-Peter Nilsson <hp@bitrange.com>
855
856 * ld-mmix/bpo-10.d: Tweak for change in symbols handling.
857 * ld-mmix/bpo-11.d: Ditto.
858
859 * ld-mmix/b-nosym.d: Adjust for changed output for absence of
860 symbols.
861
862 * ld-mmix/sec-7m.d: Rename tested section from .debug_info to
863 .di.
864 * ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s,
865 ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto.
866
867 2002-08-28 Alan Modra <amodra@bigpond.net.au>
868
869 * ld-discard/discard.exp: xfail m6812.
870 * ld-scripts/map-address.d: Adjust for extras emitted by pe targets.
871
872 2002-08-27 Alan Modra <amodra@bigpond.net.au>
873
874 * ld-mmix/b-nosym.d: Revert last change.
875
876 2002-08-26 Alan Modra <amodra@bigpond.net.au>
877
878 * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.
879
880 2002-08-23 Stephen Clarke <stephen.clarke@superh.com>
881
882 * ld-sh/sh64/rd-sh64.exp: New framework file.
883 * ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d,
884 ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for
885 correct setting of ISA bit for init and fini entry-points.
886
887 2002-08-16 Stephen Clarke <stephen.clarke@superh.com>
888
889 * ld-sh/sh64/sh64.exp: Add dlsection.
890 * ld-sh/sh64/dlsection-1.s, ld-sh/sh64/dlsection.sd: New.
891
892 2002-08-16 Alan Modra <amodra@bigpond.net.au>
893
894 * ld-discard/discard.exp: xfail targets using generic linker.
895 * ld-discard/extern.d: Allow "data" to be reduced to a section sym.
896
897 2002-08-15 Hans-Peter Nilsson <hp@axis.com>
898
899 * ld-cris/libdso-4.d, ld-cris/undef1.d: New test.
900
901 2002-08-13 H.J. Lu <hjl@gnu.org>
902
903 * ld-elfvers/vers.exp: Add vers23c and vers23d.
904
905 * ld-elfvers/vers23c.ver: New.
906 * ld-elfvers/vers23d.dsym: New.
907
908 2002-08-12 H.J. Lu <hjl@gnu.org>
909
910 * ld-elfvers/vers.exp: Add vers23.
911
912 * ld-elfvers/vers23.c: New.
913 * ld-elfvers/vers23.dsym: New.
914 * ld-elfvers/vers23.ver: New.
915 * ld-elfvers/vers23a.c: New.
916 * ld-elfvers/vers23a.dsym: New.
917 * ld-elfvers/vers23a.map: New.
918 * ld-elfvers/vers23a.sym: New.
919 * ld-elfvers/vers23a.ver: New.
920 * ld-elfvers/vers23b.c: New.
921 * ld-elfvers/vers23b.dsym: New.
922 * ld-elfvers/vers23b.map: New.
923 * ld-elfvers/vers23b.ver: New.
924
925 2002-08-12 Stephen Clarke <stephen.clarke@superh.com>
926
927 * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
928 listing.
929 * ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
930 ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise.
931 * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
932 is no longer set to object.
933 * ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd,
934 ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd,
935 ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd,
936 ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd,
937 ld-sh/sh64/shdl64.xd: Likewise.
938
939 2002-08-10 Alan Modra <amodra@bigpond.net.au>
940
941 * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
942 * ld-linkonce/linkonce.exp: Likewise.
943 * ld-selective/sel-dump.exp: Likewise.
944 * ld-selective/selective.exp: Don't run on aout or bout.
945
946 2002-08-08 H.J. Lu <hjl@gnu.org>
947
948 * ld-elfvers/vers.exp: Add vers22.
949
950 * ld-elfvers/vers22.c: New.
951 * ld-elfvers/vers22.dsym: New.
952 * ld-elfvers/vers22.map: New.
953 * ld-elfvers/vers22.ver: New.
954 * ld-elfvers/vers22a.c: New.
955 * ld-elfvers/vers22a.dsym: New.
956 * ld-elfvers/vers22a.sym: New.
957 * ld-elfvers/vers22a.ver: New.
958 * ld-elfvers/vers22b.c: New.
959 * ld-elfvers/vers22b.dsym: New.
960 * ld-elfvers/vers22b.ver: New.
961
962 2002-08-07 H.J. Lu <hjl@gnu.org>
963
964 * ld-elfvers/vers.exp: Add --no-undefined-version.
965
966 * ld-elfvers/vers1.map: Remove the unused foo1 and foo2.
967 * ld-elfvers/vers8.map: Likewise.
968 * ld-elfvers/vers18.map: Likewise.
969
970 2002-07-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
971
972 * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
973 ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target.
974 * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp,
975 ld-linkonce/linkonce.exp, ld-shared/shared.exp,
976 ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux*
977 targets.
978 * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s,
979 ld-discard/static.s: Add whitespace before assembler directives.
980
981 2002-07-29 Chris Demetriou <cgd@broadcom.com>
982
983 * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.
984
985 2002-07-26 Richard Sandiford <rsandifo@redhat.com>
986
987 * ld-mips-elf/mips16-1.d,
988 * ld-mips-elf/mips16-1[ab].s: New test.
989 * ld-mips-elf/mips-elf.exp: Run it.
990
991 2002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
992
993 * ld-mmix/sec-1.d: Adjust for changes in padding.
994 * ld-mmix/sec-3.d: Ditto.
995
996 2002-07-15 H.J. Lu <hjl@gnu.org>
997
998 * ld-elfvers/vers.exp: Add vers21.
999
1000 * ld-elfvers/vers21.c: New.
1001 * ld-elfvers/vers21.dsym: New.
1002 * ld-elfvers/vers21.map: New.
1003 * ld-elfvers/vers21.sym: New.
1004 * ld-elfvers/vers21.ver: New.
1005
1006 2002-07-12 Hans-Peter Nilsson <hp@axis.com>
1007
1008 * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
1009 ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d,
1010 ld-cris/expdref1.s: New tests.
1011
1012 2002-07-09 Richard Sandiford <rsandifo@redhat.com>
1013
1014 * ld-scripts/dynamic-sections*: New test.
1015
1016 2002-07-09 Hans-Peter Nilsson <hp@axis.com>
1017
1018 * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
1019 ld-cris/noglob1.d: New tests.
1020
1021 * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.
1022
1023 2002-07-03 Alan Modra <amodra@bigpond.net.au>
1024
1025 * lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure
1026 consistent sorting.
1027 (run_dump_test): Likewise for objdump/nm/objcopy/readelf.
1028 * ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise.
1029
1030 2002-06-29 Hans-Peter Nilsson <hp@bitrange.com>
1031
1032 * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
1033 ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.
1034
1035 2002-06-18 Chris Demetriou <cgd@broadcom.com>
1036
1037 * ld-mips-elf/empic2-ref.s: Add a missing .end, apparently
1038 turned up by recent assembler changes.
1039
1040 2002-06-17 Tom Rix <trix@redhat.com>
1041
1042 * ld-d10v/d10v.exp: New driver for d10v.
1043 * ld-d10v/default_layout.d : New test.
1044 * ld-d10v/regression-001.lt: New test for a linker regression.
1045 * ld-d10v/linktest-002.lt: New test for run_link_test.
1046 * ld-d10v/reloc-001.d - reloc-016.d: New tests.
1047
1048 2002-06-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
1049
1050 * ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to
1051 script.
1052
1053 2002-06-11 Andreas Jaeger <aj@suse.de>
1054
1055 * ld-undefined/undefined.exp: Add s390x to dwarf2 xfails.
1056
1057 2002-06-10 Richard Sandiford <rsandifo@redhat.com>
1058
1059 * ld-mips-elf/region1a.s,
1060 * ld-mips-elf/region1b.s,
1061 * ld-mips-elf/region1.t,
1062 * ld-mips-elf/region1.d: New test.
1063 * ld-mips-elf/mips-elf.exp: Run it.
1064
1065 2002-06-07 Nick Clifton <nickc@cambridge.redhat.com>
1066
1067 * ld-scripts/phdrs2.s: Use .p2align instead of .align.
1068 Use section names .foo and .bar instead of .text and .data.
1069 * ld-scripts/phdrs2.t: Refer to .foo and .bar instead of .text
1070 and .data.
1071
1072 2002-06-06 David Heine <dlheine@tensilica.com>
1073
1074 * ld-scripts/phdrs2.exp: New file: Run second phdrs test.
1075 * ld-scripts/phdrs2.s: New file: Dummy assembler source.
1076 * ld-scripts/phdrs2.t: New file: Linker script with an empty
1077 section at the start of a loadable segment.
1078
1079 2005-06-02 H.J. Lu <hjl@gnu.org>
1080
1081 * ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with
1082 -fuse-cxa-atexit.
1083 (__cxa_atexit): Likewise.
1084
1085 2002-05-30 Richard Henderson <rth@redhat.com>
1086
1087 * ld-bootstrap/bootstrap.exp: Test --relax.
1088
1089 2002-05-28 Hans-Peter Nilsson <hp@axis.com>
1090
1091 * ld-cris/libdso-2.d: Tweak for combreloc now default on.
1092
1093 2002-05-07 Richard Sandiford <rsandifo@redhat.com>
1094
1095 * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.
1096 (is_elf_format): New, extracted from...
1097 * ld-scripts/weak.exp: ...here.
1098 * ld-scripts/overlay-size.exp: New test.
1099 * ld-scripts/overlay-size.[tsd],
1100 * ld-scripts/overlay-size-map.d: New files for it.
1101
1102 2002-05-02 Richard Sandiford <rsandifo@redhat.com>
1103
1104 * ld-scripts/map-address.exp: Quote conditions.
1105
1106 2002-04-30 Richard Sandiford <rsandifo@redhat.com>
1107
1108 * ld-scripts/map-address.exp: New test.
1109 * ld-scripts/map-address.[td]: New files for it.
1110
1111 2002-04-19 Richard Henderson <rth@redhat.com>
1112
1113 * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.
1114 * ld-shared/shared.exp: Likewise.
1115 * ld-selective/selective.exp: Disable for alpha.
1116 * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.
1117
1118 2002-04-05 Hans-Peter Nilsson <hp@axis.com>
1119
1120 * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.
1121
1122 2002-03-19 Hans-Peter Nilsson <hp@axis.com>
1123
1124 * ld-cris/ldsym1.d: New test.
1125
1126 * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
1127 longer set to object.
1128 * ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d,
1129 ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d,
1130 ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d,
1131 ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d,
1132 ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d,
1133 ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d,
1134 ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d,
1135 ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d,
1136 ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d,
1137 ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d,
1138 ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d,
1139 ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto.
1140
1141 2002-03-11 Andreas Jaeger <aj@suse.de>
1142
1143 * ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that
1144 places zero initialized data in the bss.
1145 * ld-elfweak/lddsodata.dsym: Likewise.
1146
1147 2002-03-07 Hans-Peter Nilsson <hp@axis.com>
1148
1149 * ld-cris/expdyn1.d: Tweak for change in elf.sc.
1150
1151 2002-02-24 Hans-Peter Nilsson <hp@bitrange.com>
1152
1153 * ld-sh/ld-r-1.d: Adjust to changes in readelf output.
1154 * ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd,
1155 ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto.
1156
1157 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
1158
1159 * ld-elfvsb/sh1.c: Fix typo in last change.
1160
1161 2002-02-17 Daniel Jacobowitz <drow@mvista.com>
1162
1163 * ld-elfvsb/sh1.c: Use #pragma weak.
1164
1165 2002-02-17 Daniel Jacobowitz <drow@mvista.com>
1166
1167 * vers.exp: Do not call diff -q.
1168
1169 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
1170
1171 * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol
1172 output.
1173 * ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s,
1174 ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test.
1175
1176 * ld-mmix/bpo-22.d: New test.
1177
1178 * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
1179 and .bss.
1180
1181 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
1182
1183 * ld-selective/selective.exp: Link against libgcc on
1184 hppa*-*-linux* targets.
1185
1186 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
1187
1188 * ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field.
1189 * ld-sh/sh64/crange-2i.s: Add align to match align in crange-2h.s.
1190 * ld-sh/sh64/crange3-cmpct.rd: Adjust to reflect modifications
1191 in section ordering.
1192 * ld-sh/sh64/crange3-media.rd: Likewise.
1193 * ld-sh/sh64/crange3.rd: Likewise.
1194 * ld-sh/sh64/crange3.dd: Likewise.
1195
1196 * ld-sh/shared-1.d: Fix relocation addend.
1197
1198 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
1199
1200 * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New
1201 tests.
1202
1203 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1204
1205 Contribute sh64-elf.
1206 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
1207 * ld-sh/sh64/crange3-cmpct.rd: Adjust offsets.
1208 * ld-sh/sh64/crange3-media.rd: Likewise.
1209 * ld-sh/sh64/crange3.rd: Likewise.
1210 * ld-sh/sh64/crangerel1.rd: Likewise.
1211 * ld-sh/sh64/crangerel2.rd: Likewise.
1212 * ld-sh/sh64/reldl32.rd: Likewise.
1213 * ld-sh/sh64/reldl64.rd: Likewise.
1214 2002-01-28 Alexandre Oliva <aoliva@redhat.com>
1215 * ld-sh/sh64/abi32.xd: Formatting changes to match the current
1216 output of objdump.
1217 * ld-sh/sh64/cmpct1.xd: Likewise.
1218 * ld-sh/sh64/crange1.rd: Likewise.
1219 * ld-sh/sh64/crange2.rd: Likewise.
1220 * ld-sh/sh64/crange3-cmpct.rd: Likewise.
1221 * ld-sh/sh64/crange3-media.rd: Likewise.
1222 * ld-sh/sh64/crange3.rd: Likewise.
1223 * ld-sh/sh64/crangerel1.rd: Likewise.
1224 * ld-sh/sh64/crangerel2.rd: Likewise.
1225 * ld-sh/sh64/mix1.xd: Likewise.
1226 * ld-sh/sh64/mix2.xd: Likewise.
1227 * ld-sh/sh64/rel32.xd: Likewise.
1228 * ld-sh/sh64/reldl32.rd: Likewise.
1229 * ld-sh/sh64/reldl64.rd: Likewise.
1230 * ld-sh/sh64/sh64.exp: Likewise. Reordered cranges and stack
1231 sessions, to match changes in the linker script.
1232 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
1233 * ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Adjust relocation
1234 info to reflect renumbering of relocation types.
1235 2001-03-14 DJ Delorie <dj@redhat.com>
1236 * ld-sh/sh64/endian.dbd: New file, endian tests.
1237 * ld-sh/sh64/endian.dld: Ditto.
1238 * ld-sh/sh64/endian.ld: Ditto.
1239 * ld-sh/sh64/endian.s: Ditto.
1240 * ld-sh/sh64/endian.sbd: Ditto.
1241 * ld-sh/sh64/endian.sld: Ditto.
1242 * ld-sh/sh64/sh64.exp: Add above tests. Add -L option to ld.
1243 2001-03-12 DJ Delorie <dj@redhat.com>
1244 * ld-sh/sh64/relax.exp: New file, test disabling relaxing.
1245 * ld-sh/sh64/relax1.s: Ditto.
1246 * ld-sh/sh64/relax2.s: Ditto.
1247 * ld-sh/sh64/relax3.s: Ditto.
1248 * ld-sh/sh64/relax4.s: Ditto.
1249 * ld-sh/sh64/relfail.exp: New file, test for bogus relocs.
1250 * ld-sh/sh64/relfail.s: Ditto.
1251 2001-03-12 DJ Delorie <dj@redhat.com>
1252 * ld-sh/sh.exp: This test isn't appropriate for SH64 since it
1253 uses SH32 assembler files.
1254 2001-03-07 DJ Delorie <dj@redhat.com>
1255 * ld-selective/selective.exp: Pass "-e _start" for sh64 to
1256 accomodate expected start symbol in test.
1257 2001-03-06 DJ Delorie <dj@redhat.com>
1258 * ld-scripts/crossref.exp: Pass -mshelf32 to the linker for sh64,
1259 to match what gcc passes to the linker by default.
1260 * ld-selective/selective.exp: Ditto.
1261 * ld-srec/srec.exp: Ditto, plus XFAIL for sh64.
1262 * ld-undefined/undefined.exp: Add XFAIL for sh64 (it's dwarf2).
1263 2001-03-06 DJ Delorie <dj@redhat.com>
1264 * ld-sh/sh64/abi32.xd (stack): Adjust for new default stack layout.
1265 * ld-sh/sh64/abi64.xd (stack): Ditto.
1266 * ld-sh/sh64/cmpct1.xd (stack): Ditto.
1267 * ld-sh/sh64/crange1.rd (stack): Ditto.
1268 * ld-sh/sh64/crange2.rd (stack): Ditto.
1269 * ld-sh/sh64/crange3-cmpct.rd (stack): Ditto.
1270 * ld-sh/sh64/crange3-media.rd (stack): Ditto.
1271 * ld-sh/sh64/crange3.rd (stack): Ditto.
1272 * ld-sh/sh64/mix1.xd (stack): Ditto.
1273 * ld-sh/sh64/mix2.xd (stack): Ditto.
1274 * ld-sh/sh64/shdl32.xd (stack): Ditto.
1275 * ld-sh/sh64/shdl64.xd (stack): Ditto.
1276 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
1277 * ld-sh/sh64/mix1.xd: Add SORT_ENTRIES for .cranges section.
1278 * ld-sh/sh64/mix2.xd: Ditto.
1279 2001-01-08 Hans-Peter Nilsson <hpn@cygnus.com>
1280 * ld-sh/sh64/abi32.xd: Adjust for bit 0 set on an entry address
1281 being SHmedia.
1282 * ld-sh/sh64/shdl64.xd: Ditto.
1283 * ld-sh/sh64/shdl32.xd: Ditto.
1284 * ld-sh/sh64/mix2.xd: Ditto.
1285 * ld-sh/sh64/crange3-media.rd: Ditto.
1286 * ld-sh/sh64/abi64.xd: Ditto.
1287 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1288 * ld-sh/sh64/crange-2a.s (diversion2): New global symbol.
1289 * ld-sh/sh64/crange1.rd: Adjust to presence of new symbol.
1290 Adjust section type for .cranges; expect sorted contents.
1291 * ld-sh/sh64/crange2.rd: Ditto.
1292 * ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: Ditto.
1293 * ld-sh/sh64/crangerel1.rd: Adjust to presence of new symbol.
1294 * ld-sh/sh64/crangerel2.rd: Ditto.
1295 * ld-sh/sh64/mix1.xd: Adjust to DEBUGGING being set for .cranges.
1296 * ld-sh/sh64/mix2.xd: Ditto.
1297 * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd: New
1298 tests.
1299 * ld-sh/sh64/sh64.exp: Tweak test message. Run new tests.
1300 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
1301 * ld-sh/sh64/shmix-1.s (start2): Add a NOP to provide a valid
1302 target for (unexpanded) PTB. Add an .align 2 to SHmedia code to
1303 keep properly aligned.
1304 * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd: Adjust accordingly.
1305 * ld-sh/sh64/mix1-noexp.sd, ld-sh/sh64/mix2-noexp.sd,
1306 ld-sh/sh64/abixx-noexp.sd: New tests for GAS -no-expand and
1307 R_SH_PT_16 relocation.
1308 * ld-sh/sh64/sh64.exp: Run new tests.
1309 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1310 * ld-sh/sh64/crange-2f.s, ld-sh/sh64/crange-2g.s,
1311 ld-sh/sh64/crange-2h.s, ld-sh/sh64/crange-2i.s,
1312 ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: New tests.
1313 * ld-sh/sh64/sh64.exp: Run new tests.
1314 * ld-sh/sh64/crange1.rd: Correct section flags.
1315 * ld-sh/sh64/crange2.rd: Ditto.
1316 * ld-sh/sh64/crangerel1.rd: Ditto.
1317 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1318 * ld-sh/sh64/crange-1.s, ld-sh/sh64/crange-2a.s,
1319 ld-sh/sh64/crange-2b.s, ld-sh/sh64/crange-2c.s,
1320 ld-sh/sh64/crange-2d.s, ld-sh/sh64/crange-2e.s,
1321 ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
1322 ld-sh/sh64/crangerel1.rd, ld-sh/sh64/crangerel2.rd: New tests for
1323 handling .cranges section.
1324 * ld-sh/sh64/sh64.exp: Run new tests.
1325 * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd,
1326 ld-sh/sh64/mix2.xd: Adjust for .cranges section.
1327 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1328 * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.sd,
1329 ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.sd,
1330 ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd,
1331 ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Adjust to .bss and
1332 .data individually 8-byte aligned.
1333 2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
1334 * ld-sh/sh64/rel-1.s, ld-sh/sh64/rel-2.s, ld-sh/sh64/rel32.xd,
1335 ld-sh/sh64/rel64.xd, ld-sh/sh64/reldl-1.s, ld-sh/sh64/reldl-2.s,
1336 ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: New tests.
1337 * ld-sh/sh64/sh64.exp: Make it possible to use readelf as
1338 inspection tool. Run new tests.
1339 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
1340 * ld-sh/sh64/abi64.sd, ld-sh/sh64/abi32.sd, ld-sh/sh64/mix1.sd,
1341 ld-sh/sh64/mix2.sd: Correct offsets in PT/PTA/PTB expansions.
1342 * ld-sh/sh64/shdl-1.s, ld-sh/sh64/shdl-2.s, ld-sh/sh64/shdl64.sd,
1343 ld-sh/sh64/shdl64.xd, ld-sh/sh64/shdl32.xd: New tests.
1344 * ld-sh/sh64/sh64.exp: Run new tests.
1345 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
1346 * ld-sh/sh64/cmpct1.sd, ld-sh/sh64/cmpct1.xd,
1347 ld-sh/sh64/shcmp-1.s: New test.
1348 * ld-sh/sh64/sh64.exp: Add new test to sh64tests. Reformat.
1349 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1350 * ld-sh/sh64/sh64.exp: Use linker option -mshelf64 for 64-bit ABI
1351 test.
1352 * ld-sh/sh64/abi64.xd: Tweak for 64-bit ELF.
1353 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1354 * ld-sh/sh64/sh64.exp (sh64tests): Use linker option -mshelf32 for
1355 tests.
1356 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
1357 * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi64.sd: Correct MOVI
1358 registers.
1359 * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/shmix-1.s:
1360 New test.
1361 * ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shmix-2.s,
1362 ld-sh/sh64/shmix-3.s: New test.
1363 * ld-sh/sh64/sh64.exp: Add new tests to sh64tests.
1364 2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
1365 * ld-sh/sh64: New testsuite.
1366
1367 2002-02-07 Hans-Peter Nilsson <hp@axis.com>
1368
1369 * ld-selective/keepdot.s: Remove section specifier.
1370
1371 2002-02-05 Hans-Peter Nilsson <hp@axis.com>
1372
1373 * ld-selective/keepdot.d, ld-selective/keepdot.ld,
1374 ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests.
1375 * ld-selective/sel-dump.exp: New, driver for run_dump_test:s.
1376
1377 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1378
1379 * ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d,
1380 ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d,
1381 ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests
1382 for on-demand global register allocation.
1383
1384 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
1385
1386 * ld-sh/shared-1.d: Fix incorrect offsets.
1387
1388 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1389
1390 * ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d,
1391 ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d,
1392 ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d,
1393 ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s,
1394 ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s,
1395 ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d,
1396 ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d,
1397 ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d,
1398 ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d,
1399 ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d,
1400 ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d,
1401 ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s,
1402 ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d,
1403 ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests.
1404
1405 2002-01-31 Hans-Peter Nilsson <hp@axis.com>
1406
1407 * ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s,
1408 ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests.
1409 * ld-cris/cris.exp: Split run_dump_tests in two parts, executing
1410 tests named *dso-*.d first and copying their tmpdir/dump to files
1411 named as the .d-file.
1412
1413 2002-01-31 Alan Modra <amodra@bigpond.net.au>
1414
1415 * ld-scripts/crossref.exp: Allow foo to have a leading dot.
1416 * ld-scripts/cross1.t: Add .opd.
1417 * ld-undefined/undefined.exp: Allow leading dot on sym names.
1418 * lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms.
1419
1420 2002-01-29 Chris Demetriou <cgd@broadcom.com>
1421
1422 * ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs.
1423 * ld-mips-elf/emrelocs-el.d: Likewise.
1424 * ld-mips-elf/emrelocs1.s: Likewise.
1425 * ld-mips-elf/emrelocs2.s: Likewise.
1426 * ld-mips-elf/emrelocs.ld: Likewise.
1427 * ld-mips-elf/mips-elf.exp: Add the above to the list of tests.
1428
1429 2002-01-21 Hans-Peter Nilsson <hp@axis.com>
1430
1431 * ld-cris: New testsuite directory.
1432
1433 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1434
1435 * ld-sh/sh.exp: Copy start.s file into test directory.
1436
1437 2002-01-14 Nick Clifton <nickc@cambridge.redhat.com>
1438
1439 * ld-selective/selective.exp: For ARM targets, link with libgcc.a.
1440
1441 2002-01-02 Chris Demetriou <cgd@broadcom.com>
1442
1443 * ld-mips-elf/empic1-ln.d: New file to test basic linking of
1444 R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations.
1445 * ld-mips-elf/empic1-lp.d: Likewise.
1446 * ld-mips-elf/empic1-mn.d: Likewise.
1447 * ld-mips-elf/empic1-mp.d: Likewise.
1448 * ld-mips-elf/empic1-sn.d: Likewise.
1449 * ld-mips-elf/empic1-sp.d: Likewise.
1450 * ld-mips-elf/empic1-ref.s: Likewise.
1451 * ld-mips-elf/empic1-space.s: Likewise.
1452 * ld-mips-elf/empic1-tgt.s: Likewise.
1453 * ld-mips-elf/empic2-fwd-0.d: New file to test
1454 R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge
1455 cases.
1456 * ld-mips-elf/empic2-fwd-1.d: Likewise.
1457 * ld-mips-elf/empic2-rev-0.d: Likewise.
1458 * ld-mips-elf/empic2-rev-1.d: Likewise.
1459 * ld-mips-elf/empic2-ref.s: Likewise.
1460 * ld-mips-elf/empic2-space.s: Likewise.
1461 * ld-mips-elf/empic2-fwd-tgt.s: Likewise.
1462 * ld-mips-elf/empic2-rev-tgt.s: Likewise.
1463 * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF
1464 tests (including those above).
1465
1466 2001-11-30 H.J. Lu <hjl@gnu.org>
1467
1468 * ld-elfvers/vers.exp (build_vers_lib): Preserve the library
1469 order.
1470
1471 2001-11-29 H.J. Lu <hjl@gnu.org>
1472
1473 * ld-elfvers/vers.exp (build_vers_lib): Support linking against
1474 more than one libraries.
1475 Add "vers20a" and "vers20" tests for common symbols.
1476
1477 * ld-elfvers/vers20.c: New.
1478 * ld-elfvers/vers20.dsym: New.
1479 * ld-elfvers/vers20.map: New.
1480 * ld-elfvers/vers20.ver: New.
1481 * ld-elfvers/vers20a.ver: New.
1482
1483 2001-11-19 H.J. Lu <hjl@gnu.org>
1484
1485 * ld-elfvsb/define.s: Mark all global lables as object.
1486
1487 * ld-elfvsb/hidden0.d: Match large section number.
1488 * ld-elfvsb/hidden1.d: Likewise.
1489 * ld-elfvsb/internal0.d: Likewise.
1490 * ld-elfvsb/internal1.d: Likewise.
1491 * ld-elfvsb/protected0.d: Likewise.
1492 * ld-elfvsb/protected1.d: Likewise.
1493
1494 * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT.
1495 * ld-elfvsb/internal0.d: Likewise.
1496 * ld-elfvsb/protected0.d: Likewise.
1497
1498 2001-11-15 H.J. Lu <hjl@gnu.org>
1499
1500 * ld-sh/ld-r-1.d: Updated.
1501
1502 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
1503
1504 * ld-bootstrap/bootstrap.exp: Only scan tail of executable for
1505 PE targets.
1506
1507 2001-11-12 Donn Terry <donnte@microsoft.com>
1508
1509 * ld-bootstrap/bootstrap.exp: Only compare the tail end of the two
1510 binary files produced in order to avoid date stamp present in PE
1511 binaries.
1512
1513 2001-11-11 Hans-Peter Nilsson <hp@bitrange.com>
1514
1515 * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit.
1516
1517 2001-11-09 H.J. Lu <hjl@gnu.org>
1518
1519 * ld-discard/discard.exp: New. Test ld discard.
1520 * ld-discard/discard.ld: Likewise.
1521 * ld-discard/exit.s: Likewise.
1522 * ld-discard/extern.d: Likewise.
1523 * ld-discard/extern.s: Likewise.
1524 * ld-discard/start.d: Likewise.
1525 * ld-discard/start.s: Likewise.
1526 * ld-discard/static.d: Likewise.
1527 * ld-discard/static.s: Likewise.
1528
1529 2001-11-02 H.J. Lu <hjl@gnu.org>
1530
1531 * ld-elfvsb/elfvsb.exp: Add the "ld -r" test.
1532
1533 * ld-elfvsb/hidden0.d: New.
1534 * ld-elfvsb/hidden1.d: New.
1535 * ld-elfvsb/internal0.d: New.
1536 * ld-elfvsb/internal1.d: New.
1537 * ld-elfvsb/protected0.d: New.
1538 * ld-elfvsb/protected1.d: New.
1539 * ld-elfvsb/undef.s: New.
1540 * ld-elfvsb/undef.s: New.
1541
1542 2001-11-02 NIIBE Yutaka <gniibe@m17n.org>
1543
1544 * ld-sh/sh.exp: Have its own start.s for linux.
1545
1546 2001-10-31 Hans-Peter Nilsson <hp@bitrange.com>
1547
1548 * ld-mmix/locdo-1.d: Prune character dump part.
1549 * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
1550 ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d,
1551 ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d,
1552 ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s,
1553 ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d,
1554 ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s,
1555 ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove
1556 unnecessary empty lines.
1557
1558 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
1559
1560 * ld-mmix: New testsuite directory.
1561
1562 2001-10-14 Hans-Peter Nilsson <hp@bitrange.com>
1563
1564 * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on
1565 sh*-*-elf.
1566
1567 * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.
1568
1569 * ld-sh/rd-sh.exp: New framework file.
1570 * ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d,
1571 ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New
1572 test files.
1573
1574 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
1575
1576 * ld-linkonce/linkonce.exp: New file.
1577 * ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld,
1578 ld-linkonce/zeroehl32.d: New test.
1579
1580 2001-09-25 H.J. Lu <hjl@gnu.org>
1581
1582 * ld-elfweak/dso.dsym: Updated for alpha.
1583 * ld-elfweak/dsodata.dsym: Likewise.
1584 * ld-elfweak/strong.sym: Likewise.
1585 * ld-elfweak/strongcomm.sym: Likewise.
1586 * ld-elfweak/strongdata.sym: Likewise.
1587
1588 2001-09-15 Hans-Peter Nilsson <hp@bitrange.com>
1589
1590 * lib/ld-lib.exp (run_dump_test): Handle new option
1591 "objcopy_linked_file". Return after failing, if errors were
1592 expected but none were found.
1593 (slurp_options): Support underscores in option names.
1594
1595 2001-09-14 H.J. Lu <hjl@gnu.org>
1596
1597 * ld-elfweak/bar.c: Updated.
1598 * ld-elfweak/bar1a.c: Likewise.
1599 * ld-elfweak/main.c: Likewise.
1600 * ld-elfweak/main1.c: Likewise.
1601 * ld-elfweak/elfweak.exp: Likewise.
1602 * ld-elfweak/weakdata.dsym: Updated.
1603
1604 2001-09-11 H.J. Lu <hjl@gnu.org>
1605
1606 * ld-elfweak/elfweak.exp (build_lib): Take a list of object
1607 files.
1608 (build_exec): Likewise.
1609 Add more tests and make some xfail.
1610
1611 * ld-elfweak/dso.dsym: Support symbol versioning.
1612 * ld-elfweak/dsow.dsym: Likewise.
1613
1614 * ld-elfweak/main1.c: New.
1615 * ld-elfweak/bar1a.c: Likewise.
1616 * ld-elfweak/bar1b.c: Likewise.
1617 * ld-elfweak/bar1c.c: Likewise.
1618 * ld-elfweak/foo1a.c: Likewise.
1619 * ld-elfweak/foo1b.c: Likewise.
1620 * ld-elfweak/dsodata.dsym: Likewise.
1621 * ld-elfweak/dsowdata.dsym: Likewise.
1622 * ld-elfweak/weakdata.dsym: Likewise.
1623 * ld-elfweak/strongcomm.sym: Likewise.
1624 * ld-elfweak/strongdata.sym: Likewise.
1625 * ld-elfweak/weakdata.dat: Likewise.
1626 * ld-elfweak/strongdata.dat: Likewise.
1627
1628 2001-09-10 H.J. Lu <hjl@gnu.org>
1629
1630 * ld-elfweak/elfweak.exp: New.
1631 * ld-elfweak/bar.c: Likewise.
1632 * ld-elfweak/foo.c: Likewise.
1633 * ld-elfweak/main.c: Likewise.
1634 * ld-elfweak/dso.dsym: Likewise.
1635 * ld-elfweak/dsow.dsym: Likewise.
1636 * ld-elfweak/strong.sym: Likewise.
1637 * ld-elfweak/strong.dat: Likewise.
1638 * ld-elfweak/weak.dat: Likewise.
1639
1640 2001-08-27 Alan Modra <amodra@bigpond.net.au>
1641 Linus Nordberg <linus@swox.se>
1642
1643 * ld-checks/checks.exp: .lcomm is incompatible with ppc coff.
1644 * ld-scripts/cross1.t: Add .toc section.
1645 * ld-scripts/cross2.t: Likewise.
1646 * ld-scripts/phdrs.exp: powerpc64 is 64 bit.
1647 * ld-srec/srec.exp: xfail powerpc64
1648
1649 2001-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
1650
1651 * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'.
1652 Continue with other tests when there is a compilation error.
1653
1654 2001-08-01 Loren J. Rittle <ljrittle@acm.org>
1655
1656 * ld-cdtest/cdtest-nrv.dat: New file.
1657 * ld-cdtest/cdtest.exp: Do not require any exception support
1658 library. Check results against NRV.
1659
1660 2001-08-01 Loren J. Rittle <ljrittle@acm.org>
1661
1662 * ld-srec/srec.exp: Do not require any exception support
1663 library.
1664
1665 2001-07-27 H.J. Lu <hjl@gnu.org>
1666
1667 * ld-selective/selective.exp: Fix the error in the last change.
1668
1669 2001-07-24 Loren J. Rittle <ljrittle@acm.org>
1670
1671 * ld-selective/selective.exp: Support g++ V3 ABI (along side
1672 the old ABI). Make comparisons against normalized (to
1673 V3-style) demangled nm output.
1674
1675 2001-07-24 Alan Modra <amodra@bigpond.net.au>
1676
1677 * config/default.exp (ld_nm): Add "nmflags" arg.
1678 * lib/ld-lib.exp (default_ld_nm): Likewise.
1679 * ld-empic/empic.exp: Adjust call to ld_nm.
1680 * ld-scripts/defined.exp: Likewise.
1681 * ld-scripts/script.exp: Likewise.
1682 * ld-scripts/sizeof.exp: Likewise.
1683 * ld-selective/selective.exp: Likewise.
1684 * ld-sh/sh.exp: Likewise.
1685
1686 2001-07-12 H.J. Lu <hjl@gnu.org>
1687
1688 * ld-selective/selective.exp: Mark selective1, selective2,
1689 selective4 and selective5 xfail on alpha*-*.
1690
1691 2001-06-13 Hans-Peter Nilsson <hp@bitrange.com>
1692
1693 * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,
1694 OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide
1695 default.
1696
1697 * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add
1698 new options "ld", "source", "xfail", "target", "notarget" and
1699 "error". Support the runtest_file_p "*.exp=testname" feature.
1700 (slurp_options, regexp_diff, file_contents, verbose_eval): Import
1701 from gas testsuite.
1702
1703 2001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
1704
1705 * testsuite/ld-undefined/undefined.exp: Correct setup_xfail rule.
1706
1707 2001-06-06 H.J. Lu <hjl@gnu.org>
1708
1709 * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
1710 on Linux/mips.
1711
1712 * ld-elfvers/vers.exp: Also run on Linux/mips.
1713 * ld-elfvsb/elfvsb.exp: Likewise.
1714 * ld-shared/shared.exp: Likewise.
1715
1716 * ld-selective/selective.exp: Mark selective2, selective3,
1717 selective4 and selective5 xfail on Linux/mips.
1718
1719 * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips.
1720
1721 * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips.
1722
1723 * ld-srec/srec.exp: Add Linux/mips to xfail.
1724
1725 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1726
1727 * ld-undefined/undefined.exp: Add a setup_xfail line for a test
1728 that will always fail on s/390.
1729
1730 2001-05-28 kaz Kojima <kkojima@rr.iij4u.or.jp>
1731
1732 * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for
1733 the text section.
1734
1735 2001-05-25 Alan Modra <amodra@one.net.au>
1736
1737 * ld-elfvers/vers.exp: Replace linuxoldld with linux*oldld and
1738 linuxaout with linux*aout.
1739
1740 2001-05-24 H.J. Lu <hjl@gnu.org>
1741
1742 * ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.
1743
1744 2001-05-18 H.J. Lu <hjl@gnu.org>
1745
1746 * ld-elfvers/vers.exp: Revert the last change.
1747
1748 * ld-elfvers/vers2.ver: Put back "tmpdir/" the version
1749 references.
1750 * ld-elfvers/vers3.ver: Likewise.
1751 * ld-elfvers/vers6.ver: Likewise.
1752 * ld-elfvers/vers18.ver: Likewise.
1753
1754 2001-05-17 H.J. Lu <hjl@gnu.org>
1755
1756 * ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19".
1757
1758 * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version
1759 definition.
1760 * ld-elfvers/vers2.ver: Likewise.
1761 * ld-elfvers/vers3.ver: Likewise.
1762 * ld-elfvers/vers4a.ver: Likewise.
1763 * ld-elfvers/vers6.ver: Likewise.
1764 * ld-elfvers/vers7a.ver: Likewise.
1765 * ld-elfvers/vers8.ver: Likewise.
1766 * ld-elfvers/vers9.ver: Likewise.
1767 * ld-elfvers/vers15.ver: Likewise.
1768 * ld-elfvers/vers16a.ver: Likewise.
1769 * ld-elfvers/vers17.ver: Likewise.
1770 * ld-elfvers/vers18.ver: Likewise.
1771
1772 2001-05-03 H.J. Lu <hjl@gnu.org>
1773
1774 * ld-elfvers/vers19.ver: Expect vers17.so instead of
1775 *tmpdir/vers17.so.
1776
1777 2001-05-01 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de>
1778
1779 * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.
1780
1781 * ld-scripts/phdrs.t: Use startaddress that's greater than any
1782 MAXPAGESIZE used.
1783
1784 2001-04-29 H.J. Lu <hjl@gnu.org>
1785
1786 * ld-shared/symbolic.dat: New.
1787
1788 * ld-shared/shared.exp: Also check -Bsymbolic.
1789
1790 2001-04-28 Andreas Jaeger <aj@suse.de>
1791
1792 * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
1793 special.
1794
1795 2001-04-01 David O'Brien <obrien@FreeBSD.org>
1796 * ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even
1797 though it doesn't use DWARF2 yet (but its output is identical).
1798
1799 2001-04-01 David O'Brien <obrien@FreeBSD.org>
1800
1801 * ld-selective/selective.exp: Use -O with gcc rather than -O2.
1802 This optimization level is buggy on some platforms, and this test
1803 is not intended to test compiler optimizations.
1804
1805 2001-03-06 DJ Delorie <dj@redhat.com>
1806
1807 * ld-scripts/cross2.t: Support any type of text/data sections, not
1808 just the canonical ones.
1809
1810 2001-02-28 Matt Hiller <hiller@redhat.com>
1811
1812 * ld-scripts/crossref.exp: Initialize flags to [big_or_little_endian].
1813 * ld-undefined/undefined.exp: Ditto, and include $flags in ld
1814 invocations.
1815 * lib/ld-lib.exp (big_or_little_endian): Recognize -EB, -eb, -EL
1816 and -el.
1817 (is_endian_output_format): New function.
1818 (default_ld_link): Set flags to [big_or_little_endian] only if ld
1819 is being invoked such that the output format being used is of
1820 known endianness.
1821 (default_ld_simple_link): Ditto.
1822
1823 2001-02-22 Timothy Wall <twall@cygnus.com>
1824
1825 * ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from
1826 AIX-specific test.
1827
1828 2001-02-14 H.J. Lu <hjl@gnu.org>
1829
1830 * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
1831 for -static on ia64.
1832
1833 * ld-checks/checks.exp: Don't run on ia64-*-elf* nor
1834 ia64-*-linux*.
1835
1836 * ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*.
1837
1838 * ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*.
1839 Set up expected failures for ia64-*-linux*.
1840 * ld-shared/shared.exp: Likewise.
1841
1842 2001-02-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1843
1844 * ld-srec/srec.exp (run_srec_test): m6811 code has references
1845 to soft registers, define them with --defsym.
1846 * ld-selective/selective.exp: Likewise.
1847
1848 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
1849
1850 * ld-srec/sr3.cc (__rethrow): New.
1851
1852 2001-01-14 Hans-Peter Nilsson <hp@bitrange.com>
1853
1854 * ld-sh/sh.exp: Use --oformat srec, not -oformat srec.
1855
1856 2001-01-03 Philip Blundell <pb@futuretv.com>
1857
1858 * ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha.
1859 * ld-shared/shared.exp: Likewise.
1860
1861 2001-01-01 Philip Blundell <philb@gnu.org>
1862
1863 * ld-undefined/weak-undef.exp: New test.
1864 * ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting
1865 files for above.
1866
1867 * ld-elfvers/vers.exp: Run test on Linux/ARM.
1868 * ld-elfvsb/elfvsb.exp: Likewise.
1869 * ld-shared/shared.exp: Likewise.
1870
1871 2000-12-31 Nick Clifton <nickc@redhat.com>
1872
1873 * ld-srec/srec.exp: Use --oformat instead of -oformat.
1874
1875 2000-12-09 Nick Clifton <nickc@redhat.com>
1876
1877 * ld-selective/selective.exp: Link in libgcc when target is v850.
1878
1879 * ld-srec/srec.exp: Expect the srec_test to fail for ARM targets
1880 because the -oformat linker command switch cannot be used.
1881
1882 2000-11-06 Alan Modra <alan@linuxcare.com.au>
1883
1884 * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h.
1885 (main): Prune unused args.
1886
1887 2000-10-29 Hans-Peter Nilsson <hp@bitrange.com>
1888
1889 * ld-selective/selective.exp <no CXX>: Fix typo for argument to
1890 "untested".
1891
1892 2000-10-19 H.J. Lu (hjl@gnu.org)
1893
1894 * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
1895 for Linux/PPC.
1896 * ld-shared/shared.exp: Likewise.
1897
1898 2000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
1899
1900 * ld-selective/selective.exp: Rearrange to be table-driven.
1901
1902 2000-10-07 Alan Modra <alan@linuxcare.com.au>
1903
1904 * ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too.
1905
1906 2000-10-02 Alan Modra <alan@linuxcare.com.au>
1907
1908 * ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more.
1909 * ld-scripts/crossref.exp: Ditto.
1910
1911 2000-09-29 Hans-Peter Nilsson <hp@bitrange.com>
1912
1913 * ld-selective/5.cc: New test.
1914 * ld-selective/selective.exp: Run it as xfailed.
1915
1916 * ld-selective/4.cc: Correct spelling of "lose".
1917
1918 2000-09-05 Alan Modra <alan@linuxcare.com.au>
1919
1920 * ld-selective/selective.exp: Remove the xfails for hppa.
1921
1922 2000-08-30 Alexandre Oliva <aoliva@redhat.com>
1923
1924 * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
1925 sh-*-*): With dwarf-2, `undefined function' can't pass.
1926
1927 2000-08-03 H.J. Lu (hjl@gnu.org)
1928
1929 * ld-bootstrap/bootstrap.exp: Add strip.
1930
1931 2000-07-24 H.J. Lu (hjl@gnu.org)
1932
1933 * ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of
1934 the undefined reference.
1935
1936 2000-07-16 H.J. Lu (hjl@gnu.org)
1937
1938 * ld-elfvsb/elfvsb.exp (support_protected): New variable. Check
1939 and set to "yes" if the protected visibility is expected to
1940 pass.
1941 (visibility_run): Set expected to fail for the "protected"
1942 and "protected_undef_def" tests only if $support_protected is
1943 "no".
1944
1945 * ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected
1946 visibility support if defined.
1947
1948 2000-07-15 H.J. Lu (hjl@gnu.org)
1949
1950 * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure
1951 for "protected_undef_def".
1952
1953 * ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when
1954 PROTECTED_WEAK_TEST is defined.
1955 Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is
1956 defined.
1957 Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined.
1958
1959 * ld-elfvsb/sh1.c (visibility): Mark protected only if
1960 PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST
1961 is defined.
1962 (visibility_var): Likewise.
1963
1964 2000-07-10 Alan Modra <alan@linuxcare.com.au>
1965
1966 * ld-srec/srec.exp: xfail hppa.
1967
1968 * ld-scripts/weak.exp: Define $global$ for hppa.
1969
1970 * ld-scripts/crossref.exp: Fix string quoting.
1971
1972 2000-06-05 H.J. Lu (hjl@gnu.org)
1973
1974 * lib/ld-lib.exp (default_ld_link): Redirect the linker output
1975 to link_output and make it global.
1976
1977 * ld-elfvsb/elfvsb.exp (visibility_test): Add "hidden_undef",
1978 "hidden_undef_def", "hidden_weak", "protected_undef",
1979 "protected_undef_def" and "protected_weak".
1980 (visibility_run): Likewise.
1981 * ld-elfvsb/main.c: Likewise.
1982 * ld-elfvsb/sh1.c: Likewise.
1983 * ld-elfvsb/sh2.c: Likewise.
1984
1985 * ld-elfvsb/elfvsb.dat: Updated.
1986
1987 2000-05-21 H.J. Lu (hjl@gnu.org)
1988
1989 * ld-elfvsb/main.c (main_visibility_check): Fix the protected
1990 visibility test.
1991
1992 2000-05-13 H.J. Lu (hjl@gnu.org)
1993
1994 * lib/ld-lib.exp (default_ld_link): Redirect the linker output
1995 to link_output and make it global.
1996
1997 * ld-elfvsb/elf-offset.ld: New. ELF visibility fearture
1998 tests.
1999 * ld-elfvsb/elfvsb.dat: Likewise.
2000 * ld-elfvsb/elfvsb.exp: Likewise.
2001 * ld-elfvsb/main.c: Likewise.
2002 * ld-elfvsb/sh1.c: Likewise.
2003 * ld-elfvsb/sh2.c: Likewise.
2004
2005 Fri Apr 21 15:16:07 2000 Richard Henderson <rth@cygnus.com>
2006
2007 * ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too.
2008
2009 2000-04-12 Alan Modra <alan@linuxcare.com.au>
2010
2011 * ld-selective/3.cc (_start): Add cheat for gcc-2.95.2 failure.
2012
2013 * ld-selective/selective.exp (test4): Test for presence of
2014 foo__1B, not absence. Also check for foo__1A and _start.
2015 White space changes throughout file.
2016
2017 2000-03-13 Nick Clifton <nickc@cygnus.com>
2018
2019 * ld-scripts/phdrs.t: Discard all unexpected sections.
2020
2021 2000-02-27 H.J. Lu (hjl@gnu.org)
2022
2023 * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs.
2024
2025 1999-11-01 Nick Clifton <nickc@cygnus.com>
2026
2027 * ld-selective/selective.exp: Fix test to disable these checks for
2028 PE based targets.
2029
2030 1999-10-29 Catherine Moore <clm@cygnus.com>
2031
2032 * ld-selective/selective.exp: Remove test6.
2033 * ld-selective/5.cc: Delete.
2034
2035 1999-10-28 Scott Bambrough <scottb@netwinder.org>
2036
2037 * ld-srec/srec.exp: Setup expected failures for
2038 srec tests on ARM Linux.
2039
2040 1999-09-17 Alan Modra <alan@spri.levels.unisa.edu.au>
2041
2042 * ld-shared/shared.exp: xfail linux*libc1 shared (non PIC, load
2043 offset) test.
2044
2045 1999-09-12 Ian Lance Taylor <ian@zembu.com>
2046
2047 * ld-scripts/script.exp: Add --image-base 0 for PE targets.
2048
2049 1999-08-17 H.J. Lu <hjl@gnu.org>
2050
2051 * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof.
2052
2053 1999-08-09 Jakub Jelinek <jj@ultra.linux.cz>
2054
2055 * ld-elfvers/vers.exp: Run tests on sparc*-*-linux*.
2056 * ld-shared/shared.exp: Likewise.
2057
2058 1999-07-28 Nick Clifton <nickc@cygnus.com>
2059
2060 * lib/ld-lib.exp (proc big_or_little_endian): New proc.
2061 Determine if a big endian or little endian output format hass
2062 been selected by any of the multilib options, and if so return
2063 a suitable command line option for the linker/assembler.
2064 (proc default_ld_link): Include the result of proc
2065 big_or_little_endian on the command line to the linker.
2066 (proc ld_simple_link): Include the result of proc
2067 big_or_little_endian on the command line to the linker.
2068 (proc default_ld_compile): Append multilib flags to compiler
2069 switches.
2070 (proc default_ld_assemble): Include the result of proc
2071 big_or_little_endian on the command line to the linker.
2072
2073 1999-07-21 H.J. Lu <hjl@gnu.org>
2074
2075 * ld-elfvers/vers1.c: Add missing prototypes and include
2076 <stdio.h> if necessary.
2077 * ld-elfvers/vers15.c: Likewise.
2078 * ld-elfvers/vers19.c: Likewise.
2079 * ld-elfvers/vers2.c: Likewise.
2080 * ld-elfvers/vers3.c: Likewise.
2081 * ld-elfvers/vers4.c: Likewise.
2082 * ld-elfvers/vers6.c: Likewise.
2083 * ld-elfvers/vers7.c: Likewise.
2084 * ld-elfvers/vers9.c: Likewise.
2085 * ld-shared/main.c: Likewise.
2086 * ld-srec/sr3.cc (Foo::Foo): Remove arg name.
2087
2088 Thu Jul 15 18:00:30 1999 Mark P. Mitchell <mark@codesourcery.com>
2089
2090 * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as
2091 with other DWARF2 targets.
2092
2093 1999-07-13 Nick Clifton <nickc@cygnus.com>
2094
2095 * ld-undefined/undefined.exp: Do not expect arm toolchains to fail
2096 the undefined line test.
2097
2098 1999-07-10 Ian Lance Taylor <ian@zembu.com>
2099
2100 * ld-elfvers/vers.exp: Use -rpath in new vers19 test.
2101
2102 1999-07-07 Ian Lance Taylor <ian@zembu.com>
2103
2104 * ld-elfvers/vers.exp: Add new tests vers17 to vers19.
2105 * ld/elfvers/{vers17.*, vers18.*, vers19.*}: New files.
2106
2107 1999-06-13 Ian Lance Taylor <ian@zembu.com>
2108
2109 * ld-checks/asm.s: Use a symbol name for .lcomm.
2110 * ld-checks/checks.exp: Use different names for the two tests.
2111 Don't add extra text when invoking fail.
2112
2113 1999-06-12 Ian Lance Taylor <ian@zembu.com>
2114
2115 * ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*"
2116 to "*-*-linux*aout*".
2117 * ld-scripts/weak.exp: Likewise.
2118 * ld-shared/shared.exp: Likewise. Simplify condition a bit.
2119
2120 Wed Jun 9 12:02:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2121
2122 * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
2123 * ld-shared/sh1.c: Fix typo.
2124
2125 1999-06-04 H.J. Lu <hjl@gnu.org>
2126
2127 * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
2128 necessary.
2129
2130 1999-05-17 Nick Clifton <nickc@cygnus.com>
2131
2132 * ld-undefined/undefined.exp: Add xfail for mcore-elf.
2133
2134 1999-05-11 DJ Delorie <dj@cygnus.com>
2135
2136 * ld-srec/srec.exp: Do not run tests for PE based ports.
2137
2138 1999-03-05 Nick Clifton <nickc@cygnus.com>
2139
2140 * ld-selective/selective.exp: Do not run tests for COFF or PE
2141 based ports.
2142
2143 1999-02-17 Nick Clifton <nickc@cygnus.com>
2144
2145 * ld-undefined/undefined.exp: Add expected failures for StrongARM
2146 targets.
2147
2148 * ld-srec/srec.exp: Add expected failures for StrongARM targets.
2149
2150 * ld-selective/selective.exp: Add expected failure for ARM-COFF
2151 targets.
2152
2153 1999-02-16 Nick Clifton <nickc@cygnus.com>
2154
2155 * ld-checks/asm.s: Use .long instead of .word.
2156 Replace custom section names with .text, .data and .bss.
2157 * ld-checks/script: Replace custom section names with .text, .data
2158 and .bss.
2159 * ld-checks/checks.exp: Replace custom section names with .text,
2160 .data and .bss.
2161
2162 1999-02-11 Nick Clifton <nickc@cygnus.com>
2163
2164 * ld-checks: New directory: Tests for the linker's
2165 --check-sections option.
2166 * ld-checks/checks.exp: New file.
2167 * ld-checks/script: Bogus linker script.
2168 * ld-checks/asm.s: Simple test assembler file.
2169
2170 Tue Feb 2 19:15:02 1999 Catherine Moore <clm@cygnus.com>
2171
2172 * ld-selective/selective.exp: Disable test for unsupported
2173 targets. Change tests to check for absence of symbols instead
2174 of address zero.
2175
2176 Mon Jan 18 03:44:52 1999 Ian Lance Taylor <ian@cygnus.com>
2177
2178 * config/default.exp (get_link_files): Quote target_triplet and CC
2179 when invoking shell.
2180 (get_target_emul): Likewise.
2181
2182 1999-01-03 Ken Raeburn <raeburn@cygnus.com>
2183
2184 * config/default.exp (get_link_files, get_target_emul): New procs;
2185 run shell commands to extract information from configure.host and
2186 configure.tgt in the source tree.
2187 (top level): Use them to get information needed to run tests, if
2188 not otherwise provided.
2189
2190 * ld-shared/elf-offset.ld: New file. Builds a shared library, but
2191 gives non-zero addresses for memory region.
2192 * ld-shared/shared.exp: Run the non-PIC non-AIX test again using
2193 the new linker script.
2194
2195 Tue Dec 8 22:56:05 1998 Geoff Keating <geoffk@ozemail.com.au>
2196
2197 * ld-srec/srec.exp: Delete xfails for PPC Linux targets,
2198 newer glibc lets link succeed.
2199
2200 Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>
2201
2202 * ld-elfvers/vers1.c: Add missing return types and values.
2203 * ld-elfvers/vers2.c: Likewise.
2204 * ld-elfvers/vers3.c: Likewise.
2205 * ld-elfvers/vers4.c: Likewise.
2206 * ld-elfvers/vers5.c: Likewise.
2207 * ld-elfvers/vers6.c: Likewise.
2208 * ld-elfvers/vers7.c: Likewise.
2209 * ld-elfvers/vers9.c: Likewise.
2210 * ld-elfvers/vers15.c: Likewise.
2211
2212 Fri Oct 23 16:28:29 1998 Catherine Moore <clm@cygnus.com>
2213
2214 * ld-selective: New directory with new files to test
2215 selective linking.
2216
2217 * lib/ld-lib.exp (ld_nm): Strip leading underscore from $name.
2218
2219 Sun Oct 4 22:17:05 1998 Ian Lance Taylor <ian@cygnus.com>
2220
2221 * ld-elfvers/vers16.dsym: Work correctly on a system without
2222 versioned system libraries.
2223
2224 Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
2225
2226 * ld-elfvers/vers.exp: Run tests on alpha-linux.
2227 * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
2228 Alpha's use of st_other.
2229
2230 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2231
2232 * ld-elfvers/vers.exp (vers16, vers16a): New tests.
2233 * ld-elfvers/{vers16.*, vers16a.*}: New files.
2234
2235 Thu Sep 17 17:18:19 1998 Nick Clifton <nickc@cygnus.com>
2236
2237 * ld-undefined/undefined.exp: Make undefined line test be an xfail
2238 for arm/thunb elf toolchains.
2239
2240 Wed Sep 9 14:10:15 1998 Nick Clifton <nickc@cygnus.com>
2241
2242 * ld-undefined/undefined.exp: change test for elf/dwarf2 targets.
2243
2244 * ld-srec/srec.exp: Arm-elf now passes this test.
2245
2246 Wed Aug 19 11:59:19 1998 Nick Clifton <nickc@cygnus.com>
2247
2248 * ld-srec/srec.exp: Add arm/thumb-elf expected failures.
2249
2250 Thu Aug 13 12:41:58 1998 Ian Lance Taylor <ian@cygnus.com>
2251
2252 * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap
2253 test if we don't have a static libbfd.a.
2254
2255 Wed Aug 12 15:19:35 1998 Ian Lance Taylor <ian@cygnus.com>
2256
2257 Based on patch from H.J. Lu <hjl@gnu.org>:
2258 * ld-srec/srec.exp: Add xfails for Alpha ELF targets.
2259
2260 Mon Aug 10 15:42:20 1998 Richard Henderson <rth@cygnus.com>
2261
2262 * ld-scripts/weak.t (.text, .data): Focus data to be used.
2263 (/DISCARD/): All the rest.
2264 * ld-scripts/weak1.s, ld-scripts/weak2.s: Put stuff in .data.
2265
2266 Fri Jul 24 18:37:17 1998 Ian Lance Taylor <ian@cygnus.com>
2267
2268 * config/default.exp: Create tmpdir/gas subdirectory, add a
2269 symlink to as-new, and set gcc_gas_flag variable.
2270 * lib/ld-lib.exp (default_ld_compile): If the compiler appears to
2271 be gcc, use gcc_gas_flag when compiling.
2272
2273 Thu Jul 23 12:23:29 1998 Ian Lance Taylor <ian@cygnus.com>
2274
2275 * ld-elfvers/vers.exp: Just check for i?86 rather than checking
2276 for i386, i486, and i586.
2277 (objdump_versionstuff): If we can't find the line, dump the file.
2278
2279 Fri Jul 3 00:27:41 1998 Ian Lance Taylor <ian@cygnus.com>
2280
2281 * ld-scripts/phdrs.exp: Run test on *-*-eabi*.
2282 * ld-scripts/weak.exp: Likewise.
2283
2284 Wed Jul 1 10:51:46 1998 Nick Clifton <nickc@cygnus.com>
2285
2286 * ld-srec/srec.exp: Add xfail for v850.
2287
2288 * ld-undefined/undefined.exp: arm and thumb PE toolchains now pass
2289 these tests.
2290
2291 Fri Jun 19 17:12:52 1998 Ian Lance Taylor <ian@cygnus.com>
2292
2293 * ld-scripts/weak.exp: New test.
2294 * ld-scripts/weak.t: New file.
2295 * ld-scripts/weak1.s: New file.
2296 * ld-scripts/weak2.s: New file.
2297
2298 Tue Jun 16 12:40:38 1998 Geoff Keating <geoffk@ozemail.com.au>
2299
2300 * ld-elfvers/vers.exp: Run tests on powerpc ELF targets.
2301 * ld-shared/shared.exp: Likewise.
2302 * ld-elfvers/vers1.dsym: Allow for .sdata.
2303 * ld-srec/srec.exp: Add setup_xfails for PowerPC Linux.
2304
2305 Fri May 29 15:02:50 1998 Ian Lance Taylor <ian@cygnus.com>
2306
2307 * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
2308 (run_srec_test): On mn10200, define __truncsipsi2_do_d2.
2309 * ld-srec/sr1.c (__main): Change return type to void.
2310 * ld-srec/sr3.cc (__main): Likewise.
2311 (__builtin_delete, __builtin_new): Likewise.
2312 (__get_dynamic_handler_chain): Return 0.
2313 (__get_eh_context): Likewise.
2314
2315 Thu May 21 15:21:33 1998 Nick Clifton <nickc@cygnus.com>
2316
2317 * ld-undefined/undefined.exp: Add support for thumb-pe target.
2318 * ld-srec/srec.exp: Add support for arm-pe and thumb-pe targets.
2319
2320 Mon May 4 17:54:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2321
2322 * ld-shared/shared.exp: Remove setup_xfails for m68k-linux.
2323
2324 Mon May 4 17:12:06 1998 Ian Lance Taylor <ian@cygnus.com>
2325
2326 * ld-shared/main.c (shlib_overriddencall2): New function.
2327 (main): Call shlib_shlibcall2.
2328 * ld-shared/sh1.c (shlib_shlibcall2): New function.
2329 (shlib_overriddencall2): New function.
2330 * ld-shared/shared.dat: Add output line for new test.
2331 * ld-shared/sun4.dat: Likewise.
2332
2333 * ld-srec/sr3.cc (__get_eh_context): New function.
2334
2335 Tue Apr 7 12:50:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
2336
2337 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be static to
2338 avoid compiler warning.
2339 * ld-srec/sr3.cc (class Foo): Likewise.
2340
2341 Tue Feb 10 16:42:40 1998 Ian Lance Taylor <ian@cygnus.com>
2342
2343 * ld-srec/sr3.cc (__get_dynamic_handler_chain): New function.
2344
2345 Mon Feb 2 14:17:48 1998 Ian Lance Taylor <ian@cygnus.com>
2346
2347 * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target.
2348
2349 Thu Dec 18 11:13:28 1997 Nick Clifton <nickc@cygnus.com>
2350
2351 * ld-srec/srec.exp: Duplicated Arm patch for Thumb targets.
2352
2353 Tue Dec 2 09:50:19 1997 Nick Clifton <nickc@cygnus.com>
2354
2355 * ld-srec/srec.exp: Applied patch from Tony.Thompson@arm.com which
2356 fixes ARM tests.
2357
2358 Mon Dec 1 16:12:05 1997 Nick Clifton <nickc@cygnus.com>
2359
2360 * ld-srec/srec.exp: Add expected failures of tests 1 and 2 for ARM
2361 coff targets.
2362
2363 Wed Nov 12 14:18:31 1997 Ian Lance Taylor <ian@cygnus.com>
2364
2365 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to
2366 avoid compiler warning.
2367 * ld-srec/sr3.cc (class Foo): Likewise.
2368
2369 Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com>
2370
2371 * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
2372 have any name when looking for entry symbol warnings.
2373
2374 * ld-srec/sr3.cc (__eh_pc): Define.
2375
2376 Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com>
2377
2378 * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
2379 __throw, since the current g++ expects them to be defined.
2380
2381 Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com>
2382
2383 * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output
2384 file if the string libc appears in it.
2385 (objdump_versionstuff): Accept unexpected lines in the output
2386 file. Compare lines using string match.
2387 * ld-elfvers/vers6.ver: Permit any value in the vna_other field.
2388
2389 Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com>
2390
2391 * ld-scripts/crossref.exp: Correct string quoting.
2392
2393 Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com>
2394
2395 * config/default.exp: Change ld, as, nm and strip from .new to
2396 -new. Load ld-lib.exp rather than ld.exp.
2397 * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
2398 * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
2399 DejaGnu changes.
2400
2401 Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com>
2402
2403 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
2404 an alternation. From Greg Margo <gmargo@dl.com>.
2405
2406 Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2407
2408 * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
2409 with non PIC shared libraries.
2410
2411 Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com>
2412
2413 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
2414 version handling.
2415
2416 Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
2417
2418 * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well.
2419
2420 Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com>
2421
2422 * ld-srec/srec.exp: Define __get_dynamic_handler_chain when
2423 linking.
2424
2425 Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com>
2426
2427 * config/default.exp: Use $base_dir rather than $objdir when
2428 setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>.
2429
2430 Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com)
2431
2432 * ld-srec/srec.exp: Define various out of line prologue/epilogue
2433 functions for the mn10200 to avoid needing libgcc.a.
2434
2435 Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com>
2436
2437 * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*.
2438
2439 Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com>
2440
2441 * ld-elfvers/vers.exp: Don't run on SunOS or AIX.
2442
2443 Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
2444
2445 * ld-elfvers/vers.exp, *: New tests for symbol versioning.
2446 * config/default.exp: Set ar and strip.
2447
2448 Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com>
2449
2450 * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of
2451 prune_system_crud.
2452 * ld-cdtest/cdtest.exp: Ditto.
2453 * ld-scripts/crossref.exp: Ditto.
2454 * ld-sh/sh.exp: Ditto.
2455 * ld-shared/shared.exp: Ditto.
2456 * ld-srec/srec.exp: Ditto.
2457 * lib/ld.exp: Ditto.
2458
2459 Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com>
2460
2461 * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir.
2462 * ld-scripts/script.exp: Ditto.
2463 * ld-sh/sh.exp: Ditto.
2464 * ld-undefined/undefined.exp: Ditto.
2465 * ld-versados/versados.exp: Ditto.
2466 * lib/ld.exp: Ditto.
2467
2468 Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com>
2469
2470 * ld-scripts/crossref.exp: Fix quoting for --defsym $global$.
2471
2472 Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com>
2473
2474 * lib/ld.exp (default_ld_version): Fix for current version
2475 printing.
2476
2477 Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com>
2478
2479 * ld-scripts/crossref.exp: Define $global$ for hppa-elf.
2480
2481 Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com>
2482
2483 * ld-scripts/cross2.t: Map XCOFF sections to .text or .data.
2484
2485 * lib/ld.exp: Use verbose -log instead of calling both verbose and
2486 send_log.
2487
2488 Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com>
2489
2490 * ld-scripts/phdrs.exp: New test.
2491 * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
2492
2493 Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com>
2494
2495 * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
2496 V_SPILL and V_FILL.
2497
2498 Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com>
2499
2500 * ld-scripts/crossref.exp: New test.
2501 * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files.
2502 * ld-scripts/{cross1.t, cross2.t}: New files.
2503
2504 Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com>
2505
2506 * ld-sh/sh.exp: Fix debugging messages.
2507 * ld-sh/sh1.s: Use .align 4.
2508
2509 Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com>
2510
2511 * ld-sh/sh.exp: Use -O when compiling with -mrelax.
2512
2513 Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2514
2515 * ld-shared/shared.exp: Run the shared library tests on
2516 Linux/m68k.
2517
2518 Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com>
2519
2520 * ld-shared/shared.exp: Run the shared library tests on Linux.
2521
2522 Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com>
2523
2524 * ld-shared/shared.exp: Don't use -fpic on MIPS targets.
2525
2526 Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com)
2527
2528 * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*.
2529 * ld-undefined/undefined.exp: Likewise.
2530
2531 Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com>
2532
2533 * ld-undefined/undefined.exp: ELF targets should now pass the
2534 undefined line test.
2535
2536 Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com>
2537
2538 * ld-empic/empic.exp: Update for change to MIPS disassembler.
2539
2540 Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com>
2541
2542 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
2543 when doing the --static test.
2544 * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
2545
2546 Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com>
2547
2548 * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option
2549 when creating ld-partial.o.
2550
2551 Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com>
2552
2553 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
2554 __eabi.
2555
2556 Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com>
2557
2558 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
2559
2560 Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
2561
2562 * ld-srec/srec.exp: On a29k targets, use --defsym to define
2563 V_SPILL and V_FILL.
2564 * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions.
2565 * ld-srec/sr3.cc: Likewise.
2566
2567 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
2568
2569 Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
2570
2571 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
2572
2573 Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
2574
2575 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
2576
2577 Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
2578
2579 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
2580
2581 Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
2582
2583 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
2584
2585 * ld-srec/sr1.c (V_SPILL, V_FILL): Define.
2586 * ld-srec/sr3.cc: Likewise.
2587
2588 Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com>
2589
2590 * ld-empic/empic.exp: Update for changes in objdump output.
2591
2592 Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com>
2593
2594 * ld-srec/srec.exp: New tests.
2595 * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
2596 * lib/ld.exp (ld_simple_link): Discard warnings about not being
2597 able to find the entry symbol.
2598
2599 Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com>
2600
2601 * ld-sh/sh2.c (__main): Define.
2602
2603 Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com>
2604
2605 * ld-empic/empic.exp: Accept a . in the address symbol.
2606
2607 * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
2608 powerpc*-*-aix*. Add code to create appropriate exports files,
2609 and pass appropriate compilation flags, and test against
2610 appropriate expected output.
2611 * ld-shared/xcoff.dat: New file.
2612 * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
2613 not be linked using XCOFF. Use shlib_shlibvar1 as a sample
2614 function pointer, rather than shlib_mainvar.
2615 * ld-shared/sh1.c: Likewise.
2616 * ld-shared/shared.dat: Update for change from using shlib_mainvar
2617 to using shlib_shlibvar1.
2618 * ld-shared/sun4.dat: Likewise.
2619
2620 Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com>
2621
2622 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
2623 convenience when testing XCOFF.
2624
2625 Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com>
2626
2627 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
2628 along with --static.
2629
2630 * ld-scripts/script.s: Make symbols global.
2631
2632 Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com>
2633
2634 * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*.
2635
2636 Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com>
2637
2638 * ld-undefined/undefined.exp: Use -e when invoking the linker, to
2639 prevent the SunOS linker from trying to create a shared library.
2640
2641 Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com>
2642
2643 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
2644 appropriate modifications and setup_xfails.
2645 * ld-shared/sun4.dat: New file.
2646
2647 Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
2648
2649 * lib/ld.exp (default_ld_version): Call prune_system_crud.
2650 (default_ld_relocate, default_ld_link): Likewise.
2651 (default_ld_simple_link, default_ld_compile): Likewise.
2652 (default_ld_assemble, default_ld_nm): Likewise.
2653
2654 Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
2655
2656 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
2657 tests as untested rather than unresolved.
2658
2659 Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com)
2660
2661 * ld-sh/sh.exp: Call prune_system_crud on the output of cmp.
2662
2663 Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
2664
2665 * ld-scripts/script.exp: Split script verification into a proc.
2666 Add simple test of MRI script.
2667 * ld-scripts/scriptm.t: New file.
2668
2669 Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com>
2670
2671 * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when
2672 appropriate.
2673
2674 Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com>
2675
2676 * config/default.exp: Define objcopy if it is not defined.
2677 * ld-sh/*: New tests for SH relaxing.
2678
2679 * ld-empic/empic.exp: If $CC does not exist, call untested rather
2680 than unresolved.
2681
2682 Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com>
2683
2684 * ld-undefined/undefined.exp: If $CC does not exist, mark the
2685 tests as untested rather than unresolved. Clear ELF xfails for
2686 mips*, not just mips.
2687
2688 Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com>
2689
2690 * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for
2691 undefined line test.
2692
2693 Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com>
2694
2695 * ld-undefined/undefined.exp: New test, to check reporting of
2696 undefined symbols.
2697 * ld-undefined/undefined.c: New file.
2698
2699 Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
2700
2701 * ld-versados/versados.exp: If a test fails, report it correctly:
2702 don't try to run the next test, and don't report a pass as well as
2703 a fail.
2704
2705 Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
2706
2707 * versados/(t1,t2).ld: End in newlines.
2708
2709 Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
2710
2711 * lib/ld.exp (default_ld_compile): If cc argument is multiple
2712 words, use only the first when trying to verify the availability
2713 of the compiler.
2714
2715 Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com>
2716
2717 * ld-scripts/defined.t: Mention .data and .bss explicitly.
2718
2719 Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2720
2721 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
2722 call untested for each test, rather than ignoring it. If one test
2723 fails, go on to the next one instead of returning.
2724 * ld-cdtest/cdtest.exp: If compilations fail, mark tests as
2725 unresolved.
2726 * ld-empic/empic.exp: Likewise. Also, always pass the same test
2727 name to pass or fail.
2728 * ld-shared/shared.exp: Likewise. Also, always run all tests.
2729 * ld-scripts/defined.exp: If as or nm fail, mark test as
2730 unresolved. Always pass the same test name to pass or fail.
2731 * ld-scripts/script.exp: Likewise.
2732 * ld-scripts/sizeof.exp: Likewise.
2733
2734 Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2735
2736 * ld-scripts/sizeof.exp: New test, based on bug report from
2737 anders.blomdell@control.lth.se.
2738 * ld-scripts/sizeof.s: New file.
2739 * ld-scripts/sizeof.t: New file.
2740
2741 Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
2742
2743 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
2744 if the linker exists.
2745
2746 Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
2747
2748 * lib/ld.exp (prune_system_crud): Define if not already defined,
2749 in case the user isn't using the newest DejaGnu version that we
2750 haven't released to the net yet.
2751
2752 Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
2753
2754 * config/default.exp: Define objdump if it is not defined.
2755 * ld-empic/*: New tests to test -membedded-pic code.
2756
2757 Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2758
2759 * ld-bootstrap/bootstrap.exp: Pass cmp output through
2760 prune_system_crud.
2761 * ld-cdtest/cdtest.exp: Pass diff output through
2762 prune_system_crud.
2763 * ld-shared/shared.exp: Likewise.
2764
2765 * config/default.exp: Remove unused and useless proc ld_load.
2766
2767 Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2768
2769 * lib/ld.exp (default_ld_compile): Remove the output file before
2770 compiling.
2771
2772 * ld-shared/shared.exp: Move common test code into a procedure.
2773 Add tests for compiling the non shared code PIC.
2774 * ld-shared/main.c (main): Call main_called, and print the result.
2775 * ld-shared/shared.dat: Adjust accordingly.
2776
2777 Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
2778
2779 * ld-shared: New directory, with new files to test generating ELF
2780 shared libraries.
2781
2782 * lib/ld.exp (default_ld_compile): If the compilation worked, but
2783 no object file was created, check to see if the compiler foolishly
2784 ignored the -o switch when compiling, and move the resulting
2785 object if it did.
2786
2787 Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2788
2789 * VMS does not permits `.' in directory names. Renamed
2790 ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
2791 ld.scripts to ld-scripts.
2792
2793 Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2794
2795 * config/default.exp: Set variables as and nm. Create tmpdir if
2796 it does not already exist.
2797 * ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
2798 * ld.cdtest/cdtest.exp: Likewise.
2799 * ld.scripts/defined.exp: Likewise. Also, don't set as and nm
2800 here. Change perror for no variables found to fail.
2801 * ld.scripts/script.exp: New test.
2802 * ld.scripts/script.t, ld.scripts/script.s: New files.
2803
2804 Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2805
2806 * ld.scripts: New directory.
2807 * ld.scripts/defined.exp, ld.scripts/defined.s: New files.
2808 * ld.scripts/defined.t: New file.
2809 * lib/ld.exp (default_ld_simple_link): New function.
2810 (default_ld_assemble, default_ld_nm): New functions.
2811 * config/default.exp: Rename from unix-ld.exp.
2812 (ld_simple_link, ld_assemble, ld_nm): New functions.
2813
2814 * config/unix-ld.exp: Set ld using findfile.
2815 * lib/ld.exp (default_ld_relocate): Return a value. Change format
2816 of log messages.
2817 (default_ld_compile): Likewise.
2818 (default_ld_link): Likewise. Also, don't include $BFDLIB and
2819 $LIBIBERTY in link.
2820 * ld.bootstrap/bootstrap.exp: Rewrite.
2821 * ld.cdtest/cdtest.exp: Rewrite.
2822 * ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
2823 * ld.cdtest/cdtest-foo.h: Likewise.
2824 * ld.cdtest/cdtest-main.cc: Likewise.
2825
2826 Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
2827
2828 * ld.cdtest/cdtest.exp: Don't look for $result before it's
2829 defined.
2830
2831 Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
2832
2833 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
2834 calls with perror calls.
2835
2836 Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
2837
2838 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
2839 * ld.cdtest/cdtest.exp: Adjusted.
2840
2841 Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2842
2843 * lib/ld.exp (simple_diff): Indicate failure if files have
2844 different numbers of lines. Don't muck with $differences to avoid
2845 indicating a pass, just return.
2846
2847 * ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
2848 Fix test case to be valid ANSI C++. Don't require use of header
2849 files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
2850 * ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
2851 commentary on things that are still broken with this test case.
2852
2853 Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
2854
2855 * ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
2856
2857 Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
2858
2859 * lib/ld.exp: add compiler and linker support
2860 * config/unix-ld.exp: add compiler and linker support
2861 * ld.bootstrap/bootstrap.exp: fixed to do partial links
2862 * ld.cdtest/cdtest.exp: constructor/destructor testscase
2863
2864 Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
2865
2866 * lib/ld.exp: new file
2867 * config/unix-ld.exp: new file
2868 * ld.bootstrap/bootstrap.exp: new file