diff options
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index 65d1c08cf09e..654e479802f2 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -218,6 +218,11 @@ SECTIONS | |||
218 | 218 | ||
219 | .got : AT(ADDR(.got) - LOAD_OFFSET) { | 219 | .got : AT(ADDR(.got) - LOAD_OFFSET) { |
220 | __toc_start = .; | 220 | __toc_start = .; |
221 | #ifndef CONFIG_RELOCATABLE | ||
222 | __prom_init_toc_start = .; | ||
223 | arch/powerpc/kernel/prom_init.o*(.toc .got) | ||
224 | __prom_init_toc_end = .; | ||
225 | #endif | ||
221 | *(.got) | 226 | *(.got) |
222 | *(.toc) | 227 | *(.toc) |
223 | } | 228 | } |