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