projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync config.guess and config.sub with GCC
[deliverable/binutils-gdb.git]
/
opcodes
/
i960-dis.c
diff --git
a/opcodes/i960-dis.c
b/opcodes/i960-dis.c
index ea913a34fbf3c93dd70f1a7c0599c30fdb2dd39f..737aae812b2256e954a36e97af984c4cf82b7f7c 100644
(file)
--- a/
opcodes/i960-dis.c
+++ b/
opcodes/i960-dis.c
@@
-1,6
+1,6
@@
/* Disassemble i80960 instructions.
Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2003,
/* Disassemble i80960 instructions.
Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2003,
- 2007 Free Software Foundation, Inc.
+ 200
5, 200
7 Free Software Foundation, Inc.
This file is part of the GNU opcodes library.
This file is part of the GNU opcodes library.
@@
-204,7
+204,7
@@
ctrl (bfd_vma memaddr, unsigned long word1, unsigned long word2 ATTRIBUTE_UNUSED
return;
}
return;
}
- (*info->fprintf_func) (stream, ctrl_tab[i].name);
+ (*info->fprintf_func) (stream,
"%s",
ctrl_tab[i].name);
if (word1 & 2)
/* Predicts branch not taken. */
(*info->fprintf_func) (stream, ".f");
if (word1 & 2)
/* Predicts branch not taken. */
(*info->fprintf_func) (stream, ".f");
@@
-276,7
+276,7
@@
cobr (bfd_vma memaddr, unsigned long word1, unsigned long word2 ATTRIBUTE_UNUSED
return;
}
return;
}
- (*info->fprintf_func) (stream, cobr_tab[i].name);
+ (*info->fprintf_func) (stream,
"%s",
cobr_tab[i].name);
/* Predicts branch not taken. */
if (word1 & 2)
/* Predicts branch not taken. */
if (word1 & 2)
@@
-291,7
+291,7
@@
cobr (bfd_vma memaddr, unsigned long word1, unsigned long word2 ATTRIBUTE_UNUSED
/* M1 is 1 */
(*info->fprintf_func) (stream, "%d", src1);
else
/* M1 is 1 */
(*info->fprintf_func) (stream, "%d", src1);
else
- (*info->fprintf_func) (stream, reg_names[src1]);
+ (*info->fprintf_func) (stream,
"%s",
reg_names[src1]);
if (cobr_tab[i].numops > 1)
{
if (cobr_tab[i].numops > 1)
{
@@
-717,7
+717,7
@@
reg (unsigned long word1)
fp = 0;
}
fp = 0;
}
- (*info->fprintf_func) (stream, mnemp);
+ (*info->fprintf_func) (stream,
"%s",
mnemp);
s1 = (word1 >> 5) & 1;
s2 = (word1 >> 6) & 1;
s1 = (word1 >> 5) & 1;
s2 = (word1 >> 6) & 1;
@@
-824,7
+824,7
@@
ea (bfd_vma memaddr, int mode, const char *reg2, const char *reg3, int word1,
/* Register Instruction Operand. */
static void
/* Register Instruction Operand. */
static void
-regop (int mode, int spec, int reg, int fp)
+regop (int mode, int spec, int
fp_
reg, int fp)
{
if (fp)
{
{
if (fp)
{
@@
-832,7
+832,7
@@
regop (int mode, int spec, int reg, int fp)
if (mode == 1)
{
/* FP operand. */
if (mode == 1)
{
/* FP operand. */
- switch (reg)
+ switch (
fp_
reg)
{
case 0: (*info->fprintf_func) (stream, "fp0");
break;
{
case 0: (*info->fprintf_func) (stream, "fp0");
break;
@@
-853,7
+853,7
@@
regop (int mode, int spec, int reg, int fp)
else
{
/* Non-FP register. */
else
{
/* Non-FP register. */
- (*info->fprintf_func) (stream,
reg_names[
reg]);
+ (*info->fprintf_func) (stream,
"%s", reg_names[fp_
reg]);
}
}
else
}
}
else
@@
-862,15
+862,15
@@
regop (int mode, int spec, int reg, int fp)
if (mode == 1)
{
/* Literal. */
if (mode == 1)
{
/* Literal. */
- (*info->fprintf_func) (stream, "%d", reg);
+ (*info->fprintf_func) (stream, "%d",
fp_
reg);
}
else
{
/* Register. */
if (spec == 0)
}
else
{
/* Register. */
if (spec == 0)
- (*info->fprintf_func) (stream,
reg_names[
reg]);
+ (*info->fprintf_func) (stream,
"%s", reg_names[fp_
reg]);
else
else
- (*info->fprintf_func) (stream, "sf%d", reg);
+ (*info->fprintf_func) (stream, "sf%d",
fp_
reg);
}
}
}
}
}
}
@@
-878,15
+878,15
@@
regop (int mode, int spec, int reg, int fp)
/* Register Instruction Destination Operand. */
static void
/* Register Instruction Destination Operand. */
static void
-dstop (int mode, int reg, int fp)
+dstop (int mode, int
dest_
reg, int fp)
{
/* 'dst' operand can't be a literal. On non-FP instructions, register
mode is assumed and "m3" acts as if were "s3"; on FP-instructions,
sf registers are not allowed so m3 acts normally. */
if (fp)
{
/* 'dst' operand can't be a literal. On non-FP instructions, register
mode is assumed and "m3" acts as if were "s3"; on FP-instructions,
sf registers are not allowed so m3 acts normally. */
if (fp)
- regop (mode, 0, reg, fp);
+ regop (mode, 0,
dest_
reg, fp);
else
else
- regop (0, mode, reg, fp);
+ regop (0, mode,
dest_
reg, fp);
}
static void
}
static void
This page took
0.024642 seconds
and
4
git commands to generate.