]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-scripts/map-address.exp
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-scripts / map-address.exp
index 6ddad412cab47b0d22b64cde2d745303b0829cd0..499a82419209f6991fa9f01733ef98ba0f33aabc 100644 (file)
@@ -1,5 +1,5 @@
 # Test address printed by --print-map
-# Copyright 2002, 2007 Free Software Foundation, Inc.
+# Copyright 2002, 2005, 2007 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -31,7 +31,14 @@ if {![ld_simple_link $ld tmpdir/map-address \
          tmpdir/map-address.o \
          -Map tmpdir/map-address.map"]} {
     fail $testname
-} elseif {[regexp_diff \
+    return
+}
+
+if [is_remote host] then {
+    remote_upload host "tmpdir/map_address.map"
+}
+
+if {[regexp_diff \
               "tmpdir/map-address.map" \
               "$srcdir/$subdir/map-address.d"]} {
     fail $testname