rs6000.c (rs6000_output_function_prologue): No need for -mprofile-kernel to save...
authorAnton Blanchard <anton@samba.org>
Thu, 23 Apr 2015 05:36:55 +0000 (05:36 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 23 Apr 2015 05:36:55 +0000 (15:06 +0930)
* config/rs6000/rs6000.c (rs6000_output_function_prologue): No
need for -mprofile-kernel to save LR to stack.

From-SVN: r222352

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index f59ab8485ae2a26c53a7171b5e4196408af66238..4db6fa494beef22df84a834e8518e5b2485c6d02 100644 (file)
@@ -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
index 77f6a869929b533f136d6eb7475f99afd54e29bc..1eb5e997c0e0767dbf96a02f55cb57a2f9dd4e69 100644 (file)
@@ -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