]> git.ipfire.org Git - thirdparty/gcc.git/commit
avr.md (SREG_ADDR): Remove constant definition.
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 8 Feb 2012 16:59:17 +0000 (16:59 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 8 Feb 2012 16:59:17 +0000 (16:59 +0000)
commit82b37806c51b3fa8cffa4876c0609e6a6801e02d
tree784f83660c11c20b5d56ebc421c3f38966d38b5d
parent31432e219f044eb7195b9f802db88ace3e7fe8a1
avr.md (SREG_ADDR): Remove constant definition.

* config/avr/avr.md (SREG_ADDR): Remove constant definition.
(SP_ADDR): Ditto.
(RAMPZ_ADDR): Ditto.
* config/avr/avr.c (avr_addr_t): New typedef.
(avr_addr): New struct to hold RAM address of SPL, SPH, RAMPZ, SREG.
(avr_init_expanders): Initialize it.
(expand_prologue): Use avr_addr instead of RAMPZ_ADDR, SP_ADDR,
SREG_ADDR.
(expand_epilogue): Ditto.
(avr_print_operand): Ditto.
(avr_file_start): Ditto.
(avr_emit_movmemhi): Ditto.

From-SVN: r184011
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.md