powerpc/64/build: merge .got and .toc input sections
authorNicholas Piggin <npiggin@gmail.com>
Fri, 16 Sep 2022 04:07:54 +0000 (14:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:17 +0000 (20:58 +1000)
commit1e9eca485a840985a663080eb049c420272d4bdd
treed7e276e66f0319e7df801a95f4ff80d70dcda550
parentc787fed11890babda1e4882cd3b6efaf412e1bde
powerpc/64/build: merge .got and .toc input sections

Follow the binutils ld internal linker script and merge .got and .toc
input sections in the .got output section.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220916040755.2398112-7-npiggin@gmail.com
arch/powerpc/kernel/vmlinux.lds.S