aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-08-02 14:42:37 +0930
committerAlan Modra <amodra@gcc.gnu.org>2011-08-02 14:42:37 +0930
commit390fa58886e1151f7844702ad2525febc18cfbf1 (patch)
tree2810f8111a9e4864fb6aac70accc6b60b7e4be60 /gcc/config/rs6000
parentd4be16f6d271bfdc6767405fc10ccdbbd5b7cd67 (diff)
downloadgcc-390fa58886e1151f7844702ad2525febc18cfbf1.zip
gcc-390fa58886e1151f7844702ad2525febc18cfbf1.tar.gz
gcc-390fa58886e1151f7844702ad2525febc18cfbf1.tar.bz2
rs6000.c (rs6000_emit_prologue): Add REG_CFA_RESTORE note for save_LR_around_toc_setup sequence.
* config/rs6000/rs6000.c (rs6000_emit_prologue): Add REG_CFA_RESTORE note for save_LR_around_toc_setup sequence. From-SVN: r177084
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r--gcc/config/rs6000/rs6000.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index dcf7856..2996513 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -20505,6 +20505,7 @@ rs6000_emit_prologue (void)
rs6000_emit_load_toc_table (TRUE);
insn = emit_move_insn (lr, frame_ptr_rtx);
+ add_reg_note (insn, REG_CFA_RESTORE, lr);
RTX_FRAME_RELATED_P (insn) = 1;
}
else