x86: Add -O[2|s] assembler command-line options
[deliverable/binutils-gdb.git] / gas / testsuite / gas / cfi / cfi.exp
index 4a8d3bae62afe47643a6f4a5fcda5e03234177c3..588c5d5f3b406c17a874d1c3f6e455fa584718d4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2016 Free Software Foundation, Inc.
+# Copyright (C) 2012-2018 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -64,6 +64,25 @@ if  { [istarget "i*86-*-*"] || [istarget "x86_64-*-*"] } then {
     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"
 
@@ -73,8 +92,15 @@ if  { [istarget "i*86-*-*"] || [istarget "x86_64-*-*"] } then {
        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
@@ -86,24 +112,6 @@ if  { [istarget "i*86-*-*"] || [istarget "x86_64-*-*"] } then {
        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
 }
@@ -127,4 +135,6 @@ if { ![istarget "hppa64*-*"] } then {
     run_dump_test "cfi-common-6"
   }
   run_dump_test "cfi-common-7"
+  run_dump_test "cfi-common-8"
+  run_dump_test "cfi-common-9"
 }
This page took 0.024343 seconds and 4 git commands to generate.