From 77e0b0efdb413771a7e3b2ff89d58ec21ffb9e58 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 4 Jun 1999 20:49:14 +0000 Subject: [PATCH] 1999-06-04 H.J. Lu * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if necessary. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/lib/ld-lib.exp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index dd891d43f03..9355b9bcbbe 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +1999-06-04 H.J. Lu + + * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if + necessary. + 1999-05-17 Nick Clifton * 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 24a41310901..19a180b2014 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" -- 2.30.2