diff options
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/i386.c | 6 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 81058ac..6caf854 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -361,9 +361,9 @@ static int use_fast_prologue_epilogue; #define AT_BP(mode) (gen_rtx_MEM ((mode), hard_frame_pointer_rtx)) -const char * const hi_reg_name[] = HI_REGISTER_NAMES; -const char * const qi_reg_name[] = QI_REGISTER_NAMES; -const char * const qi_high_reg_name[] = QI_HIGH_REGISTER_NAMES; +static const char *const hi_reg_name[] = HI_REGISTER_NAMES; /* names for 16 bit regs */ +static const char *const qi_reg_name[] = QI_REGISTER_NAMES; /* names for 8 bit regs (low) */ +static const char *const qi_high_reg_name[] = QI_HIGH_REGISTER_NAMES; /* names for 8 bit regs (high) */ /* Array of the smallest class containing reg number REGNO, indexed by REGNO. Used by REGNO_REG_CLASS in i386.h. */ diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index eb544c7..1a1715e 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -3095,9 +3095,6 @@ extern const char *ix86_branch_cost_string; /* values 1-5: see jump.c */ extern int ix86_regparm; /* ix86_regparm_string as a number */ extern int ix86_preferred_stack_boundary; /* preferred stack boundary alignment in bits */ extern int ix86_branch_cost; /* values 1-5: see jump.c */ -extern const char * const hi_reg_name[]; /* names for 16 bit regs */ -extern const char * const qi_reg_name[]; /* names for 8 bit regs (low) */ -extern const char * const qi_high_reg_name[]; /* names for 8 bit regs (high) */ extern enum reg_class const regclass_map[]; /* smalled class containing REGNO */ extern struct rtx_def *ix86_compare_op0; /* operand 0 for comparisons */ extern struct rtx_def *ix86_compare_op1; /* operand 1 for comparisons */ |