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
This commit is contained in:
parent
c787fed118
commit
1e9eca485a
|
@ -173,8 +173,7 @@ SECTIONS
|
|||
}
|
||||
|
||||
.got : AT(ADDR(.got) - LOAD_OFFSET) ALIGN(256) {
|
||||
*(.got)
|
||||
*(.toc)
|
||||
*(.got .toc)
|
||||
}
|
||||
|
||||
SOFT_MASK_TABLE(8)
|
||||
|
|
Loading…
Reference in New Issue