From ba7e13e478833dff328eb2f818bcbcc0cec0fb3b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 11 Aug 2009 09:53:40 +0000 Subject: [PATCH] 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. --- gas/ChangeLog | 6 ++++++ gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/arm/t16-bad.l | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 32d3562ad48..9d47ab498ca 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2009-08-11 Nick Clifton + + PR 10443 + * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted + operands. + 2009-08-10 Jan Kratochvil Fix compilation of i386-*-go32. diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9bffddfbd91..ea96952e192 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-08-11 Nick Clifton + + PR 10443 + * gas/arm/t16-bad.l: Update expected messages for moves with + shifted operands. + 2009-08-10 Daniel Gutson PR gas/10479 diff --git a/gas/testsuite/gas/arm/t16-bad.l b/gas/testsuite/gas/arm/t16-bad.l index cf224f285b2..9643dbf71d7 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\]' -- 2.30.2