diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/vmlinux.lds.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S index 3d16d6ef47e1..6d5abba2ee27 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S | |||
@@ -91,6 +91,11 @@ SECTIONS | |||
91 | __con_initcall_end = .; | 91 | __con_initcall_end = .; |
92 | SECURITY_INIT | 92 | SECURITY_INIT |
93 | 93 | ||
94 | /* .exit.text is discarded at runtime, not link time, to deal with | ||
95 | references from .rodata */ | ||
96 | .exit.text : { *(.exit.text) } | ||
97 | .exit.data : { *(.exit.data) } | ||
98 | |||
94 | #ifdef CONFIG_BLK_DEV_INITRD | 99 | #ifdef CONFIG_BLK_DEV_INITRD |
95 | . = ALIGN(PAGE_SIZE); | 100 | . = ALIGN(PAGE_SIZE); |
96 | 101 | ||