diff options
author | Alan Modra <amodra@gmail.com> | 2012-02-27 06:57:57 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-02-27 06:57:57 +0000 |
commit | a597d2d3d2bb862725ed50780cc308d652981aaf (patch) | |
tree | d4c3ba8c5837c59788c312d3b676b2e2ca3fd76a /cpu | |
parent | 3f26eb3af95d6f59c98b1df1de4342bfd6523bfa (diff) | |
download | binutils-a597d2d3d2bb862725ed50780cc308d652981aaf.zip binutils-a597d2d3d2bb862725ed50780cc308d652981aaf.tar.gz binutils-a597d2d3d2bb862725ed50780cc308d652981aaf.tar.bz2 |
cpu/
* mt.opc (print_dollarhex): Trim values to 32 bits.
opcodes/
* mt-dis.c: Regenerate.
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/ChangeLog | 4 | ||||
-rw-r--r-- | cpu/mt.opc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog index 1f54187..bd82d13 100644 --- a/cpu/ChangeLog +++ b/cpu/ChangeLog @@ -1,3 +1,7 @@ +2012-02-27 Alan Modra <amodra@gmail.com> + + * mt.opc (print_dollarhex): Trim values to 32 bits. + 2011-12-15 Nick Clifton <nickc@redhat.com> * frv.opc (parse_uhi16): Fix handling of %hi operator on 64-bit @@ -1,5 +1,5 @@ /* Morpho Technologies mRISC opcode support, for GNU Binutils. -*- C -*- - Copyright 2001, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright 2001, 2007, 2008, 2009, 2012 Free Software Foundation, Inc. Contributed by Red Hat Inc; developed under contract from Morpho Technologies. @@ -447,7 +447,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); |