+2000-10-19 Chris Demetriou <cgd@sibyte.com>
+
+ * binutils-all/readelf.exp (readelf_test): Work properly
+ when multiple targets expect failtures.
+ (readelf -S test, readelf -s test): Expect mips*-*-*
+ to fail.
+
2000-07-10 Alan Modra <alan@linuxcare.com.au>
* lib/utils-lib.exp (default_binutils_assemble): Don't do the hppa
send_log "exec $READELF $READELFFLAGS $options $binary_file > readelf.out\n"
catch "exec $READELF $READELFFLAGS $options $binary_file > readelf.out" got
- if { [llength $xfails] != 0 } then {
- setup_xfail $xfails
+ foreach xfail $xfails {
+ setup_xfail $xfail
}
if ![string match "" $got] then {
# The v850 fails the next two tests because it creates two special
# sections of its own: .call_table_data and .call_table_text
# The regexp scripts are not expecting these sections...
+# MIPS targets fail because they add .rela.txt (empty), .mdebug,
+# and .reginfo sections.
-readelf_test -S $tempfile readelf.s {v850*-*-*}
-readelf_test -s $tempfile readelf.ss {v850*-*-*}
+readelf_test -S $tempfile readelf.s {v850*-*-* mips*-*-*}
+readelf_test -s $tempfile readelf.ss {v850*-*-* mips*-*-*}
readelf_test -r $tempfile readelf.r {}