projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR22348, conflicting global vars in crx and cr16
[deliverable/binutils-gdb.git]
/
opcodes
/
crx-dis.c
diff --git
a/opcodes/crx-dis.c
b/opcodes/crx-dis.c
index 4e48668f68c83fad61c3c3f589a87d466bcbf681..cb0f08025ba568e1e58baf2b22e5e501890fefac 100644
(file)
--- a/
opcodes/crx-dis.c
+++ b/
opcodes/crx-dis.c
@@
-58,7
+58,7
@@
typedef struct
cinv_entry;
/* CRX 'cinv' options. */
cinv_entry;
/* CRX 'cinv' options. */
-const cinv_entry crx_cinvs[] =
+
static
const cinv_entry crx_cinvs[] =
{
{"[i]", 2}, {"[i,u]", 3}, {"[d]", 4}, {"[d,u]", 5},
{"[d,i]", 6}, {"[d,i,u]", 7}, {"[b]", 8},
{
{"[i]", 2}, {"[i,u]", 3}, {"[d]", 4}, {"[d,u]", 5},
{"[d,i]", 6}, {"[d,i,u]", 7}, {"[b]", 8},
@@
-81,22
+81,22
@@
typedef enum REG_ARG_TYPE
REG_ARG_TYPE;
/* Number of valid 'cinv' instruction options. */
REG_ARG_TYPE;
/* Number of valid 'cinv' instruction options. */
-int NUMCINVS = ((sizeof crx_cinvs)/(sizeof crx_cinvs[0]));
+
static
int NUMCINVS = ((sizeof crx_cinvs)/(sizeof crx_cinvs[0]));
/* Current opcode table entry we're disassembling. */
/* Current opcode table entry we're disassembling. */
-const inst *instruction;
+
static
const inst *instruction;
/* Current instruction we're disassembling. */
/* Current instruction we're disassembling. */
-ins currInsn;
+
static
ins currInsn;
/* The current instruction is read into 3 consecutive words. */
/* The current instruction is read into 3 consecutive words. */
-wordU words[3];
+
static
wordU words[3];
/* Contains all words in appropriate order. */
/* Contains all words in appropriate order. */
-ULONGLONG allWords;
+
static
ULONGLONG allWords;
/* Holds the current processed argument number. */
/* Holds the current processed argument number. */
-int processing_argument_number;
+
static
int processing_argument_number;
/* Nonzero means a CST4 instruction. */
/* Nonzero means a CST4 instruction. */
-int cst4flag;
+
static
int cst4flag;
/* Nonzero means the instruction's original size is
incremented (escape sequence is used). */
/* Nonzero means the instruction's original size is
incremented (escape sequence is used). */
-int size_changed;
+
static
int size_changed;
static int get_number_of_operands (void);
static argtype getargtype (operand_type);
static int get_number_of_operands (void);
static argtype getargtype (operand_type);
This page took
0.027685 seconds
and
4
git commands to generate.