diff options
Diffstat (limited to 'arch/ppc/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/ppc/kernel/vmlinux.lds.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ppc/kernel/vmlinux.lds.S b/arch/ppc/kernel/vmlinux.lds.S index 9353584fb710..17d2db7e537d 100644 --- a/arch/ppc/kernel/vmlinux.lds.S +++ b/arch/ppc/kernel/vmlinux.lds.S | |||
@@ -96,6 +96,9 @@ SECTIONS | |||
96 | *(.init.text) | 96 | *(.init.text) |
97 | _einittext = .; | 97 | _einittext = .; |
98 | } | 98 | } |
99 | /* .exit.text is discarded at runtime, not link time, | ||
100 | to deal with references from __bug_table */ | ||
101 | .exit.text : { *(.exit.text) } | ||
99 | .init.data : { | 102 | .init.data : { |
100 | *(.init.data); | 103 | *(.init.data); |
101 | __vtop_table_begin = .; | 104 | __vtop_table_begin = .; |
@@ -190,5 +193,6 @@ SECTIONS | |||
190 | /* Sections to be discarded. */ | 193 | /* Sections to be discarded. */ |
191 | /DISCARD/ : { | 194 | /DISCARD/ : { |
192 | *(.exitcall.exit) | 195 | *(.exitcall.exit) |
196 | *(.exit.data) | ||
193 | } | 197 | } |
194 | } | 198 | } |