diff options
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/kernel/vmlinux.lds.S | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/m32r/kernel/vmlinux.lds.S b/arch/m32r/kernel/vmlinux.lds.S index 4179adf6c624..de5e21cca6a5 100644 --- a/arch/m32r/kernel/vmlinux.lds.S +++ b/arch/m32r/kernel/vmlinux.lds.S | |||
@@ -120,13 +120,6 @@ SECTIONS | |||
120 | 120 | ||
121 | _end = . ; | 121 | _end = . ; |
122 | 122 | ||
123 | /* Sections to be discarded */ | ||
124 | /DISCARD/ : { | ||
125 | EXIT_TEXT | ||
126 | EXIT_DATA | ||
127 | *(.exitcall.exit) | ||
128 | } | ||
129 | |||
130 | /* Stabs debugging sections. */ | 123 | /* Stabs debugging sections. */ |
131 | .stab 0 : { *(.stab) } | 124 | .stab 0 : { *(.stab) } |
132 | .stabstr 0 : { *(.stabstr) } | 125 | .stabstr 0 : { *(.stabstr) } |
@@ -135,4 +128,7 @@ SECTIONS | |||
135 | .stab.index 0 : { *(.stab.index) } | 128 | .stab.index 0 : { *(.stab.index) } |
136 | .stab.indexstr 0 : { *(.stab.indexstr) } | 129 | .stab.indexstr 0 : { *(.stab.indexstr) } |
137 | .comment 0 : { *(.comment) } | 130 | .comment 0 : { *(.comment) } |
131 | |||
132 | /* Sections to be discarded */ | ||
133 | DISCARDS | ||
138 | } | 134 | } |