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