linux-unwind.h (frob_update_context <__powerpc64__>): Restore for indirect call bcrtl...
authorAlan Modra <amodra@gmail.com>
Mon, 1 Aug 2011 15:05:24 +0000 (00:35 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 1 Aug 2011 15:05:24 +0000 (00:35 +0930)
commitbd15e32c71b65cf399dfe72708b8ab3f35550dfe
treec6bcd1e86393045e79e0942fc18bb2e86285cf56
parent607d0635d893d141b3d4fd682b625df70b52a805
linux-unwind.h (frob_update_context <__powerpc64__>): Restore for indirect call bcrtl from correct stack slot...

libgcc/
* config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
Restore for indirect call bcrtl from correct stack slot, and only
if cfa+40 isn't valid.
gcc/
* config/rs6000/rs6000-protos.h (rs6000_save_toc_in_prologue_p): Delete.
* config/rs6000/rs6000.c (rs6000_save_toc_in_prologue_p): Make static.
(rs6000_emit_prologue): Don't prematurely return when
TARGET_SINGLE_PIC_BASE.  Don't emit eh_frame info in
save_toc_in_prologue case.
(rs6000_call_indirect_aix): Only disallow save_toc_in_prologue for
calls_alloca.

From-SVN: r177041
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
libgcc/ChangeLog
libgcc/config/rs6000/linux-unwind.h