]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc/64: Do not create new section for save/restore functions
authorNicholas Piggin <npiggin@gmail.com>
Thu, 11 May 2017 15:56:51 +0000 (01:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 30 May 2017 04:59:51 +0000 (14:59 +1000)
There is no need to create a new section for these. Consolidate with
32-bit and just use .text.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/lib/crtsavres.S

index 18af0b3d3eb238df02450b3f85ad1671cf9a3eef..7e5e1c28e56ac58b4cd3ce718c8eeea92c18735e 100644 (file)
 
 #ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
 
-#ifndef CONFIG_PPC64
-
        .section ".text"
 
+#ifndef CONFIG_PPC64
+
 /* Routines for saving integer registers, called by the compiler.  */
 /* Called with r11 pointing to the stack header word of the caller of the */
 /* function, just beyond the end of the integer save area.  */
@@ -314,8 +314,6 @@ _GLOBAL(_restvr_31)
 
 #else /* CONFIG_PPC64 */
 
-       .section ".text.save.restore","ax",@progbits
-
 .globl _savegpr0_14
 _savegpr0_14:
        std     r14,-144(r1)