diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/vmlinux.lds.S | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S index 766976d27b2..0ce254bca92 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S | |||
@@ -163,17 +163,14 @@ SECTIONS | |||
163 | _end = . ; | 163 | _end = . ; |
164 | } | 164 | } |
165 | 165 | ||
166 | STABS_DEBUG | ||
167 | DWARF_DEBUG | ||
168 | |||
166 | /* | 169 | /* |
167 | * When something in the kernel is NOT compiled as a module, the | 170 | * When something in the kernel is NOT compiled as a module, the |
168 | * module cleanup code and data are put into these segments. Both | 171 | * module cleanup code and data are put into these segments. Both |
169 | * can then be thrown away, as cleanup code is never called unless | 172 | * can then be thrown away, as cleanup code is never called unless |
170 | * it's a module. | 173 | * it's a module. |
171 | */ | 174 | */ |
172 | /DISCARD/ : { | 175 | DISCARDS |
173 | *(.exitcall.exit) | ||
174 | *(.discard) | ||
175 | } | ||
176 | |||
177 | STABS_DEBUG | ||
178 | DWARF_DEBUG | ||
179 | } | 176 | } |