diff options
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index 920276c0f6a1..710a54005dfb 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -170,7 +170,13 @@ SECTIONS | |||
170 | } | 170 | } |
171 | #ifdef CONFIG_RELOCATABLE | 171 | #ifdef CONFIG_RELOCATABLE |
172 | . = ALIGN(8); | 172 | . = ALIGN(8); |
173 | .dynsym : AT(ADDR(.dynsym) - LOAD_OFFSET) { *(.dynsym) } | 173 | .dynsym : AT(ADDR(.dynsym) - LOAD_OFFSET) |
174 | { | ||
175 | #ifdef CONFIG_RELOCATABLE_PPC32 | ||
176 | __dynamic_symtab = .; | ||
177 | #endif | ||
178 | *(.dynsym) | ||
179 | } | ||
174 | .dynstr : AT(ADDR(.dynstr) - LOAD_OFFSET) { *(.dynstr) } | 180 | .dynstr : AT(ADDR(.dynstr) - LOAD_OFFSET) { *(.dynstr) } |
175 | .dynamic : AT(ADDR(.dynamic) - LOAD_OFFSET) | 181 | .dynamic : AT(ADDR(.dynamic) - LOAD_OFFSET) |
176 | { | 182 | { |