diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2002-05-07 11:08:57 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2002-05-07 11:08:57 +0000 |
commit | 3e3f011f9342b3ae7fd2f4b0e9a1484be6a31d60 (patch) | |
tree | 0f400df6d751c416063420d40b895933e86a3259 /ld/testsuite/ld-scripts/weak.exp | |
parent | 9f88b410a04363dbc584211667fcc3b565f37466 (diff) | |
download | gdb-3e3f011f9342b3ae7fd2f4b0e9a1484be6a31d60.zip gdb-3e3f011f9342b3ae7fd2f4b0e9a1484be6a31d60.tar.gz gdb-3e3f011f9342b3ae7fd2f4b0e9a1484be6a31d60.tar.bz2 |
* lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.
(is_elf_format): New, extracted from...
* ld-scripts/weak.exp: ...here.
* ld-scripts/overlay-size.exp: New test.
* ld-scripts/overlay-size.[tsd],
* ld-scripts/overlay-size-map.d: New files for it.
Diffstat (limited to 'ld/testsuite/ld-scripts/weak.exp')
-rw-r--r-- | ld/testsuite/ld-scripts/weak.exp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ld/testsuite/ld-scripts/weak.exp b/ld/testsuite/ld-scripts/weak.exp index f5d6e20..3167ea4 100644 --- a/ld/testsuite/ld-scripts/weak.exp +++ b/ld/testsuite/ld-scripts/weak.exp @@ -21,22 +21,10 @@ set testname "weak symbols" # This test only works for ELF targets. It ought to work for some # a.out targets, but it doesn't. - -if { ![istarget *-*-sysv4*] \ - && ![istarget *-*-unixware*] \ - && ![istarget *-*-elf*] \ - && ![istarget *-*-eabi*] \ - && ![istarget *-*-linux*] \ - && ![istarget *-*-irix5*] \ - && ![istarget *-*-irix6*] \ - && ![istarget *-*-solaris2*] } then { +if ![is_elf_format] { return } -if { [istarget *-*-linux*aout*] \ - || [istarget *-*-linux*oldld*] } { - return -} if {! [ld_assemble $as $srcdir/$subdir/weak1.s tmpdir/weak1.o] || ! [ld_assemble $as $srcdir/$subdir/weak2.s tmpdir/weak2.o]} then { |