]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-scripts/default-script.exp
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-scripts / default-script.exp
index 202f5324dec0495754694c56028bdb28b7759fa3..2e6fce0a7c5f82843ccb43b2da84c58b1849be03 100644 (file)
@@ -1,5 +1,5 @@
 # Test --default-script/-dT
-#   Copyright 2007
+#   Copyright 2007, 2009
 #   Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
@@ -19,6 +19,7 @@
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
 # MA 02110-1301, USA.
 
+set old_ldflags $LDFLAGS
 if { [istarget spu*-*-*] } {
     set LDFLAGS "$LDFLAGS --local-store 0:0"
 }
@@ -30,3 +31,4 @@ foreach t $test_list {
     run_dump_test [file rootname $t]
 }
 
+set LDFLAGS $old_ldflags