aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/vmlinux.lds.S')
-rw-r--r--arch/mips/kernel/vmlinux.lds.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index 79f0317d84ac..2f4508f55fca 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -109,9 +109,6 @@ SECTIONS
109 .con_initcall.init : { *(.con_initcall.init) } 109 .con_initcall.init : { *(.con_initcall.init) }
110 __con_initcall_end = .; 110 __con_initcall_end = .;
111 SECURITY_INIT 111 SECURITY_INIT
112 /* .exit.text is discarded at runtime, not link time, to deal with
113 references from .rodata */
114 .exit.text : { *(.exit.text) }
115 . = ALIGN(_PAGE_SIZE); 112 . = ALIGN(_PAGE_SIZE);
116 __initramfs_start = .; 113 __initramfs_start = .;
117 .init.ramfs : { *(.init.ramfs) } 114 .init.ramfs : { *(.init.ramfs) }
@@ -139,6 +136,7 @@ SECTIONS
139 136
140 /* Sections to be discarded */ 137 /* Sections to be discarded */
141 /DISCARD/ : { 138 /DISCARD/ : {
139 *(.exit.text)
142 *(.exit.data) 140 *(.exit.data)
143 *(.exitcall.exit) 141 *(.exitcall.exit)
144 142