diff options
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r-- | ld/testsuite/ld-scripts/map-address.exp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ld/testsuite/ld-scripts/map-address.exp b/ld/testsuite/ld-scripts/map-address.exp index 510d532..7264f13 100644 --- a/ld/testsuite/ld-scripts/map-address.exp +++ b/ld/testsuite/ld-scripts/map-address.exp @@ -18,19 +18,19 @@ set testname "map addresses" # The source file doesn't matter. Pinch one from the sizeof test. -if ![ld_assemble $as $srcdir/$subdir/sizeof.s tmpdir/map-address.o] { +if {![ld_assemble $as $srcdir/$subdir/sizeof.s tmpdir/map-address.o]} { unresolved $testname return } -if ![ld_simple_link $ld tmpdir/map-address \ +if {![ld_simple_link $ld tmpdir/map-address \ "-T $srcdir/$subdir/map-address.t \ tmpdir/map-address.o \ - -Map tmpdir/map-address.map"] { + -Map tmpdir/map-address.map"]} { fail $testname -} elseif [regexp_diff \ - "tmpdir/map-address.map" \ - "$srcdir/$subdir/map-address.d"] { +} elseif {[regexp_diff \ + "tmpdir/map-address.map" \ + "$srcdir/$subdir/map-address.d"]} { fail $testname } else { pass $testname |