summaryrefslogtreecommitdiff
path: root/opcodes/arc-opc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-11-22 17:44:03 +0000
committerNick Clifton <nickc@redhat.com>2004-11-22 17:44:03 +0000
commit7b5a9c328064314737207219d038abbba402d96a (patch)
tree0be5baf91b425b14bf7b3b55e75ef503d40050e3 /opcodes/arc-opc.c
parenta42a345dd9cff5c5db36d74a76bcf11740a3d01b (diff)
downloadbinutils-redhat-7b5a9c328064314737207219d038abbba402d96a.tar.gz
* opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect the
change to the short immediate syntax. * gas/arc/ld.s: Add check of load of a long immediate. * gas/arc/ld.d: Add expected disassembly.
Diffstat (limited to 'opcodes/arc-opc.c')
-rw-r--r--opcodes/arc-opc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/arc-opc.c b/opcodes/arc-opc.c
index 614fff033f..5c74e973fe 100644
--- a/opcodes/arc-opc.c
+++ b/opcodes/arc-opc.c
@@ -938,6 +938,7 @@ insert_base (insn, operand, mods, reg, value, errmsg)
shimm_p = 1;
shimm = value;
ls_operand[LS_BASE] = OP_SHIMM;
+ ls_operand[LS_OFFSET] = OP_SHIMM;
}
else
{