]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc12c4dd5a41935f1f1f139f88b66fd3402ec2b3
tree1b0684a412de0e163c5fd15b91bd49e6d2cdbd20
parent206ce6c55a88aa2c5e40249a823b05502644aa17
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