Your gas change in testsuite is incorrect
H . J . Lu
hjl@valinux.com
Thu Jan 20 21:50:00 GMT 2000
Hi, Alan,
Your change
2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
* gas/i386/general.{s,l}: Add jmp and call tests for .code16gcc,
.code16, and .code32 modes.
is incorrect. I am enclosig gas/testsuite/gas/i386/i386.exp here.
As you can see, those tests won't work on i386/a.out. You need to
put them in gas/i386/white.[sl] or create a new one. Could you
please fix it?
Thanks.
--
H.J. Lu (hjl@gnu.org)
--
#
# i386 tests
#
proc run_list_test { name opts } {
global srcdir subdir
set testname "i386 $name"
set file $srcdir/$subdir/$name
gas_run ${name}.s $opts ">&dump.out"
if { [regexp_diff "dump.out" "${file}.l"] } then {
fail $testname
verbose "output is [file_contents "dump.out"]" 2
return
}
pass $testname
}
if [istarget "i*86-*-*"] then {
run_list_test "float" "-al"
run_list_test "general" "-al --listing-lhs-width=2"
run_list_test "inval" "-al"
run_list_test "modrm" "-al --listing-lhs-width=2"
run_dump_test "naked"
run_dump_test "opcode"
run_dump_test "prefix"
run_dump_test "amd"
run_dump_test "katmai"
# The reloc and white tests require support for 8 and 16 bit
# relocs, so we only run them for ELF and COFF targets.
if {[istarget "*-*-elf*"] || [istarget "*-*-linux*"] || [istarget "*-*-coff*"]} then {
run_dump_test "reloc"
run_list_test "white" "-al --listing-lhs-width=3"
}
}
More information about the Binutils
mailing list