From: Alan Modra Date: Mon, 27 Feb 2012 06:57:57 +0000 (+0000) Subject: cpu/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a597d2d3d2bb862725ed50780cc308d652981aaf;p=binutils-gdb.git cpu/ * mt.opc (print_dollarhex): Trim values to 32 bits. opcodes/ * mt-dis.c: Regenerate. --- diff --git a/cpu/ChangeLog b/cpu/ChangeLog index 1f5418714d8..bd82d13b5dd 100644 --- a/cpu/ChangeLog +++ b/cpu/ChangeLog @@ -1,3 +1,7 @@ +2012-02-27 Alan Modra + + * mt.opc (print_dollarhex): Trim values to 32 bits. + 2011-12-15 Nick Clifton * frv.opc (parse_uhi16): Fix handling of %hi operator on 64-bit diff --git a/cpu/mt.opc b/cpu/mt.opc index 3da6d0ea963..d988cc25e90 100644 --- a/cpu/mt.opc +++ b/cpu/mt.opc @@ -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); diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6db03cde482..1a6837f648d 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2012-02-27 Alan Modra + + * mt-dis.c: Regenerate. + 2012-02-27 Alan Modra * v850-opc.c (extract_v8): Rearrange to make it obvious this diff --git a/opcodes/mt-dis.c b/opcodes/mt-dis.c index 28f4655e268..3767be2dac4 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);