Home
last modified time | relevance | path

Searched hist:efe0160cfd40a99c052a00e174787c1f4158a9cd (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/powerpc/lib/
H A DMakefilediff efe0160cfd40a99c052a00e174787c1f4158a9cd Thu May 11 10:56:52 CDT 2017 Nicholas Piggin <npiggin@gmail.com> powerpc/64: Linker on-demand sfpr functions for modules

For final link, the powerpc64 linker generates fpr save/restore
functions on-demand, placing them in the .sfpr section. Starting with
binutils 2.25, these can be provided for non-final links with
--save-restore-funcs. Use that where possible for module links.

This saves about 200 bytes per module (~60kB) on powernv defconfig
build.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
/openbmc/linux/arch/powerpc/
H A DMakefilediff efe0160cfd40a99c052a00e174787c1f4158a9cd Thu May 11 10:56:52 CDT 2017 Nicholas Piggin <npiggin@gmail.com> powerpc/64: Linker on-demand sfpr functions for modules

For final link, the powerpc64 linker generates fpr save/restore
functions on-demand, placing them in the .sfpr section. Starting with
binutils 2.25, these can be provided for non-final links with
--save-restore-funcs. Use that where possible for module links.

This saves about 200 bytes per module (~60kB) on powernv defconfig
build.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>