diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-07-24 11:07:16 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-07-24 11:07:16 +0000 |
commit | 746476dc0f995b12dd4403ec12a8aabb7e699663 (patch) | |
tree | e056876536d288c2b5154c9e33837beed63775f8 /ld/testsuite/ld-scripts | |
parent | ccd46c6d962dbce0863dae0b245c7553d6bd765a (diff) | |
download | binutils-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.exp | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/script.exp | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/sizeof.exp | 2 |
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 } |