summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-08-11 09:53:40 +0000
committerNick Clifton <nickc@redhat.com>2009-08-11 09:53:40 +0000
commit550eed3393678837daacb0558cabc0ebc97fbcab (patch)
tree7c7c84bb436ce641dfb0ba67c1b4cd6ef5fa25c5 /gas
parent9674d4d8f4f7b156ec2012f7be376d4bf2520b3d (diff)
downloadbinutils-redhat-550eed3393678837daacb0558cabc0ebc97fbcab.tar.gz
PR 10443
* config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted operands. * gas/arm/t16-bad.l: Update expected messages for moves with shifted operands.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/arm/t16-bad.l4
3 files changed, 16 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 32d3562ad4..9d47ab498c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-11 Nick Clifton <nickc@redhat.com>
+
+ PR 10443
+ * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
+ operands.
+
2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix compilation of i386-*-go32.
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 9bffddfbd9..ea96952e19 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2009-08-11 Nick Clifton <nickc@redhat.com>
+
+ PR 10443
+ * gas/arm/t16-bad.l: Update expected messages for moves with
+ shifted operands.
+
2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
PR gas/10479
diff --git a/gas/testsuite/gas/arm/t16-bad.l b/gas/testsuite/gas/arm/t16-bad.l
index cf224f285b..9643dbf71d 100644
--- a/gas/testsuite/gas/arm/t16-bad.l
+++ b/gas/testsuite/gas/arm/t16-bad.l
@@ -110,7 +110,11 @@
[^:]*:84: Error: lo register required -- `sub r8,r1,r2'
[^:]*:85: Error: lo register required -- `sub r1,r8,r2'
[^:]*:86: Error: lo register required -- `sub r1,r2,r8'
+[^:]*:88: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `cmp r0,r1,lsl#2'
+[^:]*:89: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `cmp r0,r1,lsl r3'
[^:]*:90: Error: only lo regs allowed with immediate -- `cmp r8,#255'
+[^:]*:92: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r0,r1,lsl#2'
+[^:]*:93: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r0,r1,lsl r3'
[^:]*:94: Error: only lo regs allowed with immediate -- `mov r8,#255'
[^:]*:106: Error: lo register required -- `ldr r8,\[r0\]'
[^:]*:106: Error: lo register required -- `ldr r0,\[r8\]'