aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2002-01-21 * ld-cris: New testsuite directory.Hans-Peter Nilsson4-0/+49
2002-01-15Add missing 'cp' commandNick Clifton2-1/+5
2002-01-14For ARM targets, link with libgcc.a.Nick Clifton2-2/+10
2002-01-022002-01-02 Chris Demetriou <cgd@broadcom.com>Chris Demetriou19-0/+347
* ld-mips-elf/empic1-ln.d: New file to test basic linking of R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations. * ld-mips-elf/empic1-lp.d: Likewise. * ld-mips-elf/empic1-mn.d: Likewise. * ld-mips-elf/empic1-mp.d: Likewise. * ld-mips-elf/empic1-sn.d: Likewise. * ld-mips-elf/empic1-sp.d: Likewise. * ld-mips-elf/empic1-ref.s: Likewise. * ld-mips-elf/empic1-space.s: Likewise. * ld-mips-elf/empic1-tgt.s: Likewise. * ld-mips-elf/empic2-fwd-0.d: New file to test R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge cases. * ld-mips-elf/empic2-fwd-1.d: Likewise. * ld-mips-elf/empic2-rev-0.d: Likewise. * ld-mips-elf/empic2-rev-1.d: Likewise. * ld-mips-elf/empic2-ref.s: Likewise. * ld-mips-elf/empic2-space.s: Likewise. * ld-mips-elf/empic2-fwd-tgt.s: Likewise. * ld-mips-elf/empic2-rev-tgt.s: Likewise. * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF tests (including those above).
2001-11-302001-11-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* ld-elfvers/vers.exp (build_vers_lib): Preserve the library order.
2001-11-302001-11-29 H.J. Lu <hjl@gnu.org>H.J. Lu7-4/+39
* ld-elfvers/vers.exp (build_vers_lib): Support linking against more than one libraries. Add "vers20a" and "vers20" tests for common symbols. * ld-elfvers/vers20.c: New. * ld-elfvers/vers20.dsym: New. * ld-elfvers/vers20.map: New. * ld-elfvers/vers20.ver: New. * ld-elfvers/vers20a.ver: New.
2001-11-192001-11-19 H.J. Lu <hjl@gnu.org>H.J. Lu8-6/+25
* ld-elfvsb/define.s: Mark all global lables as object. * ld-elfvsb/hidden0.d: Match large section number. * ld-elfvsb/hidden1.d: Likewise. * ld-elfvsb/internal0.d: Likewise. * ld-elfvsb/internal1.d: Likewise. * ld-elfvsb/protected0.d: Likewise. * ld-elfvsb/protected1.d: Likewise. * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT. * ld-elfvsb/internal0.d: Likewise. * ld-elfvsb/protected0.d: Likewise.
2001-11-152001-11-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* ld-sh/ld-r-1.d: Updated.
2001-11-14Only scan tail of executable for PE targets.Nick Clifton2-9/+21
2001-11-12Only compare the tail end of the two binary files produced in order to avoidNick Clifton2-3/+17
date stamp present in PE binaries.
2001-11-11 * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit.Hans-Peter Nilsson2-1/+5
2001-11-102001-11-09 H.J. Lu <hjl@gnu.org>H.J. Lu10-0/+101
* ld-discard/discard.exp: New. Test ld discard. * ld-discard/discard.ld: Likewise. * ld-discard/exit.s: Likewise. * ld-discard/extern.d: Likewise. * ld-discard/extern.s: Likewise. * ld-discard/start.d: Likewise. * ld-discard/start.s: Likewise. * ld-discard/static.d: Likewise. * ld-discard/static.s: Likewise.
2001-11-022001-11-02 H.J. Lu <hjl@gnu.org>H.J. Lu10-0/+86
* ld-elfvsb/elfvsb.exp: Add the "ld -r" test. * ld-elfvsb/hidden0.d: New. * ld-elfvsb/hidden1.d: New. * ld-elfvsb/internal0.d: New. * ld-elfvsb/internal1.d: New. * ld-elfvsb/protected0.d: New. * ld-elfvsb/protected1.d: New. * ld-elfvsb/undef.s: New. * ld-elfvsb/undef.s: New.
2001-11-02Fix testsuites for bigendian sh-linuxNick Clifton2-2/+13
2001-10-31 * ld-mmix/locdo-1.d: Prune character dump part.Hans-Peter Nilsson2-2/+3
2001-10-31 * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,Hans-Peter Nilsson22-25/+11
ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d, ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d, ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s, ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d, ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s, ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove unnecessary empty lines.
2001-10-30Add MMIX supportNick Clifton261-0/+5209
2001-10-15 * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run onHans-Peter Nilsson4-2/+6
sh*-*-elf.
2001-10-14 * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.Hans-Peter Nilsson2-1/+3
2001-10-14 * ld-sh/rd-sh.exp: New framework file.Hans-Peter Nilsson10-0/+183
* ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d, ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New test files.
2001-09-29Oops - forgot to remove xfailHans-Peter Nilsson1-1/+0
2001-09-29 * ld-linkonce/linkonce.exp: New file.Hans-Peter Nilsson6-0/+123
* ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld, ld-linkonce/zeroehl32.d: New test.
2001-09-252001-09-25 H.J. Lu <hjl@gnu.org>H.J. Lu6-8/+16
* ld-elfweak/dso.dsym: Updated for alpha. * ld-elfweak/dsodata.dsym: Likewise. * ld-elfweak/strong.sym: Likewise. * ld-elfweak/strongcomm.sym: Likewise. * ld-elfweak/strongdata.sym: Likewise.
2001-09-15 * lib/ld-lib.exp (run_dump_test): Handle new optionHans-Peter Nilsson2-3/+50
"objcopy_linked_file". Return after failing, if errors were expected but none were found. (slurp_options): Support underscores in option names.
2001-09-142001-09-14 H.J. Lu <hjl@gnu.org>H.J. Lu7-25/+52
* ld-elfweak/bar.c: Updated. * ld-elfweak/bar1a.c: Likewise. * ld-elfweak/main.c: Likewise. * ld-elfweak/main1.c: Likewise. * ld-elfweak/elfweak.exp: Likewise. * ld-elfweak/weakdata.dsym: Updated.
2001-09-112001-09-11 H.J. Lu <hjl@gnu.org>H.J. Lu17-15/+186
* ld-elfweak/elfweak.exp (build_lib): Take a list of object files. (build_exec): Likewise. Add more tests and make some xfail. * ld-elfweak/dso.dsym: Support symbol versioning. * ld-elfweak/dsow.dsym: Likewise. * ld-elfweak/main1.c: New. * ld-elfweak/bar1a.c: Likewise. * ld-elfweak/bar1b.c: Likewise. * ld-elfweak/bar1c.c: Likewise. * ld-elfweak/foo1a.c: Likewise. * ld-elfweak/foo1b.c: Likewise. * ld-elfweak/dsodata.dsym: Likewise. * ld-elfweak/dsowdata.dsym: Likewise. * ld-elfweak/weakdata.dsym: Likewise. * ld-elfweak/strongcomm.sym: Likewise. * ld-elfweak/strongdata.sym: Likewise. * ld-elfweak/weakdata.dat: Likewise. * ld-elfweak/strongdata.dat: Likewise.
2001-09-102001-09-10 H.J. Lu <hjl@gnu.org>H.J. Lu11-0/+447
* ld-elfweak/elfweak.exp: New. * ld-elfweak/bar.c: Likewise. * ld-elfweak/foo.c: Likewise. * ld-elfweak/main.c: Likewise. * ld-elfweak/dso.dsym: Likewise. * ld-elfweak/dsow.dsym: Likewise. * ld-elfweak/strong.sym: Likewise. * ld-elfweak/strong.dat: Likewise. * ld-elfweak/weak.dat: Likewise.
2001-08-27 * ld-checks/checks.exp: .lcomm is incompatible with ppc coff.Alan Modra6-5/+20
* ld-scripts/cross1.t: Add .toc section. * ld-scripts/cross2.t: Likewise. * ld-scripts/phdrs.exp: powerpc64 is 64 bit. * ld-srec/srec.exp: xfail powerpc64
2001-08-21Return if target is `vax-*-ultrix*'.Nick Clifton2-7/+17
Continue with other tests when there is a compilation error.
2001-08-01Do not require any exception support library. Check results against NRV.Nick Clifton3-17/+59
2001-08-01Do not require any exception support library.Nick Clifton2-1/+6
2001-07-272001-07-27 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* ld-selective/selective.exp: Fix the error in the last change.
2001-07-24 * ld-selective/selective.exp: Support g++ V3 ABI (along sideAlan Modra2-4/+18
the old ABI). Make comparisons against normalized (to V3-style) demangled nm output.
2001-07-24 * config/default.exp (ld_nm): Add "nmflags" arg.Alan Modra9-11/+22
* lib/ld-lib.exp (default_ld_nm): Likewise. * ld-empic/empic.exp: Adjust call to ld_nm. * ld-scripts/defined.exp: Likewise. * ld-scripts/script.exp: Likewise. * ld-scripts/sizeof.exp: Likewise. * ld-selective/selective.exp: Likewise. * ld-sh/sh.exp: Likewise.
2001-07-122001-07-12 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+9
* ld-selective/selective.exp: Mark selective1, selective2, selective4 and selective5 xfail on alpha*-*.
2001-06-13 * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,Hans-Peter Nilsson3-0/+555
OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide default. * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add new options "ld", "source", "xfail", "target", "notarget" and "error". Support the runtest_file_p "*.exp=testname" feature. (slurp_options, regexp_diff, file_contents, verbose_eval): Import from gas testsuite.
2001-06-12Correct setup_xfail rule.Nick Clifton2-1/+5
2001-06-10Move an entry to the correct ChangeLog.Alan Modra1-0/+13
2001-06-06Fix a typo.H.J. Lu1-1/+1
2001-06-062001-06-06 H.J. Lu <hjl@gnu.org>H.J. Lu9-10/+43
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 on Linux/mips. * ld-elfvers/vers.exp: Also run on istarget Linux/mips. * ld-elfvsb/elfvsb.exp: Likewise. * ld-shared/shared.exp: Likewise. * ld-selective/selective.exp: Mark selective2, selective3, selective4 and selective5 xfail on Linux/mips. * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips. * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips. * ld-srec/srec.exp: Add Linux/mips to xfail.
2001-06-06 * ld-undefined/undefined.exp: Add a setup_xfail line for a testAlan Modra2-0/+12
that will always fail on s/390.
2001-05-28For sh-*-linux-gnu target add a start address for the text section.Nick Clifton2-1/+13
2001-05-25s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/Alan Modra2-3/+8
2001-05-252001-05-24 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.
2001-05-182001-05-18 H.J. Lu <hjl@gnu.org>H.J. Lu6-5/+15
* ld-elfvers/vers.exp: Revert the last change. * ld-elfvers/vers2.ver: Put back "tmpdir/" the version references. * ld-elfvers/vers3.ver: Likewise. * ld-elfvers/vers6.ver: Likewise. * ld-elfvers/vers18.ver: Likewise.
2001-05-182001-05-17 H.J. Lu <hjl@gnu.org>H.J. Lu14-15/+33
* ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19". * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version definition. * ld-elfvers/vers2.ver: Likewise. * ld-elfvers/vers3.ver: Likewise. * ld-elfvers/vers4a.ver: Likewise. * ld-elfvers/vers6.ver: Likewise. * ld-elfvers/vers7a.ver: Likewise. * ld-elfvers/vers8.ver: Likewise. * ld-elfvers/vers9.ver: Likewise. * ld-elfvers/vers15.ver: Likewise. * ld-elfvers/vers16a.ver: Likewise. * ld-elfvers/vers17.ver: Likewise. * ld-elfvers/vers18.ver: Likewise.
2001-05-032001-05-03 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* ld-elfvers/vers19.ver: Expect vers17.so instead of *tmpdir/vers17.so.
2001-05-01 * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.Andreas Jaeger3-6/+16
* ld-scripts/phdrs.t: Use startaddress that's greater than any MAXPAGESIZE used.
2001-04-292001-04-29 H.J. Lu <hjl@gnu.org>H.J. Lu3-0/+21
* ld-shared/symbolic.dat: New. * ld-shared/shared.exp: Also check -Bsymbolic.
2001-04-28 * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle itAndreas Jaeger2-9/+14
special.