Make register name tables in visium.h static in order to prevent multiple definitions.
* visium.h (gen_reg_table): Make static. (fp_reg_table): Likewise. (cc_table): Likewise.
This commit is contained in:
parent
d8f187c1ab
commit
7bdf96efee
@ -1,3 +1,9 @@
|
||||
2015-09-09 Daniel Santos <daniel.santos@pobox.com>
|
||||
|
||||
* visium.h (gen_reg_table): Make static.
|
||||
(fp_reg_table): Likewise.
|
||||
(cc_table): Likewise.
|
||||
|
||||
2015-07-20 Matthew Wahab <matthew.wahab@arm.com>
|
||||
|
||||
* arm.h (ARM_AEXT_V6ZK): Rename to ARM_AEXT_V6KZ.
|
||||
|
@ -104,7 +104,7 @@ struct reg_entry
|
||||
unsigned char code;
|
||||
};
|
||||
|
||||
const struct reg_entry gen_reg_table[] =
|
||||
static const struct reg_entry gen_reg_table[] =
|
||||
{
|
||||
{"fp", 0x16},
|
||||
{"r0", 0x0},
|
||||
@ -142,7 +142,7 @@ const struct reg_entry gen_reg_table[] =
|
||||
{"sp", 0x17},
|
||||
};
|
||||
|
||||
const struct reg_entry fp_reg_table[] =
|
||||
static const struct reg_entry fp_reg_table[] =
|
||||
{
|
||||
{"f0", 0x0},
|
||||
{"f1", 0x1},
|
||||
@ -162,7 +162,7 @@ const struct reg_entry fp_reg_table[] =
|
||||
{"f9", 0x9},
|
||||
};
|
||||
|
||||
const struct cc_entry
|
||||
static const struct cc_entry
|
||||
{
|
||||
char *name;
|
||||
int code;
|
||||
|
Loading…
Reference in New Issue
Block a user