aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/defined.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/defined.exp')
-rw-r--r--ld/testsuite/ld-scripts/defined.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-scripts/defined.exp b/ld/testsuite/ld-scripts/defined.exp
index eb416df..075bf56 100644
--- a/ld/testsuite/ld-scripts/defined.exp
+++ b/ld/testsuite/ld-scripts/defined.exp
@@ -28,7 +28,7 @@ if ![ld_assemble $as $srcdir/$subdir/defined.s tmpdir/def.o] {
if ![ld_simple_link $ld tmpdir/def "-T $srcdir/$subdir/defined.t tmpdir/def.o"] {
fail $testname
} else {
- if ![ld_nm $nm tmpdir/def] {
+ if ![ld_nm $nm "" tmpdir/def] {
unresolved $testname
} else {
if {![info exists nm_output(value1)] \