[PATCH] powerpc: fpr save/restore function cleanups

Nicholas Piggin npiggin at gmail.com
Tue Nov 1 15:41:12 AEDT 2016


On Tue,  1 Nov 2016 15:22:19 +1100
Nicholas Piggin <npiggin at gmail.com> wrote:

> The powerpc64 linker generates fpr save/restore functions on-demand,
> placing them in the .sfpr section. So remove the explicitly coded ones
> from the 64 build.
> 
> Have 32-bit put save/restore functions into .sfpr section rather than
> .text, to match 64-bit.
> 
> And explicitly have the linker script place the section rather than
> leaving it as orphan.
> 
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
> 
> I tested this with 64-bit optimize-for-size build with modules,
> and that works okay.

No I didn't, it's broken. I'll send an update shortly.

Thanks,
Nick


More information about the Linuxppc-dev mailing list