4 proc run_list_test
{ name opts
} {
6 set testname
"vtable $name"
7 set file $srcdir
/$subdir
/$
name
8 gas_run $
{name}.s $opts
">&dump.out"
9 if { [regexp_diff
"dump.out" "${file}.l"] } then {
11 verbose
"output is [file_contents "dump.out"]" 2
17 # Vtable bits are only supported by ELF targets.
18 if {[istarget
"*-*-elf*"] || [istarget "*-*-linux*"]} then {
21 # not supported by D30V
22 if {[istarget
"d30v-*-*"]} {
26 run_dump_test
"inherit0"
27 run_list_test
"inherit1" "-al"
29 # The vtable entry results are different
on Rel and Rela targets.
30 if {[istarget
"i*86-*-*"] || [istarget "mips*-*-*"]} then {
32 run_dump_test
"entry0"
36 run_dump_test
"entry1"