summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorTomer Levi <Tomer.Levi@nsc.com>2004-11-05 11:01:00 +0000
committerTomer Levi <Tomer.Levi@nsc.com>2004-11-05 11:01:00 +0000
commit42048ee72f792c4f7821cd0fbe23de797359b71c (patch)
tree3c2c5b06faed349f328cd972800c5752018e8386 /opcodes
parent696a8a007245af3e879dfd5474c39b1fb4506177 (diff)
downloadbinutils-gdb-42048ee72f792c4f7821cd0fbe23de797359b71c.tar.gz
2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register mode. * crx-dis.c: Likewise.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/crx-dis.c4
-rw-r--r--opcodes/crx-opc.c4
3 files changed, 10 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 550bffab927..58f69a80926 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
+
+ * crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register
+ mode.
+ * crx-dis.c: Likewise.
+
2004-11-04 Hans-Peter Nilsson <hp@axis.com>
Generally, handle CRISv32.
diff --git a/opcodes/crx-dis.c b/opcodes/crx-dis.c
index 39233c3f579..840eefc074a 100644
--- a/opcodes/crx-dis.c
+++ b/opcodes/crx-dis.c
@@ -431,7 +431,7 @@ make_argument (argument * a, int start_bits)
a->constant = p.val;
break;
- case arg_icr:
+ case arg_idxr:
a->scale = 0;
total_size = a->size + 10; /* sizeof(rbase + ridx + scl2) = 10. */
p = makelongparameter (allWords, inst_bit_size - total_size,
@@ -557,7 +557,7 @@ print_arg (argument *a, struct disassemble_info *info)
func (stream, "$0x%x", a->constant);
break;
- case arg_icr:
+ case arg_idxr:
func (stream, "0x%x(%s,%s,%d)", a->constant, getregname (a->r),
getregname (a->i_r), powerof2 (a->scale));
break;
diff --git a/opcodes/crx-opc.c b/opcodes/crx-opc.c
index c4093169b7e..a83f813a2d6 100644
--- a/opcodes/crx-opc.c
+++ b/opcodes/crx-opc.c
@@ -671,8 +671,8 @@ const operand_entry crx_optab[] =
{16, arg_cr, 0}, /* rbase_disps16 */
{28, arg_cr, 0}, /* rbase_disps28 */
{32, arg_cr, 0}, /* rbase_disps32 */
- {6, arg_icr, 0}, /* rindex_disps6 */
- {22, arg_icr, 0}, /* rindex_disps22 */
+ {6, arg_idxr, 0}, /* rindex_disps6 */
+ {22, arg_idxr, 0}, /* rindex_disps22 */
{4, arg_r, 0}, /* regr */
{8, arg_r, 0}, /* regr8 */
{4, arg_copr, 0}, /* copregr */