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