aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-07-24 11:07:16 +0000
committerAlan Modra <amodra@gmail.com>2001-07-24 11:07:16 +0000
commit992c450de818e9063b013fde2da43db163cc1966 (patch)
treeec7b46dd7b719083801ac7bf97734060e16da0a3 /ld/testsuite/ld-scripts
parent2f45a6e05b297e75c9e7ec29ef57dd7183738b3d (diff)
downloadgdb-992c450de818e9063b013fde2da43db163cc1966.zip
gdb-992c450de818e9063b013fde2da43db163cc1966.tar.gz
gdb-992c450de818e9063b013fde2da43db163cc1966.tar.bz2
* 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 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)] \
diff --git a/ld/testsuite/ld-scripts/script.exp b/ld/testsuite/ld-scripts/script.exp
index d810851..a7f6bad 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 4b7b024..5bb957a 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
}