diff options
Diffstat (limited to 'arch/m68k/kernel/vmlinux-std.lds')
-rw-r--r-- | arch/m68k/kernel/vmlinux-std.lds | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/m68k/kernel/vmlinux-std.lds b/arch/m68k/kernel/vmlinux-std.lds index 905a797ada93..47eac19e8f61 100644 --- a/arch/m68k/kernel/vmlinux-std.lds +++ b/arch/m68k/kernel/vmlinux-std.lds | |||
@@ -82,14 +82,6 @@ SECTIONS | |||
82 | 82 | ||
83 | _end = . ; | 83 | _end = . ; |
84 | 84 | ||
85 | /* Sections to be discarded */ | ||
86 | /DISCARD/ : { | ||
87 | EXIT_TEXT | ||
88 | EXIT_DATA | ||
89 | *(.exitcall.exit) | ||
90 | *(.discard) | ||
91 | } | ||
92 | |||
93 | /* Stabs debugging sections. */ | 85 | /* Stabs debugging sections. */ |
94 | .stab 0 : { *(.stab) } | 86 | .stab 0 : { *(.stab) } |
95 | .stabstr 0 : { *(.stabstr) } | 87 | .stabstr 0 : { *(.stabstr) } |
@@ -98,4 +90,7 @@ SECTIONS | |||
98 | .stab.index 0 : { *(.stab.index) } | 90 | .stab.index 0 : { *(.stab.index) } |
99 | .stab.indexstr 0 : { *(.stab.indexstr) } | 91 | .stab.indexstr 0 : { *(.stab.indexstr) } |
100 | .comment 0 : { *(.comment) } | 92 | .comment 0 : { *(.comment) } |
93 | |||
94 | /* Sections to be discarded */ | ||
95 | DISCARDS | ||
101 | } | 96 | } |