bfd:
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / map-address.exp
index 7264f1386ce77ba67f79e07112648a066cb6addc..c8fe6535830aeb1a339cc4562a664ca72ca878e7 100644 (file)
@@ -1,19 +1,22 @@
 # Test address printed by --print-map
-# Copyright 2002 Free Software Foundation, Inc.
+# Copyright 2002, 2007 Free Software Foundation, Inc.
 #
-# This file is free software; you can redistribute it and/or modify
+# This file is part of the GNU Binutils.
+#
+# This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+# MA 02110-1301, USA.
 
 set testname "map addresses"
 
@@ -28,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
This page took 0.024374 seconds and 4 git commands to generate.