X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=cpu%2Fmt.opc;h=d988cc25e9085e800c81d8ca59a38e42c62c9740;hb=6a053cb1ff643cec3349d7f2f47ae5573f82d613;hp=7c394e1f0deb6c9e92cff1e6001f95dc14af85bb;hpb=01f0fe5e0450edf168c1f612feb93cf588e4e7ea;p=deliverable%2Fbinutils-gdb.git diff --git a/cpu/mt.opc b/cpu/mt.opc index 7c394e1f0d..d988cc25e9 100644 --- a/cpu/mt.opc +++ b/cpu/mt.opc @@ -1,5 +1,5 @@ /* Morpho Technologies mRISC opcode support, for GNU Binutils. -*- C -*- - Copyright 2001 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. @@ -8,7 +8,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -18,19 +18,17 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ -*/ -/* - Each section is delimited with start and end markers. +/* Each section is delimited with start and end markers. -opc.h additions use: "-- opc.h" -opc.c additions use: "-- opc.c" -asm.c additions use: "-- asm.c" -dis.c additions use: "-- dis.c" - -ibd.h additions use: "-- ibd.h" -*/ + -ibd.h additions use: "-- ibd.h" */ /* -- opc.h */ @@ -192,7 +190,7 @@ parse_imm16 (CGEN_CPU_DESC cd, break; default: - errmsg = _("%operator operand is not a symbol"); + errmsg = _("The percent-operator's operand is not a symbol"); break; } } @@ -449,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);