run_dump_test "cfi-alpha-2"
run_dump_test "cfi-alpha-3"
+} elseif { [istarget "arc*-*-*"] } then {
+ run_dump_test "cfi-arc-1"
+
+} elseif { [istarget "arm*-*"] } then {
+ # Only ELF based ARM targets support CFI.
+ if { [is_pecoff_format] } then {
+ return
+ }
+ run_dump_test "cfi-arm-1"
+
+} elseif { [istarget "hppa*-linux*"] } then {
+ run_dump_test "cfi-hppa-1"
+
+} elseif { [istarget "m68*-*"] && ![istarget "m68hc1*-*"] } then {
+ run_dump_test "cfi-m68k"
+
+} elseif { [istarget "mips*-*"] } then {
+ run_dump_test "cfi-mips-1"
+
} elseif { [istarget powerpc*-*-*] } then {
run_dump_test "cfi-ppc-1"
run_dump_test "cfi-s390x-1"
}
-} elseif { [istarget "m68*-*"] && ![istarget "m68hc1*-*"] } then {
- run_dump_test "cfi-m68k"
+} elseif [istarget "sh*-*"] then {
+ if { [istarget "*-pe" ] || [istarget "*-rtemscoff*"] } then {
+ return
+ }
+
+ if { [istarget sh64*-*-*] || [istarget sh5*-*-*] } then {
+ } else {
+ run_dump_test "cfi-sh-1"
+ }
} elseif { [istarget sparc*-*-*] } then {
global NM
run_dump_test "cfi-sparc64-1"
}
-} elseif [istarget "sh*-*"] then {
- if { [istarget sh64*-*-*] || [istarget sh5*-*-*] } then {
- } else {
- run_dump_test "cfi-sh-1"
- }
-} elseif { [istarget "arc*-*-*"] } then {
- run_dump_test "cfi-arc-1"
-} elseif { [istarget "arm*-*"] } then {
- # Only ELF based ARM targets support CFI.
- if { [is_pecoff_format] } then {
- return
- }
- run_dump_test "cfi-arm-1"
-
-} elseif { [istarget "mips*-*"] } then {
- run_dump_test "cfi-mips-1"
-} elseif { [istarget "hppa*-linux*"] } then {
- run_dump_test "cfi-hppa-1"
} else {
return
}