Index: ld/testsuite/ld-x86-64/x86-64.exp |
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp |
index 1eb1b1c64c8b97b22fd2b73dcde56333a08aab65..5b60033acaa29b30ca4870cd80bc798013388723 100644 |
--- a/ld/testsuite/ld-x86-64/x86-64.exp |
+++ b/ld/testsuite/ld-x86-64/x86-64.exp |
@@ -1,5 +1,5 @@ |
# Expect script for ld-x86_64 tests |
-# Copyright (C) 2002, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
+# Copyright (C) 2002, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 |
# Free Software Foundation |
# |
# This file is part of the GNU Binutils. |
@@ -162,7 +162,7 @@ global ld |
set test_name "Mixed x86_64 and i386 input test 1" |
set test mixed1 |
if { ![ld_simple_link $ld tmpdir/$test "-m$emul tmpdir/${test}a.o tmpdir/${test}b.o"] } { |
- if [string match "*i386 architecture of input file `tmpdir/${test}b.o' is incompatible with i386:x86-64 output*" $link_output] { |
+ if [string match "*i386* architecture of input file `tmpdir/${test}b.o' is incompatible with i386:x86-64* output*" $link_output] { |
pass "$test_name" |
} { |
fail "$test_name" |
@@ -172,7 +172,7 @@ if { ![ld_simple_link $ld tmpdir/$test "-m$emul tmpdir/${test}a.o tmpdir/${test} |
set test_name "Mixed x86_64 and i386 input test 2" |
set test mixed2 |
if { ![ld_simple_link $ld tmpdir/$test "-m$emul tmpdir/${test}a.o tmpdir/${test}b.o"] } { |
- if [string match "*i386 architecture of input file `tmpdir/${test}b.o' is incompatible with i386:x86-64 output*" $link_output] { |
+ if [string match "*i386* architecture of input file `tmpdir/${test}b.o' is incompatible with i386:x86-64* output*" $link_output] { |
pass "$test_name" |
} { |
fail "$test_name" |