Add CRX insns: pushx, popx
[deliverable/binutils-gdb.git] / gas / testsuite / gas / all / gas.exp
index ddbc76d886368a853086d79752936659a961774d..df8d71d0276d50a78909c8767f9bb2a9483305d4 100644 (file)
@@ -85,13 +85,16 @@ proc do_930509a {} {
     if !$x then { fail $testname }
 }
 
-# This test is meaningless for the PA; the difference of two symbols
+# This test is meaningless for the PA and CRX; the difference of two symbols
 # must not be resolved by the assembler.
 # C54x assembler (for compatibility) does not allow differences between
 # forward references
 # C30 counts a four byte offset as a difference of one.
-if { ![istarget hppa*-*-*]
-     && ![istarget *c30*-*-*] && ![istarget *c54x*-*-*] } then {
+if { ![istarget hppa*-*-*] &&
+     ![istarget  crx*-*-*] &&
+     ![istarget *c30*-*-*] &&
+     ![istarget *c4x*-*-*] &&
+     ![istarget *c54x*-*-*] } then {
     # the vax fails because VMS can apparently actually handle this
     # case in relocs, so gas doesn't handle it itself.
     setup_xfail "h8300*-*-elf*" "mn10200*-*-*" "mn10300*-*-*" "vax*-*-vms*"
@@ -102,6 +105,7 @@ if { ![istarget hppa*-*-*]
 # These directives are done in the c54x-specific tests instead
 case $target_triplet in {
     { hppa*-*-* } { }
+    { *c4x*-*-* } { }
     { *c54x*-*-* } { }
     default {
        run_dump_test struct
@@ -115,7 +119,7 @@ case $target_triplet in {
 # We omit the ARM toolchains because they define locals to
 #  start with '.', which eliminates .eos, .text etc from the output.
 # Omit c54x, since .tag and .def mean something different on that target
-if {   ([istarget *-*-coff*] && ![istarget m88*-*-*] && ![istarget *arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget xscale-*-coff] && ![istarget *c54x*-*-coff]) \
+if {   ([istarget *-*-coff*] && ![istarget m88*-*-*] && ![istarget *arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget xscale-*-coff] && ![istarget *c4x*-*-coff] && ![istarget *c54x*-*-coff]) \
      ||([istarget *-*-pe*] && ![istarget arm*-*-pe*] && ![istarget thumb*-*-pe*]) \
      || [istarget a29k-*-udi*] \
      || [istarget a29k-*-ebmon*] \
@@ -158,6 +162,7 @@ proc test_cond {} {
 # again, p2align doesn't work on c54x target
 case $target_triplet in {
     { hppa*-*-* } { }
+    { *c4x*-*-* } { }
     { *c54x*-*-* } { }
     default {
         test_cond
This page took 0.024786 seconds and 4 git commands to generate.