powerpc/32/build: move got1/got2 sections out of text
authorNicholas Piggin <npiggin@gmail.com>
Fri, 16 Sep 2022 04:07:50 +0000 (14:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:17 +0000 (20:58 +1000)
commit1faa1235c1a00614bc4849a8dbd0790363c9a22f
tree1b0684a412de0e163c5fd15b91bd49e6d2cdbd20
parent7082f8e7d2276575a8806370007cbb4a7b9abdce
powerpc/32/build: move got1/got2 sections out of text

Following the example from the binutils default linker script, move
.got1 and .got2 out of .text, to just after RO_DATA.

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-3-npiggin@gmail.com
arch/powerpc/kernel/vmlinux.lds.S