Skip to content

Commit a597d2d

Browse files
committedFeb 27, 2012
cpu/
* mt.opc (print_dollarhex): Trim values to 32 bits. opcodes/ * mt-dis.c: Regenerate.
1 parent 3f26eb3 commit a597d2d

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed
 

‎cpu/ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2012-02-27 Alan Modra <amodra@gmail.com>
2+
3+
* mt.opc (print_dollarhex): Trim values to 32 bits.
4+
15
2011-12-15 Nick Clifton <nickc@redhat.com>
26

37
* frv.opc (parse_uhi16): Fix handling of %hi operator on 64-bit

‎cpu/mt.opc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Morpho Technologies mRISC opcode support, for GNU Binutils. -*- C -*-
2-
Copyright 2001, 2007, 2008, 2009 Free Software Foundation, Inc.
2+
Copyright 2001, 2007, 2008, 2009, 2012 Free Software Foundation, Inc.
33
44
Contributed by Red Hat Inc; developed under contract from
55
Morpho Technologies.
@@ -447,7 +447,7 @@ print_dollarhex (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
447447
{
448448
disassemble_info *info = (disassemble_info *) dis_info;
449449

450-
info->fprintf_func (info->stream, "$%lx", value);
450+
info->fprintf_func (info->stream, "$%lx", value & 0xffffffff);
451451

452452
if (0)
453453
print_normal (cd, dis_info, value, attrs, pc, length);

‎opcodes/ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2012-02-27 Alan Modra <amodra@gmail.com>
2+
3+
* mt-dis.c: Regenerate.
4+
15
2012-02-27 Alan Modra <amodra@gmail.com>
26

37
* v850-opc.c (extract_v8): Rearrange to make it obvious this

‎opcodes/mt-dis.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ print_dollarhex (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
7272
{
7373
disassemble_info *info = (disassemble_info *) dis_info;
7474

75-
info->fprintf_func (info->stream, "$%lx", value);
75+
info->fprintf_func (info->stream, "$%lx", value & 0xffffffff);
7676

7777
if (0)
7878
print_normal (cd, dis_info, value, attrs, pc, length);

0 commit comments

Comments
 (0)
Please sign in to comment.