mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
* ld-scripts/map-address.exp: Quote conditions.
This commit is contained in:
@ -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>
|
2002-04-30 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
* ld-scripts/map-address.exp: New test.
|
* ld-scripts/map-address.exp: New test.
|
||||||
|
@ -18,19 +18,19 @@
|
|||||||
set testname "map addresses"
|
set testname "map addresses"
|
||||||
|
|
||||||
# The source file doesn't matter. Pinch one from the sizeof test.
|
# 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
|
unresolved $testname
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if ![ld_simple_link $ld tmpdir/map-address \
|
if {![ld_simple_link $ld tmpdir/map-address \
|
||||||
"-T $srcdir/$subdir/map-address.t \
|
"-T $srcdir/$subdir/map-address.t \
|
||||||
tmpdir/map-address.o \
|
tmpdir/map-address.o \
|
||||||
-Map tmpdir/map-address.map"] {
|
-Map tmpdir/map-address.map"]} {
|
||||||
fail $testname
|
fail $testname
|
||||||
} elseif [regexp_diff \
|
} elseif {[regexp_diff \
|
||||||
"tmpdir/map-address.map" \
|
"tmpdir/map-address.map" \
|
||||||
"$srcdir/$subdir/map-address.d"] {
|
"$srcdir/$subdir/map-address.d"]} {
|
||||||
fail $testname
|
fail $testname
|
||||||
} else {
|
} else {
|
||||||
pass $testname
|
pass $testname
|
||||||
|
Reference in New Issue
Block a user