mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 19:33:59 +08:00
h8300.c (h8_push_ops): Move inside h8300_init_once.
* config/h8300/h8300.c (h8_push_ops): Move inside h8300_init_once. (h8_pop_ops): Likewise. (h8_move_ops): Likewise. From-SVN: r49453
This commit is contained in:
parent
0869f12660
commit
cbf1b2dabf
@ -1,3 +1,10 @@
|
||||
2002-02-02 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* config/h8300/h8300.c (h8_push_ops): Move inside
|
||||
h8300_init_once.
|
||||
(h8_pop_ops): Likewise.
|
||||
(h8_move_ops): Likewise.
|
||||
|
||||
2002-02-02 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* config/h8300/h8300.c (os_task): Make it static.
|
||||
|
@ -96,10 +96,6 @@ const char * const *h8_reg_names;
|
||||
|
||||
/* Various operations needed by the following, indexed by CPU_TYPE. */
|
||||
|
||||
static const char *const h8_push_ops[2] = { "push", "push.l" };
|
||||
static const char *const h8_pop_ops[2] = { "pop", "pop.l" };
|
||||
static const char *const h8_mov_ops[2] = { "mov.w", "mov.l" };
|
||||
|
||||
const char *h8_push_op, *h8_pop_op, *h8_mov_op;
|
||||
|
||||
/* Initialize the GCC target structure. */
|
||||
@ -121,6 +117,10 @@ struct gcc_target targetm = TARGET_INITIALIZER;
|
||||
void
|
||||
h8300_init_once ()
|
||||
{
|
||||
static const char *const h8_push_ops[2] = { "push" , "push.l" };
|
||||
static const char *const h8_pop_ops[2] = { "pop" , "pop.l" };
|
||||
static const char *const h8_mov_ops[2] = { "mov.w", "mov.l" };
|
||||
|
||||
if (TARGET_H8300)
|
||||
{
|
||||
cpu_type = (int) CPU_H8300;
|
||||
|
Loading…
Reference in New Issue
Block a user