diff options
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) } |