From 905bcb98e7fc013e4061f060106fed01d335ea16 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Thu, 23 Apr 2015 05:36:55 +0000 Subject: [PATCH] rs6000.c (rs6000_output_function_prologue): No need for -mprofile-kernel to save LR to stack. * config/rs6000/rs6000.c (rs6000_output_function_prologue): No need for -mprofile-kernel to save LR to stack. From-SVN: r222352 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f59ab8485ae..4db6fa494be 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-04-23 Anton Blanchard + + * config/rs6000/rs6000.c (rs6000_output_function_prologue): No + need for -mprofile-kernel to save LR to stack. + 2015-04-22 Bill Schmidt * config/rs6000/rs6000.c (rtx_is_swappable_p): Commentary diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 77f6a869929..1eb5e997c0e 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -24433,7 +24433,6 @@ rs6000_output_function_prologue (FILE *file, gcc_assert (!TARGET_32BIT); asm_fprintf (file, "\tmflr %s\n", reg_names[0]); - asm_fprintf (file, "\tstd %s,16(%s)\n", reg_names[0], reg_names[1]); /* In the ELFv2 ABI we have no compiler stack word. It must be the resposibility of _mcount to preserve the static chain -- 2.30.2