mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* ld-scripts/map-address.exp: Quote conditions.
This commit is contained in:
parent
03620c38e4
commit
a155881bab
@ -1,3 +1,7 @@
|
||||
2002-05-02 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* ld-scripts/map-address.exp: Quote conditions.
|
||||
|
||||
2002-04-30 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* ld-scripts/map-address.exp: New test.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user