1999-06-04 H.J. Lu <hjl@gnu.org>

* lib/ld-lib.exp (default_ld_nm): Clear nm_output first if
	necessary.
This commit is contained in:
Ian Lance Taylor 1999-06-04 20:49:14 +00:00
parent dc1bc0c9a5
commit 77e0b0efdb
2 changed files with 9 additions and 0 deletions

View file

@ -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.

View file

@ -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"