libgcc/
commit8c8193e1f5f49c161d53cfff7494e2e4f7704731
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Dec 2011 15:04:09 +0000 (6 15:04 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Dec 2011 15:04:09 +0000 (6 15:04 +0000)
tree55fe407836f382ac16da8b2665c7119175760165
parent9d734fa8cb3d2255d8947e484ed998724a333568
libgcc/
Forward-port from gcc-4_6-branch r181936 2011-12-02.

PR target/51345
PR target/51002
* config/avr/lib1funcs.S (__prologue_saves__,
__epilogue_restores__, __divdi3_moddi3): Enclose parts using
__SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.

gcc/
Forward-port from gcc-4_6-branch r181936 2011-12-02.

PR target/51002
* config/avr/avr.md (movhi_sp_r): Set insn condition to
!AVR_HAVE_8BIT_SP.
* config/avr/avr.c (output_movhi): Use "clr%B0" instead of "in
%B0,__SP_H__" if AVR_HAVE_8BIT_SP.
(avr_file_start): Only print "__SP_H__ = 0x3e" if !AVR_HAVE_8BIT_SP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182052 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.md
libgcc/ChangeLog
libgcc/config/avr/lib1funcs.S