powerpc/64: switch asm helpers from GOT to TOC relative addressing
authorNicholas Piggin <npiggin@gmail.com>
Mon, 26 Sep 2022 03:40:55 +0000 (13:40 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Sep 2022 09:22:12 +0000 (19:22 +1000)
commit754f611774e4b9357a944f5b703dd291c85161cf
treee53c35afe57a2b5bc7567fdb16140f4a95800da6
parentdab3b8f4fd09c22e8dbb2d9608194c7d52252f33
powerpc/64: switch asm helpers from GOT to TOC relative addressing

There is no need to use GOT addressing within the kernel.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220926034057.2360083-4-npiggin@gmail.com
arch/powerpc/boot/ppc_asm.h
arch/powerpc/include/asm/ppc_asm.h