]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ChangeLog
2002-01-30 Michael Snyder <msnyder@redhat.com>
[thirdparty/binutils-gdb.git] / ld / testsuite / ChangeLog
CommitLineData
38b566ae
CD
12002-01-29 Chris Demetriou <cgd@broadcom.com>
2
3 * ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs.
4 * ld-mips-elf/emrelocs-el.d: Likewise.
5 * ld-mips-elf/emrelocs1.s: Likewise.
6 * ld-mips-elf/emrelocs2.s: Likewise.
7 * ld-mips-elf/emrelocs.ld: Likewise.
8 * ld-mips-elf/mips-elf.exp: Add the above to the list of tests.
9
54893deb
HPN
102002-01-21 Hans-Peter Nilsson <hp@axis.com>
11
12 * ld-cris: New testsuite directory.
13
8b8c5dbd
NC
142002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
15
16 * ld-sh/sh.exp: Copy start.s file into test directory.
17
8f2a6955
NC
182002-01-14 Nick Clifton <nickc@cambridge.redhat.com>
19
20 * ld-selective/selective.exp: For ARM targets, link with libgcc.a.
21
a657e7c1
CD
222002-01-02 Chris Demetriou <cgd@broadcom.com>
23
24 * ld-mips-elf/empic1-ln.d: New file to test basic linking of
25 R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations.
26 * ld-mips-elf/empic1-lp.d: Likewise.
27 * ld-mips-elf/empic1-mn.d: Likewise.
28 * ld-mips-elf/empic1-mp.d: Likewise.
29 * ld-mips-elf/empic1-sn.d: Likewise.
30 * ld-mips-elf/empic1-sp.d: Likewise.
31 * ld-mips-elf/empic1-ref.s: Likewise.
32 * ld-mips-elf/empic1-space.s: Likewise.
33 * ld-mips-elf/empic1-tgt.s: Likewise.
34 * ld-mips-elf/empic2-fwd-0.d: New file to test
35 R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge
36 cases.
37 * ld-mips-elf/empic2-fwd-1.d: Likewise.
38 * ld-mips-elf/empic2-rev-0.d: Likewise.
39 * ld-mips-elf/empic2-rev-1.d: Likewise.
40 * ld-mips-elf/empic2-ref.s: Likewise.
41 * ld-mips-elf/empic2-space.s: Likewise.
42 * ld-mips-elf/empic2-fwd-tgt.s: Likewise.
43 * ld-mips-elf/empic2-rev-tgt.s: Likewise.
44 * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF
45 tests (including those above).
46
82e03011
L
472001-11-30 H.J. Lu <hjl@gnu.org>
48
49 * ld-elfvers/vers.exp (build_vers_lib): Preserve the library
50 order.
51
67954772
L
522001-11-29 H.J. Lu <hjl@gnu.org>
53
54 * ld-elfvers/vers.exp (build_vers_lib): Support linking against
55 more than one libraries.
56 Add "vers20a" and "vers20" tests for common symbols.
57
58 * ld-elfvers/vers20.c: New.
59 * ld-elfvers/vers20.dsym: New.
60 * ld-elfvers/vers20.map: New.
61 * ld-elfvers/vers20.ver: New.
62 * ld-elfvers/vers20a.ver: New.
63
f5e04945
L
642001-11-19 H.J. Lu <hjl@gnu.org>
65
66 * ld-elfvsb/define.s: Mark all global lables as object.
67
68 * ld-elfvsb/hidden0.d: Match large section number.
69 * ld-elfvsb/hidden1.d: Likewise.
70 * ld-elfvsb/internal0.d: Likewise.
71 * ld-elfvsb/internal1.d: Likewise.
72 * ld-elfvsb/protected0.d: Likewise.
73 * ld-elfvsb/protected1.d: Likewise.
74
75 * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT.
76 * ld-elfvsb/internal0.d: Likewise.
77 * ld-elfvsb/protected0.d: Likewise.
78
c3b1835c
L
792001-11-15 H.J. Lu <hjl@gnu.org>
80
81 * ld-sh/ld-r-1.d: Updated.
82
86017ce9
NC
832001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
84
85 * ld-bootstrap/bootstrap.exp: Only scan tail of executable for
86 PE targets.
87
d7b78487
NC
882001-11-12 Donn Terry <donnte@microsoft.com>
89
90 * ld-bootstrap/bootstrap.exp: Only compare the tail end of the two
91 binary files produced in order to avoid date stamp present in PE
92 binaries.
93
fec91dc5
HPN
942001-11-11 Hans-Peter Nilsson <hp@bitrange.com>
95
96 * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit.
97
3a921b77
L
982001-11-09 H.J. Lu <hjl@gnu.org>
99
100 * ld-discard/discard.exp: New. Test ld discard.
101 * ld-discard/discard.ld: Likewise.
102 * ld-discard/exit.s: Likewise.
103 * ld-discard/extern.d: Likewise.
104 * ld-discard/extern.s: Likewise.
105 * ld-discard/start.d: Likewise.
106 * ld-discard/start.s: Likewise.
107 * ld-discard/static.d: Likewise.
108 * ld-discard/static.s: Likewise.
109
04827a14
L
1102001-11-02 H.J. Lu <hjl@gnu.org>
111
112 * ld-elfvsb/elfvsb.exp: Add the "ld -r" test.
113
114 * ld-elfvsb/hidden0.d: New.
115 * ld-elfvsb/hidden1.d: New.
116 * ld-elfvsb/internal0.d: New.
117 * ld-elfvsb/internal1.d: New.
118 * ld-elfvsb/protected0.d: New.
119 * ld-elfvsb/protected1.d: New.
120 * ld-elfvsb/undef.s: New.
121 * ld-elfvsb/undef.s: New.
122
dc5e727b
NC
1232001-11-02 NIIBE Yutaka <gniibe@m17n.org>
124
125 * ld-sh/sh.exp: Have its own start.s for linux.
126
6ef81afd
HPN
1272001-10-31 Hans-Peter Nilsson <hp@bitrange.com>
128
45734546 129 * ld-mmix/locdo-1.d: Prune character dump part.
6ef81afd
HPN
130 * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
131 ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d,
132 ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d,
133 ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s,
134 ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d,
135 ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s,
136 ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove
137 unnecessary empty lines.
138
3c3bdf30
NC
1392001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
140
141 * ld-mmix: New testsuite directory.
142
7739e068
HPN
1432001-10-14 Hans-Peter Nilsson <hp@bitrange.com>
144
d45d3ffb
HPN
145 * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on
146 sh*-*-elf.
147
b2da51b6
HPN
148 * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.
149
7739e068
HPN
150 * ld-sh/rd-sh.exp: New framework file.
151 * ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d,
152 ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New
153 test files.
154
8e13f7b1
HPN
1552001-09-29 Hans-Peter Nilsson <hp@axis.com>
156
157 * ld-linkonce/linkonce.exp: New file.
158 * ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld,
159 ld-linkonce/zeroehl32.d: New test.
160
5d5849d7
L
1612001-09-25 H.J. Lu <hjl@gnu.org>
162
163 * ld-elfweak/dso.dsym: Updated for alpha.
164 * ld-elfweak/dsodata.dsym: Likewise.
165 * ld-elfweak/strong.sym: Likewise.
166 * ld-elfweak/strongcomm.sym: Likewise.
167 * ld-elfweak/strongdata.sym: Likewise.
168
cfe5266f
HPN
1692001-09-15 Hans-Peter Nilsson <hp@bitrange.com>
170
171 * lib/ld-lib.exp (run_dump_test): Handle new option
172 "objcopy_linked_file". Return after failing, if errors were
173 expected but none were found.
174 (slurp_options): Support underscores in option names.
175
0c52a746
L
1762001-09-14 H.J. Lu <hjl@gnu.org>
177
178 * ld-elfweak/bar.c: Updated.
179 * ld-elfweak/bar1a.c: Likewise.
180 * ld-elfweak/main.c: Likewise.
181 * ld-elfweak/main1.c: Likewise.
182 * ld-elfweak/elfweak.exp: Likewise.
183 * ld-elfweak/weakdata.dsym: Updated.
184
bd7c9df6
L
1852001-09-11 H.J. Lu <hjl@gnu.org>
186
187 * ld-elfweak/elfweak.exp (build_lib): Take a list of object
188 files.
189 (build_exec): Likewise.
190 Add more tests and make some xfail.
191
192 * ld-elfweak/dso.dsym: Support symbol versioning.
193 * ld-elfweak/dsow.dsym: Likewise.
194
195 * ld-elfweak/main1.c: New.
196 * ld-elfweak/bar1a.c: Likewise.
197 * ld-elfweak/bar1b.c: Likewise.
198 * ld-elfweak/bar1c.c: Likewise.
199 * ld-elfweak/foo1a.c: Likewise.
200 * ld-elfweak/foo1b.c: Likewise.
201 * ld-elfweak/dsodata.dsym: Likewise.
202 * ld-elfweak/dsowdata.dsym: Likewise.
203 * ld-elfweak/weakdata.dsym: Likewise.
204 * ld-elfweak/strongcomm.sym: Likewise.
205 * ld-elfweak/strongdata.sym: Likewise.
206 * ld-elfweak/weakdata.dat: Likewise.
207 * ld-elfweak/strongdata.dat: Likewise.
208
16a57284
L
2092001-09-10 H.J. Lu <hjl@gnu.org>
210
211 * ld-elfweak/elfweak.exp: New.
212 * ld-elfweak/bar.c: Likewise.
213 * ld-elfweak/foo.c: Likewise.
214 * ld-elfweak/main.c: Likewise.
215 * ld-elfweak/dso.dsym: Likewise.
216 * ld-elfweak/dsow.dsym: Likewise.
217 * ld-elfweak/strong.sym: Likewise.
218 * ld-elfweak/strong.dat: Likewise.
219 * ld-elfweak/weak.dat: Likewise.
220
ad9f78d1
AM
2212001-08-27 Alan Modra <amodra@bigpond.net.au>
222 Linus Nordberg <linus@swox.se>
223
224 * ld-checks/checks.exp: .lcomm is incompatible with ppc coff.
225 * ld-scripts/cross1.t: Add .toc section.
226 * ld-scripts/cross2.t: Likewise.
227 * ld-scripts/phdrs.exp: powerpc64 is 64 bit.
228 * ld-srec/srec.exp: xfail powerpc64
229
453abe31
NC
2302001-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
231
232 * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'.
233 Continue with other tests when there is a compilation error.
234
39c183c1
NC
2352001-08-01 Loren J. Rittle <ljrittle@acm.org>
236
237 * ld-cdtest/cdtest-nrv.dat: New file.
238 * ld-cdtest/cdtest.exp: Do not require any exception support
239 library. Check results against NRV.
240
22a517d0
NC
2412001-08-01 Loren J. Rittle <ljrittle@acm.org>
242
243 * ld-srec/srec.exp: Do not require any exception support
244 library.
245
e0d85c26
L
2462001-07-27 H.J. Lu <hjl@gnu.org>
247
248 * ld-selective/selective.exp: Fix the error in the last change.
249
067f2074
AM
2502001-07-24 Loren J. Rittle <ljrittle@acm.org>
251
252 * ld-selective/selective.exp: Support g++ V3 ABI (along side
253 the old ABI). Make comparisons against normalized (to
254 V3-style) demangled nm output.
255
992c450d
AM
2562001-07-24 Alan Modra <amodra@bigpond.net.au>
257
258 * config/default.exp (ld_nm): Add "nmflags" arg.
259 * lib/ld-lib.exp (default_ld_nm): Likewise.
260 * ld-empic/empic.exp: Adjust call to ld_nm.
261 * ld-scripts/defined.exp: Likewise.
262 * ld-scripts/script.exp: Likewise.
263 * ld-scripts/sizeof.exp: Likewise.
264 * ld-selective/selective.exp: Likewise.
265 * ld-sh/sh.exp: Likewise.
266
bbfebd39
L
2672001-07-12 H.J. Lu <hjl@gnu.org>
268
269 * ld-selective/selective.exp: Mark selective1, selective2,
270 selective4 and selective5 xfail on alpha*-*.
271
261def70
HPN
2722001-06-13 Hans-Peter Nilsson <hp@bitrange.com>
273
274 * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,
275 OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide
276 default.
277
278 * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add
279 new options "ld", "source", "xfail", "target", "notarget" and
280 "error". Support the runtest_file_p "*.exp=testname" feature.
281 (slurp_options, regexp_diff, file_contents, verbose_eval): Import
282 from gas testsuite.
283
1e9f9630
NC
2842001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
285
286 * testsuite/ld-undefined/undefined.exp: Correct setup_xfail rule.
287
66517a2f
L
2882001-06-06 H.J. Lu <hjl@gnu.org>
289
290 * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
291 on Linux/mips.
292
a5c9dff1 293 * ld-elfvers/vers.exp: Also run on Linux/mips.
66517a2f
L
294 * ld-elfvsb/elfvsb.exp: Likewise.
295 * ld-shared/shared.exp: Likewise.
296
297 * ld-selective/selective.exp: Mark selective2, selective3,
298 selective4 and selective5 xfail on Linux/mips.
299
300 * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips.
301
302 * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips.
303
304 * ld-srec/srec.exp: Add Linux/mips to xfail.
305
d52f9762
AM
3062001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
307
308 * ld-undefined/undefined.exp: Add a setup_xfail line for a test
309 that will always fail on s/390.
310
1e329ce6
NC
3112001-05-28 kaz Kojima <kkojima@rr.iij4u.or.jp>
312
313 * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for
314 the text section.
315
c709b096
AM
3162001-05-25 Alan Modra <amodra@one.net.au>
317
318 * ld-elfvers/vers.exp: Replace linuxoldld with linux*oldld and
319 linuxaout with linux*aout.
320
936f9717
L
3212001-05-24 H.J. Lu <hjl@gnu.org>
322
323 * ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.
324
9d8b3bf4
L
3252001-05-18 H.J. Lu <hjl@gnu.org>
326
327 * ld-elfvers/vers.exp: Revert the last change.
328
329 * ld-elfvers/vers2.ver: Put back "tmpdir/" the version
330 references.
331 * ld-elfvers/vers3.ver: Likewise.
332 * ld-elfvers/vers6.ver: Likewise.
333 * ld-elfvers/vers18.ver: Likewise.
334
0f3f8808
L
3352001-05-17 H.J. Lu <hjl@gnu.org>
336
337 * ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19".
338
339 * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version
340 definition.
341 * ld-elfvers/vers2.ver: Likewise.
342 * ld-elfvers/vers3.ver: Likewise.
343 * ld-elfvers/vers4a.ver: Likewise.
344 * ld-elfvers/vers6.ver: Likewise.
345 * ld-elfvers/vers7a.ver: Likewise.
346 * ld-elfvers/vers8.ver: Likewise.
347 * ld-elfvers/vers9.ver: Likewise.
348 * ld-elfvers/vers15.ver: Likewise.
349 * ld-elfvers/vers16a.ver: Likewise.
350 * ld-elfvers/vers17.ver: Likewise.
351 * ld-elfvers/vers18.ver: Likewise.
352
8b0fa282
L
3532001-05-03 H.J. Lu <hjl@gnu.org>
354
355 * ld-elfvers/vers19.ver: Expect vers17.so instead of
356 *tmpdir/vers17.so.
357
7f9adacd
AJ
3582001-05-01 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de>
359
360 * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.
361
362 * ld-scripts/phdrs.t: Use startaddress that's greater than any
363 MAXPAGESIZE used.
364
f0f077e5
L
3652001-04-29 H.J. Lu <hjl@gnu.org>
366
367 * ld-shared/symbolic.dat: New.
368
369 * ld-shared/shared.exp: Also check -Bsymbolic.
370
b3992bc7
AJ
3712001-04-28 Andreas Jaeger <aj@suse.de>
372
373 * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
374 special.
375
358a5502
DB
3762001-04-01 David O'Brien <obrien@FreeBSD.org>
377 * ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even
378 though it doesn't use DWARF2 yet (but its output is identical).
379
3802001-04-01 David O'Brien <obrien@FreeBSD.org>
44df2f94
DB
381
382 * ld-selective/selective.exp: Use -O with gcc rather than -O2.
383 This optimization level is buggy on some platforms, and this test
384 is not intended to test compiler optimizations.
385
b536df83
DD
3862001-03-06 DJ Delorie <dj@redhat.com>
387
388 * ld-scripts/cross2.t: Support any type of text/data sections, not
389 just the canonical ones.
390
b6a71cca
AM
3912001-02-28 Matt Hiller <hiller@redhat.com>
392
393 * ld-scripts/crossref.exp: Initialize flags to [big_or_little_endian].
394 * ld-undefined/undefined.exp: Ditto, and include $flags in ld
395 invocations.
396 * lib/ld-lib.exp (big_or_little_endian): Recognize -EB, -eb, -EL
397 and -el.
398 (is_endian_output_format): New function.
399 (default_ld_link): Set flags to [big_or_little_endian] only if ld
400 is being invoked such that the output format being used is of
401 known endianness.
402 (default_ld_simple_link): Ditto.
403
ad995491
L
4042001-02-14 H.J. Lu <hjl@gnu.org>
405
406 * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
407 for -static on ia64.
408
409 * ld-checks/checks.exp: Don't run on ia64-*-elf* nor
410 ia64-*-linux*.
411
412 * ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*.
413
414 * ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*.
415 Set up expected failures for ia64-*-linux*.
416 * ld-shared/shared.exp: Likewise.
417
fef67c28
SC
4182001-02-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
419
420 * ld-srec/srec.exp (run_srec_test): m6811 code has references
421 to soft registers, define them with --defsym.
422 * ld-selective/selective.exp: Likewise.
423
332dac40
HPN
4242001-01-14 Hans-Peter Nilsson <hp@bitrange.com>
425
426 * ld-sh/sh.exp: Use --oformat srec, not -oformat srec.
427
2ffd68ef
PB
4282001-01-03 Philip Blundell <pb@futuretv.com>
429
430 * ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha.
431 * ld-shared/shared.exp: Likewise.
432
4f38fc1c
PB
4332001-01-01 Philip Blundell <philb@gnu.org>
434
7dc542b2
PB
435 * ld-undefined/weak-undef.exp: New test.
436 * ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting
437 files for above.
438
4f38fc1c
PB
439 * ld-elfvers/vers.exp: Run test on Linux/ARM.
440 * ld-elfvsb/elfvsb.exp: Likewise.
441 * ld-shared/shared.exp: Likewise.
442
0fc3347a
NC
4432000-12-31 Nick Clifton <nickc@redhat.com>
444
445 * ld-srec/srec.exp: Use --oformat instead of -oformat.
446
bad19f8f
NC
4472000-12-09 Nick Clifton <nickc@redhat.com>
448
f6673641
NC
449 * ld-selective/selective.exp: Link in libgcc when target is v850.
450
bad19f8f
NC
451 * ld-srec/srec.exp: Expect the srec_test to fail for ARM targets
452 because the -oformat linker command switch cannot be used.
453
1566ad5d
AM
4542000-11-06 Alan Modra <alan@linuxcare.com.au>
455
456 * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h.
457 (main): Prune unused args.
458
4291c3fa
HPN
4592000-10-29 Hans-Peter Nilsson <hp@bitrange.com>
460
461 * ld-selective/selective.exp <no CXX>: Fix typo for argument to
462 "untested".
463
d1d8dddf
L
4642000-10-19 H.J. Lu (hjl@gnu.org)
465
466 * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
467 for Linux/PPC.
468 * ld-shared/shared.exp: Likewise.
469
d63083ef
HPN
4702000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
471
472 * ld-selective/selective.exp: Rearrange to be table-driven.
473
dc149a6d
AM
4742000-10-07 Alan Modra <alan@linuxcare.com.au>
475
476 * ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too.
477
65420b22
AM
4782000-10-02 Alan Modra <alan@linuxcare.com.au>
479
480 * ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more.
481 * ld-scripts/crossref.exp: Ditto.
482
bd0110a3
HPN
4832000-09-29 Hans-Peter Nilsson <hp@bitrange.com>
484
485 * ld-selective/5.cc: New test.
486 * ld-selective/selective.exp: Run it as xfailed.
487
488 * ld-selective/4.cc: Correct spelling of "lose".
489
3231d22e
AM
4902000-09-05 Alan Modra <alan@linuxcare.com.au>
491
492 * ld-selective/selective.exp: Remove the xfails for hppa.
493
6545f5fb
AO
4942000-08-30 Alexandre Oliva <aoliva@redhat.com>
495
496 * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
497 sh-*-*): With dwarf-2, `undefined function' can't pass.
498
e1753d2c
L
4992000-08-03 H.J. Lu (hjl@gnu.org)
500
501 * ld-bootstrap/bootstrap.exp: Add strip.
502
360e9586
L
5032000-07-24 H.J. Lu (hjl@gnu.org)
504
505 * ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of
506 the undefined reference.
507
08c44e65
L
5082000-07-16 H.J. Lu (hjl@gnu.org)
509
510 * ld-elfvsb/elfvsb.exp (support_protected): New variable. Check
511 and set to "yes" if the protected visibility is expected to
512 pass.
513 (visibility_run): Set expected to fail for the "protected"
514 and "protected_undef_def" tests only if $support_protected is
515 "no".
516
517 * ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected
518 visibility support if defined.
519
1345a0c0
L
5202000-07-15 H.J. Lu (hjl@gnu.org)
521
522 * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure
523 for "protected_undef_def".
524
525 * ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when
526 PROTECTED_WEAK_TEST is defined.
527 Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is
528 defined.
529 Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined.
530
531 * ld-elfvsb/sh1.c (visibility): Mark protected only if
532 PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST
533 is defined.
534 (visibility_var): Likewise.
535
36a3dc51
AM
5362000-07-10 Alan Modra <alan@linuxcare.com.au>
537
538 * ld-srec/srec.exp: xfail hppa.
539
540 * ld-scripts/weak.exp: Define $global$ for hppa.
541
542 * ld-scripts/crossref.exp: Fix string quoting.
543
7cda33a1
L
5442000-06-05 H.J. Lu (hjl@gnu.org)
545
546 * lib/ld-lib.exp (default_ld_link): Redirect the linker output
547 to link_output and make it global.
548
549 * ld-elfvsb/elfvsb.exp (visibility_test): Add "hidden_undef",
550 "hidden_undef_def", "hidden_weak", "protected_undef",
551 "protected_undef_def" and "protected_weak".
552 (visibility_run): Likewise.
553 * ld-elfvsb/main.c: Likewise.
554 * ld-elfvsb/sh1.c: Likewise.
555 * ld-elfvsb/sh2.c: Likewise.
556
557 * ld-elfvsb/elfvsb.dat: Updated.
558
e80778cf
L
5592000-05-21 H.J. Lu (hjl@gnu.org)
560
561 * ld-elfvsb/main.c (main_visibility_check): Fix the protected
562 visibility test.
563
6fc49d28
L
5642000-05-13 H.J. Lu (hjl@gnu.org)
565
566 * lib/ld-lib.exp (default_ld_link): Redirect the linker output
567 to link_output and make it global.
568
569 * ld-elfvsb/elf-offset.ld: New. ELF visibility fearture
570 tests.
571 * ld-elfvsb/elfvsb.dat: Likewise.
572 * ld-elfvsb/elfvsb.exp: Likewise.
573 * ld-elfvsb/main.c: Likewise.
574 * ld-elfvsb/sh1.c: Likewise.
575 * ld-elfvsb/sh2.c: Likewise.
576
b32711aa
JW
577Fri Apr 21 15:16:07 2000 Richard Henderson <rth@cygnus.com>
578
a2b64bed 579 * ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too.
b32711aa 580
3017ff0e
AM
5812000-04-12 Alan Modra <alan@linuxcare.com.au>
582
62043cea
AM
583 * ld-selective/3.cc (_start): Add cheat for gcc-2.95.2 failure.
584
e76e4c91
AM
585 * ld-selective/selective.exp (test4): Test for presence of
586 foo__1B, not absence. Also check for foo__1A and _start.
587 White space changes throughout file.
3017ff0e 588
e40eb3e9
NC
5892000-03-13 Nick Clifton <nickc@cygnus.com>
590
591 * ld-scripts/phdrs.t: Discard all unexpected sections.
592
d1bcade6
L
5932000-02-27 H.J. Lu (hjl@gnu.org)
594
595 * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs.
596
197d87f8
NC
5971999-11-01 Nick Clifton <nickc@cygnus.com>
598
599 * ld-selective/selective.exp: Fix test to disable these checks for
600 PE based targets.
601
05d26f04
CM
6021999-10-29 Catherine Moore <clm@cygnus.com>
603
604 * ld-selective/selective.exp: Remove test6.
605 * ld-selective/5.cc: Delete.
606
abdbda5e
NC
6071999-10-28 Scott Bambrough <scottb@netwinder.org>
608
05d26f04 609 * ld-srec/srec.exp: Setup expected failures for
abdbda5e
NC
610 srec tests on ARM Linux.
611
b7be1db6
AM
6121999-09-17 Alan Modra <alan@spri.levels.unisa.edu.au>
613
614 * ld-shared/shared.exp: xfail linux*libc1 shared (non PIC, load
615 offset) test.
616
777690b6
ILT
6171999-09-12 Ian Lance Taylor <ian@zembu.com>
618
619 * ld-scripts/script.exp: Add --image-base 0 for PE targets.
620
5be8a006
ILT
6211999-08-17 H.J. Lu <hjl@gnu.org>
622
623 * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof.
624
b33b6e45
ILT
6251999-08-09 Jakub Jelinek <jj@ultra.linux.cz>
626
627 * ld-elfvers/vers.exp: Run tests on sparc*-*-linux*.
628 * ld-shared/shared.exp: Likewise.
629
38e31547
NC
6301999-07-28 Nick Clifton <nickc@cygnus.com>
631
632 * lib/ld-lib.exp (proc big_or_little_endian): New proc.
633 Determine if a big endian or little endian output format hass
634 been selected by any of the multilib options, and if so return
635 a suitable command line option for the linker/assembler.
636 (proc default_ld_link): Include the result of proc
637 big_or_little_endian on the command line to the linker.
638 (proc ld_simple_link): Include the result of proc
639 big_or_little_endian on the command line to the linker.
640 (proc default_ld_compile): Append multilib flags to compiler
641 switches.
642 (proc default_ld_assemble): Include the result of proc
643 big_or_little_endian on the command line to the linker.
644
0cd9f5f0
ILT
6451999-07-21 H.J. Lu <hjl@gnu.org>
646
647 * ld-elfvers/vers1.c: Add missing prototypes and include
648 <stdio.h> if necessary.
649 * ld-elfvers/vers15.c: Likewise.
650 * ld-elfvers/vers19.c: Likewise.
651 * ld-elfvers/vers2.c: Likewise.
652 * ld-elfvers/vers3.c: Likewise.
653 * ld-elfvers/vers4.c: Likewise.
654 * ld-elfvers/vers6.c: Likewise.
655 * ld-elfvers/vers7.c: Likewise.
656 * ld-elfvers/vers9.c: Likewise.
657 * ld-shared/main.c: Likewise.
658 * ld-srec/sr3.cc (Foo::Foo): Remove arg name.
659
d49560a9
MM
660Thu Jul 15 18:00:30 1999 Mark P. Mitchell <mark@codesourcery.com>
661
662 * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as
663 with other DWARF2 targets.
664
5dcf458a
NC
6651999-07-13 Nick Clifton <nickc@cygnus.com>
666
667 * ld-undefined/undefined.exp: Do not expect arm toolchains to fail
668 the undefined line test.
669
734caf4d
ILT
6701999-07-10 Ian Lance Taylor <ian@zembu.com>
671
672 * ld-elfvers/vers.exp: Use -rpath in new vers19 test.
673
f0489494
ILT
6741999-07-07 Ian Lance Taylor <ian@zembu.com>
675
676 * ld-elfvers/vers.exp: Add new tests vers17 to vers19.
677 * ld/elfvers/{vers17.*, vers18.*, vers19.*}: New files.
678
197a7bfd
ILT
6791999-06-13 Ian Lance Taylor <ian@zembu.com>
680
681 * ld-checks/asm.s: Use a symbol name for .lcomm.
682 * ld-checks/checks.exp: Use different names for the two tests.
683 Don't add extra text when invoking fail.
684
99c262f8
ILT
6851999-06-12 Ian Lance Taylor <ian@zembu.com>
686
687 * ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*"
688 to "*-*-linux*aout*".
689 * ld-scripts/weak.exp: Likewise.
690 * ld-shared/shared.exp: Likewise. Simplify condition a bit.
691
2bdba6c9
AS
692Wed Jun 9 12:02:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
693
694 * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning.
695 * ld-shared/sh1.c: Fix typo.
696
77e0b0ef
ILT
6971999-06-04 H.J. Lu <hjl@gnu.org>
698
699 * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
700 necessary.
701
8535ca75
NC
7021999-05-17 Nick Clifton <nickc@cygnus.com>
703
704 * ld-undefined/undefined.exp: Add xfail for mcore-elf.
705
69f868fa
DD
7061999-05-11 DJ Delorie <dj@cygnus.com>
707
708 * ld-srec/srec.exp: Do not run tests for PE based ports.
709
252b5132
RH
7101999-03-05 Nick Clifton <nickc@cygnus.com>
711
712 * ld-selective/selective.exp: Do not run tests for COFF or PE
713 based ports.
714
7151999-02-17 Nick Clifton <nickc@cygnus.com>
716
717 * ld-undefined/undefined.exp: Add expected failures for StrongARM
718 targets.
719
720 * ld-srec/srec.exp: Add expected failures for StrongARM targets.
721
722 * ld-selective/selective.exp: Add expected failure for ARM-COFF
b3992bc7 723 targets.
252b5132
RH
724
7251999-02-16 Nick Clifton <nickc@cygnus.com>
726
727 * ld-checks/asm.s: Use .long instead of .word.
728 Replace custom section names with .text, .data and .bss.
729 * ld-checks/script: Replace custom section names with .text, .data
b3992bc7 730 and .bss.
252b5132 731 * ld-checks/checks.exp: Replace custom section names with .text,
b3992bc7 732 .data and .bss.
252b5132
RH
733
7341999-02-11 Nick Clifton <nickc@cygnus.com>
735
736 * ld-checks: New directory: Tests for the linker's
737 --check-sections option.
738 * ld-checks/checks.exp: New file.
739 * ld-checks/script: Bogus linker script.
740 * ld-checks/asm.s: Simple test assembler file.
741
742Tue Feb 2 19:15:02 1999 Catherine Moore <clm@cygnus.com>
743
744 * ld-selective/selective.exp: Disable test for unsupported
745 targets. Change tests to check for absence of symbols instead
746 of address zero.
747
748Mon Jan 18 03:44:52 1999 Ian Lance Taylor <ian@cygnus.com>
749
750 * config/default.exp (get_link_files): Quote target_triplet and CC
751 when invoking shell.
752 (get_target_emul): Likewise.
753
7541999-01-03 Ken Raeburn <raeburn@cygnus.com>
755
756 * config/default.exp (get_link_files, get_target_emul): New procs;
757 run shell commands to extract information from configure.host and
758 configure.tgt in the source tree.
759 (top level): Use them to get information needed to run tests, if
760 not otherwise provided.
761
762 * ld-shared/elf-offset.ld: New file. Builds a shared library, but
763 gives non-zero addresses for memory region.
764 * ld-shared/shared.exp: Run the non-PIC non-AIX test again using
765 the new linker script.
766
767Tue Dec 8 22:56:05 1998 Geoff Keating <geoffk@ozemail.com.au>
768
769 * ld-srec/srec.exp: Delete xfails for PPC Linux targets,
770 newer glibc lets link succeed.
771
772Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org>
773
774 * ld-elfvers/vers1.c: Add missing return types and values.
775 * ld-elfvers/vers2.c: Likewise.
776 * ld-elfvers/vers3.c: Likewise.
777 * ld-elfvers/vers4.c: Likewise.
778 * ld-elfvers/vers5.c: Likewise.
779 * ld-elfvers/vers6.c: Likewise.
780 * ld-elfvers/vers7.c: Likewise.
781 * ld-elfvers/vers9.c: Likewise.
782 * ld-elfvers/vers15.c: Likewise.
783
784Fri Oct 23 16:28:29 1998 Catherine Moore <clm@cygnus.com>
785
786 * ld-selective: New directory with new files to test
787 selective linking.
788
789 * lib/ld-lib.exp (ld_nm): Strip leading underscore from $name.
b3992bc7 790
252b5132
RH
791Sun Oct 4 22:17:05 1998 Ian Lance Taylor <ian@cygnus.com>
792
793 * ld-elfvers/vers16.dsym: Work correctly on a system without
794 versioned system libraries.
795
796Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
797
798 * ld-elfvers/vers.exp: Run tests on alpha-linux.
799 * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
800 Alpha's use of st_other.
801
8021998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
803
804 * ld-elfvers/vers.exp (vers16, vers16a): New tests.
805 * ld-elfvers/{vers16.*, vers16a.*}: New files.
806
807Thu Sep 17 17:18:19 1998 Nick Clifton <nickc@cygnus.com>
808
809 * ld-undefined/undefined.exp: Make undefined line test be an xfail
810 for arm/thunb elf toolchains.
811
812Wed Sep 9 14:10:15 1998 Nick Clifton <nickc@cygnus.com>
813
814 * ld-undefined/undefined.exp: change test for elf/dwarf2 targets.
815
816 * ld-srec/srec.exp: Arm-elf now passes this test.
817
818Wed Aug 19 11:59:19 1998 Nick Clifton <nickc@cygnus.com>
819
820 * ld-srec/srec.exp: Add arm/thumb-elf expected failures.
b3992bc7 821
252b5132
RH
822Thu Aug 13 12:41:58 1998 Ian Lance Taylor <ian@cygnus.com>
823
824 * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap
825 test if we don't have a static libbfd.a.
826
827Wed Aug 12 15:19:35 1998 Ian Lance Taylor <ian@cygnus.com>
828
829 Based on patch from H.J. Lu <hjl@gnu.org>:
830 * ld-srec/srec.exp: Add xfails for Alpha ELF targets.
831
832Mon Aug 10 15:42:20 1998 Richard Henderson <rth@cygnus.com>
833
834 * ld-scripts/weak.t (.text, .data): Focus data to be used.
835 (/DISCARD/): All the rest.
836 * ld-scripts/weak1.s, ld-scripts/weak2.s: Put stuff in .data.
837
838Fri Jul 24 18:37:17 1998 Ian Lance Taylor <ian@cygnus.com>
839
840 * config/default.exp: Create tmpdir/gas subdirectory, add a
841 symlink to as-new, and set gcc_gas_flag variable.
842 * lib/ld-lib.exp (default_ld_compile): If the compiler appears to
843 be gcc, use gcc_gas_flag when compiling.
844
845Thu Jul 23 12:23:29 1998 Ian Lance Taylor <ian@cygnus.com>
846
847 * ld-elfvers/vers.exp: Just check for i?86 rather than checking
848 for i386, i486, and i586.
849 (objdump_versionstuff): If we can't find the line, dump the file.
850
851Fri Jul 3 00:27:41 1998 Ian Lance Taylor <ian@cygnus.com>
852
853 * ld-scripts/phdrs.exp: Run test on *-*-eabi*.
854 * ld-scripts/weak.exp: Likewise.
855
856Wed Jul 1 10:51:46 1998 Nick Clifton <nickc@cygnus.com>
857
858 * ld-srec/srec.exp: Add xfail for v850.
859
860 * ld-undefined/undefined.exp: arm and thumb PE toolchains now pass
861 these tests.
862
863Fri Jun 19 17:12:52 1998 Ian Lance Taylor <ian@cygnus.com>
864
865 * ld-scripts/weak.exp: New test.
866 * ld-scripts/weak.t: New file.
867 * ld-scripts/weak1.s: New file.
868 * ld-scripts/weak2.s: New file.
869
870Tue Jun 16 12:40:38 1998 Geoff Keating <geoffk@ozemail.com.au>
871
872 * ld-elfvers/vers.exp: Run tests on powerpc ELF targets.
873 * ld-shared/shared.exp: Likewise.
874 * ld-elfvers/vers1.dsym: Allow for .sdata.
875 * ld-srec/srec.exp: Add setup_xfails for PowerPC Linux.
876
877Fri May 29 15:02:50 1998 Ian Lance Taylor <ian@cygnus.com>
878
879 * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
b3992bc7 880 (run_srec_test): On mn10200, define __truncsipsi2_do_d2.
252b5132
RH
881 * ld-srec/sr1.c (__main): Change return type to void.
882 * ld-srec/sr3.cc (__main): Likewise.
883 (__builtin_delete, __builtin_new): Likewise.
884 (__get_dynamic_handler_chain): Return 0.
885 (__get_eh_context): Likewise.
886
887Thu May 21 15:21:33 1998 Nick Clifton <nickc@cygnus.com>
888
889 * ld-undefined/undefined.exp: Add support for thumb-pe target.
890 * ld-srec/srec.exp: Add support for arm-pe and thumb-pe targets.
891
892Mon May 4 17:54:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
893
894 * ld-shared/shared.exp: Remove setup_xfails for m68k-linux.
895
896Mon May 4 17:12:06 1998 Ian Lance Taylor <ian@cygnus.com>
897
898 * ld-shared/main.c (shlib_overriddencall2): New function.
899 (main): Call shlib_shlibcall2.
900 * ld-shared/sh1.c (shlib_shlibcall2): New function.
901 (shlib_overriddencall2): New function.
902 * ld-shared/shared.dat: Add output line for new test.
903 * ld-shared/sun4.dat: Likewise.
904
905 * ld-srec/sr3.cc (__get_eh_context): New function.
906
907Tue Apr 7 12:50:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
908
909 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be static to
910 avoid compiler warning.
911 * ld-srec/sr3.cc (class Foo): Likewise.
912
913Tue Feb 10 16:42:40 1998 Ian Lance Taylor <ian@cygnus.com>
914
915 * ld-srec/sr3.cc (__get_dynamic_handler_chain): New function.
916
917Mon Feb 2 14:17:48 1998 Ian Lance Taylor <ian@cygnus.com>
918
919 * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target.
920
921Thu Dec 18 11:13:28 1997 Nick Clifton <nickc@cygnus.com>
922
923 * ld-srec/srec.exp: Duplicated Arm patch for Thumb targets.
924
925Tue Dec 2 09:50:19 1997 Nick Clifton <nickc@cygnus.com>
926
927 * ld-srec/srec.exp: Applied patch from Tony.Thompson@arm.com which
928 fixes ARM tests.
929
930Mon Dec 1 16:12:05 1997 Nick Clifton <nickc@cygnus.com>
931
932 * ld-srec/srec.exp: Add expected failures of tests 1 and 2 for ARM
933 coff targets.
934
935Wed Nov 12 14:18:31 1997 Ian Lance Taylor <ian@cygnus.com>
936
937 * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to
938 avoid compiler warning.
939 * ld-srec/sr3.cc (class Foo): Likewise.
940
941Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com>
942
943 * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to
944 have any name when looking for entry symbol warnings.
945
946 * ld-srec/sr3.cc (__eh_pc): Define.
947
948Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com>
949
950 * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and
b3992bc7 951 __throw, since the current g++ expects them to be defined.
252b5132
RH
952
953Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com>
954
955 * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output
956 file if the string libc appears in it.
957 (objdump_versionstuff): Accept unexpected lines in the output
958 file. Compare lines using string match.
959 * ld-elfvers/vers6.ver: Permit any value in the vna_other field.
960
961Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com>
962
963 * ld-scripts/crossref.exp: Correct string quoting.
964
965Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com>
966
967 * config/default.exp: Change ld, as, nm and strip from .new to
968 -new. Load ld-lib.exp rather than ld.exp.
969 * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
970 * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
971 DejaGnu changes.
972
973Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com>
974
975 * ld-elfvers/vers.exp: Use egrep rather than grep when looking for
976 an alternation. From Greg Margo <gmargo@dl.com>.
977
978Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
979
980 * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests
981 with non PIC shared libraries.
982
983Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com>
984
985 * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
986 version handling.
987
988Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
989
990 * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well.
991
992Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com>
993
994 * ld-srec/srec.exp: Define __get_dynamic_handler_chain when
995 linking.
996
997Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com>
998
999 * config/default.exp: Use $base_dir rather than $objdir when
1000 setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>.
1001
1002Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com)
1003
1004 * ld-srec/srec.exp: Define various out of line prologue/epilogue
1005 functions for the mn10200 to avoid needing libgcc.a.
1006
1007Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com>
1008
1009 * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*.
1010
1011Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com>
1012
1013 * ld-elfvers/vers.exp: Don't run on SunOS or AIX.
1014
1015Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>
1016
1017 * ld-elfvers/vers.exp, *: New tests for symbol versioning.
1018 * config/default.exp: Set ar and strip.
1019
1020Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com>
1021
1022 * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of
1023 prune_system_crud.
1024 * ld-cdtest/cdtest.exp: Ditto.
1025 * ld-scripts/crossref.exp: Ditto.
1026 * ld-sh/sh.exp: Ditto.
1027 * ld-shared/shared.exp: Ditto.
1028 * ld-srec/srec.exp: Ditto.
1029 * lib/ld.exp: Ditto.
1030
1031Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com>
1032
1033 * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir.
1034 * ld-scripts/script.exp: Ditto.
1035 * ld-sh/sh.exp: Ditto.
1036 * ld-undefined/undefined.exp: Ditto.
1037 * ld-versados/versados.exp: Ditto.
1038 * lib/ld.exp: Ditto.
1039
1040Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com>
1041
1042 * ld-scripts/crossref.exp: Fix quoting for --defsym $global$.
1043
1044Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com>
1045
1046 * lib/ld.exp (default_ld_version): Fix for current version
1047 printing.
1048
1049Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com>
1050
1051 * ld-scripts/crossref.exp: Define $global$ for hppa-elf.
1052
1053Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com>
1054
1055 * ld-scripts/cross2.t: Map XCOFF sections to .text or .data.
1056
1057 * lib/ld.exp: Use verbose -log instead of calling both verbose and
1058 send_log.
1059
1060Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com>
1061
1062 * ld-scripts/phdrs.exp: New test.
1063 * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files.
1064
1065Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com>
1066
1067 * ld-scripts/crossref.exp: On a29k targets, use --defsym to define
1068 V_SPILL and V_FILL.
1069
1070Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com>
1071
1072 * ld-scripts/crossref.exp: New test.
1073 * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files.
1074 * ld-scripts/{cross1.t, cross2.t}: New files.
1075
1076Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com>
1077
1078 * ld-sh/sh.exp: Fix debugging messages.
1079 * ld-sh/sh1.s: Use .align 4.
1080
1081Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com>
1082
1083 * ld-sh/sh.exp: Use -O when compiling with -mrelax.
1084
1085Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1086
1087 * ld-shared/shared.exp: Run the shared library tests on
b3992bc7 1088 Linux/m68k.
252b5132
RH
1089
1090Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com>
1091
1092 * ld-shared/shared.exp: Run the shared library tests on Linux.
1093
1094Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com>
1095
1096 * ld-shared/shared.exp: Don't use -fpic on MIPS targets.
1097
1098Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com)
1099
1100 * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*.
1101 * ld-undefined/undefined.exp: Likewise.
1102
1103Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com>
1104
1105 * ld-undefined/undefined.exp: ELF targets should now pass the
1106 undefined line test.
1107
1108Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com>
1109
1110 * ld-empic/empic.exp: Update for change to MIPS disassembler.
1111
1112Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com>
1113
1114 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
1115 when doing the --static test.
1116 * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
1117
1118Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com>
1119
1120 * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option
1121 when creating ld-partial.o.
1122
1123Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com>
1124
1125 * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define
1126 __eabi.
1127
1128Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com>
1129
1130 * ld-srec/srec.exp: Add setup_xfails for XCOFF targets.
1131
1132Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
1133
1134 * ld-srec/srec.exp: On a29k targets, use --defsym to define
1135 V_SPILL and V_FILL.
1136 * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions.
1137 * ld-srec/sr3.cc: Likewise.
1138
1139 * ld-srec/srec.exp: Remove i960 COFF setup_xfail.
1140
1141Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
1142
1143 * ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
1144
1145Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
1146
1147 * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.
1148
1149Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com>
1150
1151 * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets.
1152
1153Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com>
1154
1155 * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*.
1156
1157 * ld-srec/sr1.c (V_SPILL, V_FILL): Define.
1158 * ld-srec/sr3.cc: Likewise.
1159
1160Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com>
1161
1162 * ld-empic/empic.exp: Update for changes in objdump output.
1163
1164Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com>
1165
1166 * ld-srec/srec.exp: New tests.
1167 * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files.
1168 * lib/ld.exp (ld_simple_link): Discard warnings about not being
1169 able to find the entry symbol.
1170
1171Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com>
1172
1173 * ld-sh/sh2.c (__main): Define.
1174
1175Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com>
1176
1177 * ld-empic/empic.exp: Accept a . in the address symbol.
1178
1179 * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
1180 powerpc*-*-aix*. Add code to create appropriate exports files,
1181 and pass appropriate compilation flags, and test against
1182 appropriate expected output.
1183 * ld-shared/xcoff.dat: New file.
1184 * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
1185 not be linked using XCOFF. Use shlib_shlibvar1 as a sample
1186 function pointer, rather than shlib_mainvar.
1187 * ld-shared/sh1.c: Likewise.
1188 * ld-shared/shared.dat: Update for change from using shlib_mainvar
1189 to using shlib_shlibvar1.
1190 * ld-shared/sun4.dat: Likewise.
1191
1192Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com>
1193
1194 * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for
1195 convenience when testing XCOFF.
1196
1197Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com>
1198
1199 * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp
1200 along with --static.
1201
1202 * ld-scripts/script.s: Make symbols global.
1203
1204Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com>
1205
1206 * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*.
1207
1208Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com>
1209
1210 * ld-undefined/undefined.exp: Use -e when invoking the linker, to
1211 prevent the SunOS linker from trying to create a shared library.
1212
1213Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com>
1214
1215 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
1216 appropriate modifications and setup_xfails.
1217 * ld-shared/sun4.dat: New file.
1218
1219Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com>
1220
1221 * lib/ld.exp (default_ld_version): Call prune_system_crud.
1222 (default_ld_relocate, default_ld_link): Likewise.
1223 (default_ld_simple_link, default_ld_compile): Likewise.
1224 (default_ld_assemble, default_ld_nm): Likewise.
1225
1226Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
1227
1228 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the
1229 tests as untested rather than unresolved.
1230
1231Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com)
1232
1233 * ld-sh/sh.exp: Call prune_system_crud on the output of cmp.
1234
1235Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com>
1236
1237 * ld-scripts/script.exp: Split script verification into a proc.
1238 Add simple test of MRI script.
1239 * ld-scripts/scriptm.t: New file.
1240
1241Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com>
1242
1243 * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when
1244 appropriate.
1245
1246Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com>
1247
1248 * config/default.exp: Define objcopy if it is not defined.
1249 * ld-sh/*: New tests for SH relaxing.
1250
1251 * ld-empic/empic.exp: If $CC does not exist, call untested rather
1252 than unresolved.
1253
1254Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com>
1255
1256 * ld-undefined/undefined.exp: If $CC does not exist, mark the
1257 tests as untested rather than unresolved. Clear ELF xfails for
1258 mips*, not just mips.
1259
1260Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com>
1261
1262 * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for
1263 undefined line test.
1264
1265Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com>
1266
1267 * ld-undefined/undefined.exp: New test, to check reporting of
1268 undefined symbols.
1269 * ld-undefined/undefined.c: New file.
1270
1271Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com>
1272
1273 * ld-versados/versados.exp: If a test fails, report it correctly:
1274 don't try to run the next test, and don't report a pass as well as
1275 a fail.
1276
1277Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
1278
a2b64bed 1279 * versados/(t1,t2).ld: End in newlines.
252b5132
RH
1280
1281Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1282
1283 * lib/ld.exp (default_ld_compile): If cc argument is multiple
1284 words, use only the first when trying to verify the availability
1285 of the compiler.
1286
1287Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com>
1288
1289 * ld-scripts/defined.t: Mention .data and .bss explicitly.
1290
1291Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
1292
1293 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,
1294 call untested for each test, rather than ignoring it. If one test
1295 fails, go on to the next one instead of returning.
1296 * ld-cdtest/cdtest.exp: If compilations fail, mark tests as
1297 unresolved.
1298 * ld-empic/empic.exp: Likewise. Also, always pass the same test
1299 name to pass or fail.
1300 * ld-shared/shared.exp: Likewise. Also, always run all tests.
1301 * ld-scripts/defined.exp: If as or nm fail, mark test as
1302 unresolved. Always pass the same test name to pass or fail.
1303 * ld-scripts/script.exp: Likewise.
1304 * ld-scripts/sizeof.exp: Likewise.
1305
1306Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
1307
1308 * ld-scripts/sizeof.exp: New test, based on bug report from
1309 anders.blomdell@control.lth.se.
1310 * ld-scripts/sizeof.s: New file.
1311 * ld-scripts/sizeof.t: New file.
1312
1313Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
1314
1315 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see
1316 if the linker exists.
1317
1318Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
1319
1320 * lib/ld.exp (prune_system_crud): Define if not already defined,
1321 in case the user isn't using the newest DejaGnu version that we
1322 haven't released to the net yet.
1323
1324Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
1325
1326 * config/default.exp: Define objdump if it is not defined.
1327 * ld-empic/*: New tests to test -membedded-pic code.
1328
1329Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1330
1331 * ld-bootstrap/bootstrap.exp: Pass cmp output through
1332 prune_system_crud.
1333 * ld-cdtest/cdtest.exp: Pass diff output through
1334 prune_system_crud.
1335 * ld-shared/shared.exp: Likewise.
1336
1337 * config/default.exp: Remove unused and useless proc ld_load.
1338
1339Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1340
1341 * lib/ld.exp (default_ld_compile): Remove the output file before
1342 compiling.
1343
1344 * ld-shared/shared.exp: Move common test code into a procedure.
1345 Add tests for compiling the non shared code PIC.
1346 * ld-shared/main.c (main): Call main_called, and print the result.
1347 * ld-shared/shared.dat: Adjust accordingly.
1348
1349Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
1350
1351 * ld-shared: New directory, with new files to test generating ELF
1352 shared libraries.
1353
1354 * lib/ld.exp (default_ld_compile): If the compilation worked, but
1355 no object file was created, check to see if the compiler foolishly
1356 ignored the -o switch when compiling, and move the resulting
1357 object if it did.
1358
1359Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1360
1361 * VMS does not permits `.' in directory names. Renamed
1362 ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
1363 ld.scripts to ld-scripts.
1364
1365Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1366
1367 * config/default.exp: Set variables as and nm. Create tmpdir if
1368 it does not already exist.
1369 * ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
1370 * ld.cdtest/cdtest.exp: Likewise.
1371 * ld.scripts/defined.exp: Likewise. Also, don't set as and nm
1372 here. Change perror for no variables found to fail.
1373 * ld.scripts/script.exp: New test.
1374 * ld.scripts/script.t, ld.scripts/script.s: New files.
1375
1376Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1377
1378 * ld.scripts: New directory.
1379 * ld.scripts/defined.exp, ld.scripts/defined.s: New files.
1380 * ld.scripts/defined.t: New file.
1381 * lib/ld.exp (default_ld_simple_link): New function.
1382 (default_ld_assemble, default_ld_nm): New functions.
1383 * config/default.exp: Rename from unix-ld.exp.
1384 (ld_simple_link, ld_assemble, ld_nm): New functions.
1385
1386 * config/unix-ld.exp: Set ld using findfile.
1387 * lib/ld.exp (default_ld_relocate): Return a value. Change format
1388 of log messages.
1389 (default_ld_compile): Likewise.
1390 (default_ld_link): Likewise. Also, don't include $BFDLIB and
1391 $LIBIBERTY in link.
1392 * ld.bootstrap/bootstrap.exp: Rewrite.
1393 * ld.cdtest/cdtest.exp: Rewrite.
1394 * ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
1395 * ld.cdtest/cdtest-foo.h: Likewise.
1396 * ld.cdtest/cdtest-main.cc: Likewise.
1397
1398Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com)
1399
1400 * ld.cdtest/cdtest.exp: Don't look for $result before it's
1401 defined.
1402
1403Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com)
1404
1405 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc
1406 calls with perror calls.
1407
1408Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
1409
1410 * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
1411 * ld.cdtest/cdtest.exp: Adjusted.
1412
1413Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
1414
1415 * lib/ld.exp (simple_diff): Indicate failure if files have
1416 different numbers of lines. Don't muck with $differences to avoid
1417 indicating a pass, just return.
1418
a2b64bed 1419 * ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}:
252b5132
RH
1420 Fix test case to be valid ANSI C++. Don't require use of header
1421 files, so "../gcc/xgcc -B../gcc/" can be used for CXX.
a2b64bed 1422 * ld.cdtest/cdtest.exp: Combine "rm" lines. Add some
252b5132
RH
1423 commentary on things that are still broken with this test case.
1424
1425Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com)
1426
a2b64bed 1427 * ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage.
252b5132
RH
1428
1429Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
1430
a2b64bed
NC
1431 * lib/ld.exp: add compiler and linker support
1432 * config/unix-ld.exp: add compiler and linker support
1433 * ld.bootstrap/bootstrap.exp: fixed to do partial links
1434 * ld.cdtest/cdtest.exp: constructor/destructor testscase
252b5132
RH
1435
1436Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
1437
a2b64bed
NC
1438 * lib/ld.exp: new file
1439 * config/unix-ld.exp: new file
1440 * ld.bootstrap/bootstrap.exp: new file