diff options
Diffstat (limited to 'arch/sh/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/sh/kernel/vmlinux.lds.S | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S index f53c76acaede..0ce254bca92f 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S | |||
@@ -163,16 +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 | } | ||
175 | |||
176 | STABS_DEBUG | ||
177 | DWARF_DEBUG | ||
178 | } | 176 | } |