diff options
Diffstat (limited to 'arch/mips/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/mips/kernel/vmlinux.lds.S | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S index 45901609b741..1474c18fb777 100644 --- a/arch/mips/kernel/vmlinux.lds.S +++ b/arch/mips/kernel/vmlinux.lds.S | |||
@@ -176,18 +176,6 @@ SECTIONS | |||
176 | 176 | ||
177 | _end = . ; | 177 | _end = . ; |
178 | 178 | ||
179 | /* Sections to be discarded */ | ||
180 | /DISCARD/ : { | ||
181 | *(.exitcall.exit) | ||
182 | *(.discard) | ||
183 | |||
184 | /* ABI crap starts here */ | ||
185 | *(.MIPS.options) | ||
186 | *(.options) | ||
187 | *(.pdr) | ||
188 | *(.reginfo) | ||
189 | } | ||
190 | |||
191 | /* These mark the ABI of the kernel for debuggers. */ | 179 | /* These mark the ABI of the kernel for debuggers. */ |
192 | .mdebug.abi32 : { | 180 | .mdebug.abi32 : { |
193 | KEEP(*(.mdebug.abi32)) | 181 | KEEP(*(.mdebug.abi32)) |
@@ -213,4 +201,14 @@ SECTIONS | |||
213 | *(.gptab.bss) | 201 | *(.gptab.bss) |
214 | *(.gptab.sbss) | 202 | *(.gptab.sbss) |
215 | } | 203 | } |
204 | |||
205 | /* Sections to be discarded */ | ||
206 | DISCARDS | ||
207 | /DISCARD/ : { | ||
208 | /* ABI crap starts here */ | ||
209 | *(.MIPS.options) | ||
210 | *(.options) | ||
211 | *(.pdr) | ||
212 | *(.reginfo) | ||
213 | } | ||
216 | } | 214 | } |