summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-07-24 11:07:16 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-07-24 11:07:16 +0000
commit746476dc0f995b12dd4403ec12a8aabb7e699663 (patch)
treee056876536d288c2b5154c9e33837beed63775f8 /ld/testsuite/ld-scripts
parentccd46c6d962dbce0863dae0b245c7553d6bd765a (diff)
downloadbinutils-redhat-746476dc0f995b12dd4403ec12a8aabb7e699663.tar.gz
* config/default.exp (ld_nm): Add "nmflags" arg.
* lib/ld-lib.exp (default_ld_nm): Likewise. * ld-empic/empic.exp: Adjust call to ld_nm. * ld-scripts/defined.exp: Likewise. * ld-scripts/script.exp: Likewise. * ld-scripts/sizeof.exp: Likewise. * ld-selective/selective.exp: Likewise. * ld-sh/sh.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/defined.exp2
-rw-r--r--ld/testsuite/ld-scripts/script.exp2
-rw-r--r--ld/testsuite/ld-scripts/sizeof.exp2
3 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-scripts/defined.exp b/ld/testsuite/ld-scripts/defined.exp
index eb416df3f9..075bf568ac 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)] \
diff --git a/ld/testsuite/ld-scripts/script.exp b/ld/testsuite/ld-scripts/script.exp
index d81085119f..a7f6bade1a 100644
--- a/ld/testsuite/ld-scripts/script.exp
+++ b/ld/testsuite/ld-scripts/script.exp
@@ -29,7 +29,7 @@ proc check_script { } {
global testname
global nm_output
- if ![ld_nm $nm tmpdir/script] {
+ if ![ld_nm $nm "" tmpdir/script] {
unresolved $testname
} else {
if {![info exists nm_output(text_start)] \
diff --git a/ld/testsuite/ld-scripts/sizeof.exp b/ld/testsuite/ld-scripts/sizeof.exp
index 4b7b024481..5bb957a950 100644
--- a/ld/testsuite/ld-scripts/sizeof.exp
+++ b/ld/testsuite/ld-scripts/sizeof.exp
@@ -30,7 +30,7 @@ if ![ld_simple_link $ld tmpdir/sizeof "-T $srcdir/$subdir/sizeof.t tmpdir/sizeof
return
}
-if ![ld_nm $nm tmpdir/sizeof] {
+if ![ld_nm $nm "" tmpdir/sizeof] {
unresolved $testname
return
}