diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp index b6d633d9db..3bb10a5498 100644 --- a/ld/testsuite/ld-srec/srec.exp +++ b/ld/testsuite/ld-srec/srec.exp @@ -276,7 +276,7 @@ if { ![ld_compile $CC $srcdir/$subdir/sr1.c tmpdir/sr1.o] \ # The i386-aout target is confused: the linker does not put the # sections where objdump finds them. I don't know which is wrong. -setup_xfail "i[345]86-*-aout*" +setup_xfail "i\[345\]86-*-aout*" run_srec_test $test1 "tmpdir/sr1.o tmpdir/sr2.o" @@ -295,6 +295,6 @@ if ![ld_compile "$CXX $CXXFLAGS -fgnu-linker" $srcdir/$subdir/sr3.cc tmpdir/sr3. } # See above. -setup_xfail "i[345]86-*-aout*" +setup_xfail "i\[345\]86-*-aout*" run_srec_test $test2 "tmpdir/sr3.o"