mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user