mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
powerpc/64: Remove unused prom_init_toc symbols
Commit24d33ac5b8("powerpc/64s: Make prom_init require RELOCATABLE") made prom_init depend on CONFIG_RELOCATABLE. But it missed cleaning up a case in the linker script for RELOCATABLE=n, and associated symbols. Remove them now. Fixes:24d33ac5b8("powerpc/64s: Make prom_init require RELOCATABLE") Reported-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220920131157.1032707-1-mpe@ellerman.id.au
This commit is contained in:
@@ -337,11 +337,6 @@ SECTIONS
|
||||
|
||||
.got : AT(ADDR(.got) - LOAD_OFFSET) ALIGN(256) {
|
||||
*(.got)
|
||||
#ifndef CONFIG_RELOCATABLE
|
||||
__prom_init_toc_start = .;
|
||||
arch/powerpc/kernel/prom_init.o*(.toc)
|
||||
__prom_init_toc_end = .;
|
||||
#endif
|
||||
*(.toc)
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user