diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-04 20:49:14 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-04 20:49:14 +0000 |
commit | 3eea2c93b9f8e48760f97937a2ecf4af4d8c3a7b (patch) | |
tree | f0097d37b0dd1a44bf048e31f575a47a2c5fca1a /ld | |
parent | 42206de4d597b4f59324c95aefafac323e7e8a53 (diff) | |
download | binutils-redhat-3eea2c93b9f8e48760f97937a2ecf4af4d8c3a7b.tar.gz |
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/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index dd891d43f0..9355b9bcbb 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 24a4131090..19a180b201 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" |