aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-12-20 00:28:58 +0000
committerHans-Peter Nilsson <hp@axis.com>2008-12-20 00:28:58 +0000
commit1969b7f359fbae8c687ebed458a7c031cb30a5ce (patch)
treee7547ed862171fc1cd8cc3d348bec4c1f7f5e2db /gas/testsuite
parent5a00ea25afb99f2d34e3c0240a32b5a2a78a757d (diff)
downloadgdb-1969b7f359fbae8c687ebed458a7c031cb30a5ce.zip
gdb-1969b7f359fbae8c687ebed458a7c031cb30a5ce.tar.gz
gdb-1969b7f359fbae8c687ebed458a7c031cb30a5ce.tar.bz2
* gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d: Test :IE and
decoration on double-indirect. * gas/cris/tls-err-1.s: Test :IE on wrong-size operand.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/cris/rd-tls-1.d5
-rw-r--r--gas/testsuite/gas/cris/rd-tls-1.s2
-rw-r--r--gas/testsuite/gas/cris/tls-err-1.s2
4 files changed, 14 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 9b80cbf..017a37a 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-20 Hans-Peter Nilsson <hp@axis.com>
+
+ * gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d: Test :IE and
+ decoration on double-indirect.
+ * gas/cris/tls-err-1.s: Test :IE on wrong-size operand.
+
2008-12-18 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/intel.d: Remove trailing white spaces after nop.
diff --git a/gas/testsuite/gas/cris/rd-tls-1.d b/gas/testsuite/gas/cris/rd-tls-1.d
index 83aa044..c7d6b65 100644
--- a/gas/testsuite/gas/cris/rd-tls-1.d
+++ b/gas/testsuite/gas/cris/rd-tls-1.d
@@ -25,4 +25,7 @@ Disassembly of section \.text:
[ ]+2e:[ ]+R_CRIS_16_TPREL extsym14\+0xffffff00
[ ]+32:[ ]+6fad 0000 0000 287a[ ]+add\.d \[\$?r10\+0 <start>\],\$?r7,\$?r8
[ ]+34:[ ]+R_CRIS_32_TPREL extsym3\+0x38
-[ ]+\.\.\.
+[ ]+3a:[ ]+7f0d 0000 0000 611a[ ]+move.d \[0 <start>],\$?r1
+[ ]+3c:[ ]+R_CRIS_32_IE[ ]+extsym5
+[ ]+42:[ ]+2fbe 0000 0000[ ]+add\.d 0 <start>,\$?r11
+[ ]+44:[ ]+R_CRIS_32_IE[ ]+extsym7
diff --git a/gas/testsuite/gas/cris/rd-tls-1.s b/gas/testsuite/gas/cris/rd-tls-1.s
index 4cc9be0..1eab39f 100644
--- a/gas/testsuite/gas/cris/rd-tls-1.s
+++ b/gas/testsuite/gas/cris/rd-tls-1.s
@@ -21,3 +21,5 @@ start:
move.d [r7=r3+extsym10:GD-330],r13
move.d [r11+extsym14:TPOFF16-256],r9
add.d [r10+extsym3:TPOFF+56],r7,r8
+ move.d [extsym5:IE],r1
+ add.d extsym7:IE,r11
diff --git a/gas/testsuite/gas/cris/tls-err-1.s b/gas/testsuite/gas/cris/tls-err-1.s
index 5a6e9cd..d4fd8d4 100644
--- a/gas/testsuite/gas/cris/tls-err-1.s
+++ b/gas/testsuite/gas/cris/tls-err-1.s
@@ -14,3 +14,5 @@ start:
move.b extsym15:GD,r7 ; { dg-error "TLS relocation size does not match" }
move.w extsym6:GD,r5 ; { dg-error "TLS relocation size does not match" }
move extsym8:TPOFF16,srp ; { dg-error "TLS relocation size does not match" }
+ move.b extsym5:IE,r7 ; { dg-error "TLS relocation size does not match" }
+ move.w extsym16:IE,r5 ; { dg-error "TLS relocation size does not match" }