aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/vmlinux.lds.S')
-rw-r--r--arch/sh/kernel/vmlinux.lds.S12
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
index 1b7d9d541e01..a1e4ec24f1f5 100644
--- a/arch/sh/kernel/vmlinux.lds.S
+++ b/arch/sh/kernel/vmlinux.lds.S
@@ -99,16 +99,8 @@ SECTIONS
99 _ebss = .; /* uClinux MTD sucks */ 99 _ebss = .; /* uClinux MTD sucks */
100 _end = . ; 100 _end = . ;
101 101
102 /*
103 * When something in the kernel is NOT compiled as a module, the
104 * module cleanup code and data are put into these segments. Both
105 * can then be thrown away, as cleanup code is never called unless
106 * it's a module.
107 */
108 /DISCARD/ : {
109 EXIT_CALL
110 }
111
112 STABS_DEBUG 102 STABS_DEBUG
113 DWARF_DEBUG 103 DWARF_DEBUG
104
105 DISCARDS
114} 106}