diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2002-11-11 10:16:57 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2002-11-11 10:16:57 +0000 |
commit | b7b0b729640771030ea4708abd9f686f820255d8 (patch) | |
tree | 76bf58813f7c6781f0317fa5b269d9acdc2b7762 /ld/testsuite/lib | |
parent | 9df59bba97f148fbc5b85735cad107fddcf16ee4 (diff) | |
download | gdb-b7b0b729640771030ea4708abd9f686f820255d8.zip gdb-b7b0b729640771030ea4708abd9f686f820255d8.tar.gz gdb-b7b0b729640771030ea4708abd9f686f820255d8.tar.bz2 |
* ld-elf/sec64k.exp: New test.
* lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/"
to a source file starting with "/".
Diffstat (limited to 'ld/testsuite/lib')
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index c70cf5b..4217636 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -678,7 +678,11 @@ proc run_dump_test { name } { } else { set sourcefiles {} foreach sf $opts(source) { - lappend sourcefiles "$srcdir/$subdir/$sf" + if { [string match "/*" $sf] } { + lappend sourcefiles "$sf" + } { + lappend sourcefiles "$srcdir/$subdir/$sf" + } # Must have asflags indexed on source name. set asflags($srcdir/$subdir/$sf) $asflags($sf) } |