aboutsummaryrefslogtreecommitdiff
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
commitd81acc42a2b5166c0f2f6e46911e1c4184bf7a38 (patch)
tree6d8575d41db4f54ad1ef5aa3ecd174dbd9991bd3 /opcodes/arc-opc.c
parent3120ef826e1217b0a93cb1bc6661f2ab47e730d3 (diff)
downloadgdb-d81acc42a2b5166c0f2f6e46911e1c4184bf7a38.zip
gdb-d81acc42a2b5166c0f2f6e46911e1c4184bf7a38.tar.gz
gdb-d81acc42a2b5166c0f2f6e46911e1c4184bf7a38.tar.bz2
* 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 614fff0..5c74e97 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
{