提交 cde9f2f4 编写于 作者: N Nicholas Piggin 提交者: Michael Ellerman

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: NNicholas Piggin <npiggin@gmail.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 7c868b66
...@@ -44,10 +44,10 @@ ...@@ -44,10 +44,10 @@
#ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE #ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
#ifndef CONFIG_PPC64
.section ".text" .section ".text"
#ifndef CONFIG_PPC64
/* Routines for saving integer registers, called by the compiler. */ /* Routines for saving integer registers, called by the compiler. */
/* Called with r11 pointing to the stack header word of the caller of the */ /* Called with r11 pointing to the stack header word of the caller of the */
/* function, just beyond the end of the integer save area. */ /* function, just beyond the end of the integer save area. */
...@@ -314,8 +314,6 @@ _GLOBAL(_restvr_31) ...@@ -314,8 +314,6 @@ _GLOBAL(_restvr_31)
#else /* CONFIG_PPC64 */ #else /* CONFIG_PPC64 */
.section ".text.save.restore","ax",@progbits
.globl _savegpr0_14 .globl _savegpr0_14
_savegpr0_14: _savegpr0_14:
std r14,-144(r1) std r14,-144(r1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册