* ld-srec/srec.exp: Don't use [] in setup_xfail expressions.

This commit is contained in:
Ian Lance Taylor 1995-12-02 06:17:46 +00:00
parent ffd1548911
commit 6ceb561287
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com>
* ld-srec/srec.exp: Don't use [] in setup_xfail expressions.
Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com>
* ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets.

View File

@ -276,12 +276,12 @@ 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*86-*-aout*"
# These tests fail on the MIPS ELF target because the GP value in the
# .reginfo section is not updated when the S-record version is written
# out.
setup_xfail "mips*-*-elf*" "mips*-*-irix\[56\]*"
setup_xfail "mips*-*-elf*" "mips*-*-irix5*" "mips*-*-irix6*"
run_srec_test $test1 "tmpdir/sr1.o tmpdir/sr2.o"
@ -300,14 +300,14 @@ if ![ld_compile "$CXX $CXXFLAGS -fgnu-linker" $srcdir/$subdir/sr3.cc tmpdir/sr3.
}
# See above.
setup_xfail "i\[345\]86-*-aout*"
setup_xfail "mips*-*-elf*" "mips*-*-irix\[56\]*"
setup_xfail "i*86-*-aout*"
setup_xfail "mips*-*-elf*" "mips*-*-irix5*" "mips*-*-irix6*"
# The i960 COFF targets fail this test because the i960 defaults to
# little endian, while the srec target is big endian. When the number
# of entries in the constructor table is written out, the linker uses
# the output BFD. This seems correct, but it generates the wrong
# result. I don't know how to fix this.
setup_xfail "i960*-*-coff*" "i960*-*-vxworks5.\[123456789\]*"
setup_xfail "i960*-*-coff*" "i960*-*-vxworks5.1*"
run_srec_test $test2 "tmpdir/sr3.o"