X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-scripts%2Fmap-address.exp;fp=ld%2Ftestsuite%2Fld-scripts%2Fmap-address.exp;h=499a82419209f6991fa9f01733ef98ba0f33aabc;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hp=6ddad412cab47b0d22b64cde2d745303b0829cd0;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10;p=msp430-binutils.git diff --git a/ld/testsuite/ld-scripts/map-address.exp b/ld/testsuite/ld-scripts/map-address.exp index 6ddad41..499a824 100644 --- a/ld/testsuite/ld-scripts/map-address.exp +++ b/ld/testsuite/ld-scripts/map-address.exp @@ -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