summaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/vmlinux-sun3.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/kernel/vmlinux-sun3.lds')
-rw-r--r--arch/m68k/kernel/vmlinux-sun3.lds10
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/m68k/kernel/vmlinux-sun3.lds b/arch/m68k/kernel/vmlinux-sun3.lds
index 47d04be322a..03efaf04d7d 100644
--- a/arch/m68k/kernel/vmlinux-sun3.lds
+++ b/arch/m68k/kernel/vmlinux-sun3.lds
@@ -77,14 +77,6 @@ __init_begin = .;
_end = . ;
- /* Sections to be discarded */
- /DISCARD/ : {
- EXIT_TEXT
- EXIT_DATA
- *(.exitcall.exit)
- *(.discard)
- }
-
.crap : {
/* Stabs debugging sections. */
*(.stab)
@@ -97,4 +89,6 @@ __init_begin = .;
*(.note)
}
+ /* Sections to be discarded */
+ DISCARDS
}