aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2015-04-23 05:36:55 +0000
committerAlan Modra <amodra@gcc.gnu.org>2015-04-23 15:06:55 +0930
commit905bcb98e7fc013e4061f060106fed01d335ea16 (patch)
treed804dcc8b8af549c39ad3f2795ddbc5db3c989ab /gcc
parent30821df75c2dbbb969dca0144177948dda1f7a80 (diff)
downloadgcc-905bcb98e7fc013e4061f060106fed01d335ea16.zip
gcc-905bcb98e7fc013e4061f060106fed01d335ea16.tar.gz
gcc-905bcb98e7fc013e4061f060106fed01d335ea16.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f59ab84..4db6fa4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-23 Anton Blanchard <anton@samba.org>
+
+ * config/rs6000/rs6000.c (rs6000_output_function_prologue): No
+ need for -mprofile-kernel to save LR to stack.
+
2015-04-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (rtx_is_swappable_p): Commentary
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 77f6a86..1eb5e99 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