powerpc/64: Do not link crtsavres.o in vmlinux
authorNicholas Piggin <npiggin@gmail.com>
Thu, 11 May 2017 15:56:49 +0000 (01:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 30 May 2017 04:59:51 +0000 (14:59 +1000)
commitbaa25b571a168aff5a13bfdc973f1229e2b12b63
tree97ab772fa21311078cc9474de059a6e6e8604c2d
parente8c688251d0e8baca1cd68992c9ef4078a0361c8
powerpc/64: Do not link crtsavres.o in vmlinux

The 64-bit linker creates save/restore functions on demand with final
links, so vmlinux does not require crtsavres.o.

Make crtsavres.o extra-y on 64-bit (it is still required by modules).

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