aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2006-08-21 11:41:24 +0000
committerJoseph Myers <joseph@codesourcery.com>2006-08-21 11:41:24 +0000
commit87a1fd79cebe5d14a29922446bcf3f58f7d4e518 (patch)
tree7ebb05acb85cd46da3e938d67424356881184155 /gas/config
parent87bc043a9f0984c2f325102bf793d83df48d8bb5 (diff)
downloadgdb-87a1fd79cebe5d14a29922446bcf3f58f7d4e518.zip
gdb-87a1fd79cebe5d14a29922446bcf3f58f7d4e518.tar.gz
gdb-87a1fd79cebe5d14a29922446bcf3f58f7d4e518.tar.bz2
gas:
* config/tc-arm.c (s_arm_unwind_save_mmxwr): Correct condition for merging with previous long opcode. gas/testsuite: * gas/arm/unwind.s: Test not merging iWMMXt register save with previous long opcode. * gas/arm/unwind.d, gas/arm/unwind_vxworks.d: Update.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 577c76c..63aa32e 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -3448,7 +3448,7 @@ s_arm_unwind_save_mmxwr (void)
op = 0xffff << (reg - 1);
if (reg > 0
- || ((mask & op) == (1u << (reg - 1))))
+ && ((mask & op) == (1u << (reg - 1))))
{
op = (1 << (reg + i + 1)) - 1;
op &= ~((1 << reg) - 1);