aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-02-27 06:57:57 +0000
committerAlan Modra <amodra@gmail.com>2012-02-27 06:57:57 +0000
commita597d2d3d2bb862725ed50780cc308d652981aaf (patch)
treed4c3ba8c5837c59788c312d3b676b2e2ca3fd76a /opcodes
parent3f26eb3af95d6f59c98b1df1de4342bfd6523bfa (diff)
downloadfsf-binutils-gdb-a597d2d3d2bb862725ed50780cc308d652981aaf.zip
fsf-binutils-gdb-a597d2d3d2bb862725ed50780cc308d652981aaf.tar.gz
fsf-binutils-gdb-a597d2d3d2bb862725ed50780cc308d652981aaf.tar.bz2
cpu/
* mt.opc (print_dollarhex): Trim values to 32 bits. opcodes/ * mt-dis.c: Regenerate.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/mt-dis.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 6db03cd..1a6837f 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,9 @@
2012-02-27 Alan Modra <amodra@gmail.com>
+ * mt-dis.c: Regenerate.
+
+2012-02-27 Alan Modra <amodra@gmail.com>
+
* v850-opc.c (extract_v8): Rearrange to make it obvious this
is the inverse of corresponding insert function.
(extract_d22, extract_u9, extract_r4): Likewise.
diff --git a/opcodes/mt-dis.c b/opcodes/mt-dis.c
index 28f4655..3767be2 100644
--- a/opcodes/mt-dis.c
+++ b/opcodes/mt-dis.c
@@ -72,7 +72,7 @@ print_dollarhex (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
{
disassemble_info *info = (disassemble_info *) dis_info;
- info->fprintf_func (info->stream, "$%lx", value);
+ info->fprintf_func (info->stream, "$%lx", value & 0xffffffff);
if (0)
print_normal (cd, dis_info, value, attrs, pc, length);