diff options
author | Paul Brook <paul@codesourcery.com> | 2007-01-11 15:39:08 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2007-01-11 15:39:08 +0000 |
commit | dc4503c6810ce9cca69448d2cc0a7804671ffef4 (patch) | |
tree | 10c456fbd02cad7242bd97467188de41586e0be8 /gas/config | |
parent | ceb92e786a65c4acd656c66efe7d37b9df7f39bc (diff) | |
download | gdb-dc4503c6810ce9cca69448d2cc0a7804671ffef4.zip gdb-dc4503c6810ce9cca69448d2cc0a7804671ffef4.tar.gz gdb-dc4503c6810ce9cca69448d2cc0a7804671ffef4.tar.bz2 |
2007-01-11 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
gas/testsuite/
* gas/arm/thumb2_add.d: Add test for missing operand.
* gas/arm/thumb2_add.s: Ditto.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-arm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 6a2756d..4f341cb 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -8414,8 +8414,8 @@ do_t_add_sub (void) else inst.reloc.type = BFD_RELOC_ARM_T32_ADD_IMM; } - inst.instruction |= inst.operands[0].reg << 8; - inst.instruction |= inst.operands[1].reg << 16; + inst.instruction |= Rd << 8; + inst.instruction |= Rs << 16; } } else |