Commit 1e9eca48 authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Michael Ellerman
Browse files

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: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220916040755.2398112-7-npiggin@gmail.com
parent c787fed1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -173,8 +173,7 @@ SECTIONS
	}

	.got : AT(ADDR(.got) - LOAD_OFFSET) ALIGN(256) {
		*(.got)
		*(.toc)
		*(.got .toc)
	}

	SOFT_MASK_TABLE(8)