diff options
Diffstat (limited to 'arch/m68k/kernel/vmlinux-std.lds')
-rw-r--r-- | arch/m68k/kernel/vmlinux-std.lds | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/m68k/kernel/vmlinux-std.lds b/arch/m68k/kernel/vmlinux-std.lds index 01d212bb05a6..47eac19e8f61 100644 --- a/arch/m68k/kernel/vmlinux-std.lds +++ b/arch/m68k/kernel/vmlinux-std.lds | |||
@@ -82,13 +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 | } | ||
91 | |||
92 | /* Stabs debugging sections. */ | 85 | /* Stabs debugging sections. */ |
93 | .stab 0 : { *(.stab) } | 86 | .stab 0 : { *(.stab) } |
94 | .stabstr 0 : { *(.stabstr) } | 87 | .stabstr 0 : { *(.stabstr) } |
@@ -97,4 +90,7 @@ SECTIONS | |||
97 | .stab.index 0 : { *(.stab.index) } | 90 | .stab.index 0 : { *(.stab.index) } |
98 | .stab.indexstr 0 : { *(.stab.indexstr) } | 91 | .stab.indexstr 0 : { *(.stab.indexstr) } |
99 | .comment 0 : { *(.comment) } | 92 | .comment 0 : { *(.comment) } |
93 | |||
94 | /* Sections to be discarded */ | ||
95 | DISCARDS | ||
100 | } | 96 | } |