projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* arc-opc.c (insertion fns): Pass pointer to value's table entry.
[deliverable/binutils-gdb.git]
/
opcodes
/
mips-dis.c
diff --git
a/opcodes/mips-dis.c
b/opcodes/mips-dis.c
index 6806bcd380a8a4937559919c4cfe3ddc6efb9105..6ccd8c74174e629ee2d264864b5f2c313229f55e 100644
(file)
--- a/
opcodes/mips-dis.c
+++ b/
opcodes/mips-dis.c
@@
-49,7
+49,7
@@
static CONST char * CONST reg_names[] = REGISTER_NAMES;
/* subroutine */
static void
print_insn_arg (d, l, pc, info)
/* subroutine */
static void
print_insn_arg (d, l, pc, info)
- char *d;
+ c
onst c
har *d;
register unsigned long int l;
bfd_vma pc;
struct disassemble_info *info;
register unsigned long int l;
bfd_vma pc;
struct disassemble_info *info;
@@
-114,6
+114,10
@@
print_insn_arg (d, l, pc, info)
reg_names[(l >> OP_SH_RD) & OP_MASK_RD]);
break;
reg_names[(l >> OP_SH_RD) & OP_MASK_RD]);
break;
+ case 'z':
+ (*info->fprintf_func) (info->stream, "$%s", reg_names[0]);
+ break;
+
case '<':
(*info->fprintf_func) (info->stream, "0x%x",
(l >> OP_SH_SHAMT) & OP_MASK_SHAMT);
case '<':
(*info->fprintf_func) (info->stream, "0x%x",
(l >> OP_SH_SHAMT) & OP_MASK_SHAMT);
@@
-180,7
+184,7
@@
_print_insn_mips (memaddr, word, info)
unsigned long int word;
{
register int i;
unsigned long int word;
{
register int i;
- register char *d;
+ register c
onst c
har *d;
for (i = 0; i < NUMOPCODES; i++)
{
for (i = 0; i < NUMOPCODES; i++)
{
This page took
0.023352 seconds
and
4
git commands to generate.