aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-04 20:49:14 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-04 20:49:14 +0000
commit77e0b0efdb413771a7e3b2ff89d58ec21ffb9e58 (patch)
tree3dde8bc2a37e09ee1fa7c8bff43855409c8b061c /ld
parentdc1bc0c9a560b4d1d69836fc7e4068c90249291b (diff)
downloadgdb-77e0b0efdb413771a7e3b2ff89d58ec21ffb9e58.zip
gdb-77e0b0efdb413771a7e3b2ff89d58ec21ffb9e58.tar.gz
gdb-77e0b0efdb413771a7e3b2ff89d58ec21ffb9e58.tar.bz2
1999-06-04 H.J. Lu <hjl@gnu.org>
* lib/ld-lib.exp (default_ld_nm): Clear nm_output first if necessary.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/lib/ld-lib.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index dd891d4..9355b9bc 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+1999-06-04 H.J. Lu <hjl@gnu.org>
+
+ * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
+ necessary.
+
1999-05-17 Nick Clifton <nickc@cygnus.com>
* ld-undefined/undefined.exp: Add xfail for mcore-elf.
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index 24a4131..19a180b 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -207,6 +207,10 @@ proc default_ld_nm { nm object } {
return 0
}
+ if {[info exists nm_output]} {
+ unset nm_output
+ }
+
if ![info exists NMFLAGS] { set NMFLAGS "" }
verbose -log "$nm $NMFLAGS $object >tmpdir/nm.out"