diff options
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/kernel/vmlinux.lds.S | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/arch/xtensa/kernel/vmlinux.lds.S b/arch/xtensa/kernel/vmlinux.lds.S index b1e24638acd7..921b6ff3b645 100644 --- a/arch/xtensa/kernel/vmlinux.lds.S +++ b/arch/xtensa/kernel/vmlinux.lds.S | |||
@@ -280,16 +280,6 @@ SECTIONS | |||
280 | *(.ResetVector.text) | 280 | *(.ResetVector.text) |
281 | } | 281 | } |
282 | 282 | ||
283 | /* Sections to be discarded */ | ||
284 | /DISCARD/ : | ||
285 | { | ||
286 | *(.exit.literal) | ||
287 | EXIT_TEXT | ||
288 | EXIT_DATA | ||
289 | *(.exitcall.exit) | ||
290 | *(.discard) | ||
291 | } | ||
292 | |||
293 | .xt.lit : { *(.xt.lit) } | 283 | .xt.lit : { *(.xt.lit) } |
294 | .xt.prop : { *(.xt.prop) } | 284 | .xt.prop : { *(.xt.prop) } |
295 | 285 | ||
@@ -322,4 +312,8 @@ SECTIONS | |||
322 | *(.xt.lit) | 312 | *(.xt.lit) |
323 | *(.gnu.linkonce.p*) | 313 | *(.gnu.linkonce.p*) |
324 | } | 314 | } |
315 | |||
316 | /* Sections to be discarded */ | ||
317 | DISCARDS | ||
318 | /DISCARD/ : { *(.exit.literal) } | ||
325 | } | 319 | } |