OSDN Git Service

* config/m68k/coff.h (REGISTER_NAMES): Add fake register `argptr'
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2003 06:47:19 +0000 (06:47 +0000)
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2003 06:47:19 +0000 (06:47 +0000)
commit2398df487e2c3d6a5d6f4b850d516bf5dd51df8c
treec5dc3a68e0f14ff0d7a84f28b088e5b5bc1af94f
parent80c02bec544b4130d6eb5de7dc7188288cbeffa9
* config/m68k/coff.h (REGISTER_NAMES): Add fake register `argptr'
* config/m68k/hp320.h (REGISTER_NAMES): Likewise.
* config/m68k/linux.h (REGISTER_NAMES): Likewise.
* config/m68k/m68kelf.h (REGISTER_NAMES): Likewise.
* gcc/config/m68k/sgs.h (REGISTER_NAMES): Likewise.
* config/m68k/m68k-protos.h (m68k_initial_elimination_offset): Add prototype.
* config/m68k/m68k.c (m68k_frame): New struct, simular to ix86 back-end.
(m68k_compute_frame_layout): New function.
(m68k_initial_elimination_offset): New function.
(m68k_output_function_prologue): ColdFire-specific movem handling.
(m68k_output_function_epilogue): Likewise.
* config/m68k/m68k.h (FIRST_PSEOUDO_REGISTER): Make room for argptr reg.
(ARG_POINTER_REGNUM): Add new definition.
(INITIAL_FRAME_POINTER_OFFSET): Remove macro.
(ELIMINABLE_REGS): Define new macro, like in ix86 back-end.
(CAN_ELIMINATE): Likewise.
(INITIAL_ELIMINATION_OFFSET): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71231 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/m68k/coff.h
gcc/config/m68k/hp320.h
gcc/config/m68k/linux.h
gcc/config/m68k/m68k-protos.h
gcc/config/m68k/m68k.c
gcc/config/m68k/m68k.h
gcc/config/m68k/m68kelf.h
gcc/config/m68k/sgs.h