* mt.opc (print_dollarhex): Trim values to 32 bits.
opcodes/
	* mt-dis.c: Regenerate.
This commit is contained in:
Alan Modra 2012-02-27 06:57:57 +00:00
parent 3f26eb3af9
commit a597d2d3d2
4 changed files with 11 additions and 3 deletions

View file

@ -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

View file

@ -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);

View file

@ -1,3 +1,7 @@
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

View file

@ -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);