summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-07-03 11:17:32 +0000
committerNick Clifton <nickc@redhat.com>2007-07-03 11:17:32 +0000
commit3ef2c2871e6a219d5b6f3193de14449ebf48614e (patch)
tree66d4505b23c53d29dda0dc594ace68833bab095f /gas
parent5ae6f5fadb9232d475fbdaba547448cfddaf32f0 (diff)
downloadbinutils-redhat-3ef2c2871e6a219d5b6f3193de14449ebf48614e.tar.gz
Add expected failures for CR16 tests
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/all/gas.exp8
-rw-r--r--gas/testsuite/gas/cr16/cinv_test.d12
-rw-r--r--gas/testsuite/gas/elf/elf.exp2
4 files changed, 19 insertions, 10 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 7feca63162..6174de9859 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-03 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+ * gas/elf/elf.exp: Expect redef test to fail for CR16.
+ * gas/all/gas.exp: Expect forward and do_930509a tests to fail for
+ the CR16.
+ * gas/cr16/cinv_test.d: Remove whitespace dependencies.
+
2007-07-03 Nick Clifton <nickc@redhat.com>
* lib/gas-defs.exp: Update copyright notice to refer to GPLv3.
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index cb8c6777a4..6dabbca689 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -60,6 +60,7 @@ gas_test_error "assign-bad.s" "" "== assignment for symbol already set"
# .equ works differently on some targets.
# linkrelax-ing prevents most forward references from working.
case $target_triplet in {
+ { cr16*-*-* } { }
{ crx*-*-* } { }
{ h8300*-*-* } { }
{ hppa*-*-* } { }
@@ -154,12 +155,13 @@ proc do_930509a {} {
if !$x then { fail $testname }
}
-# This test is meaningless for the PA and CRX; the difference of two symbols
-# must not be resolved by the assembler.
+# This test is meaningless for the PA and CR16/CRX: the difference of two
+# symbols cannot be resolved by the assembler.
# C54x assembler (for compatibility) does not allow differences between
-# forward references
+# forward references.
# C30 counts a four byte offset as a difference of one.
if { ![istarget hppa*-*-*] &&
+ ![istarget cr16*-*-*] &&
![istarget crx*-*-*] &&
![istarget *c30*-*-*] &&
![istarget *c4x*-*-*] &&
diff --git a/gas/testsuite/gas/cr16/cinv_test.d b/gas/testsuite/gas/cr16/cinv_test.d
index f1e2f253b5..b8349369da 100644
--- a/gas/testsuite/gas/cr16/cinv_test.d
+++ b/gas/testsuite/gas/cr16/cinv_test.d
@@ -7,9 +7,9 @@
Disassembly of section .text:
00000000 <main>:
- 0: 0a 00 cinv \[i\]
- 2: 0b 00 cinv \[i,u\]
- 4: 0c 00 cinv \[d\]
- 6: 0d 00 cinv \[d,u\]
- 8: 0e 00 cinv \[d,i\]
- a: 0f 00 cinv \[d,i,u\]
+[ ]*0: 0a 00[ ]*cinv[ ]*\[i\]
+[ ]*2: 0b 00[ ]*cinv[ ]*\[i,u\]
+[ ]*4: 0c 00[ ]*cinv[ ]*\[d\]
+[ ]*6: 0d 00[ ]*cinv[ ]*\[d,u\]
+[ ]*8: 0e 00[ ]*cinv[ ]*\[d,i\]
+[ ]*a: 0f 00[ ]*cinv[ ]*\[d,i,u\]
diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp
index 227b77ef47..d1e5a0a210 100644
--- a/gas/testsuite/gas/elf/elf.exp
+++ b/gas/testsuite/gas/elf/elf.exp
@@ -82,7 +82,7 @@ if { ([istarget "*-*-*elf*"]
# against ordinary symbols into relocations against section symbols.
# This is usually revealed by the error message:
# symbol `sym' required but not present
- setup_xfail "h8300-*-*" "mn10300-*-*"
+ setup_xfail "cr16-*-*" "h8300-*-*" "mn10300-*-*"
run_dump_test redef
run_dump_test equ-reloc
}