Skip to content

Commit cde9f2f

Browse files
npigginmpe
authored andcommitted
powerpc/64: Do not create new section for save/restore functions
There is no need to create a new section for these. Consolidate with 32-bit and just use .text. Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
1 parent 7c868b6 commit cde9f2f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

arch/powerpc/lib/crtsavres.S

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444

4545
#ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
4646

47-
#ifndef CONFIG_PPC64
48-
4947
.section ".text"
5048

49+
#ifndef CONFIG_PPC64
50+
5151
/* Routines for saving integer registers, called by the compiler. */
5252
/* Called with r11 pointing to the stack header word of the caller of the */
5353
/* function, just beyond the end of the integer save area. */
@@ -314,8 +314,6 @@ _GLOBAL(_restvr_31)
314314

315315
#else /* CONFIG_PPC64 */
316316

317-
.section ".text.save.restore","ax",@progbits
318-
319317
.globl _savegpr0_14
320318
_savegpr0_14:
321319
std r14,-144(r1)

0 commit comments

Comments
 (0)