On Tue, 1 Nov 2016 15:22:19 +1100
Nicholas Piggin [off-list ref] 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@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