diff options
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/kernel/vmlinux-std.lds | 11 | ||||
-rw-r--r-- | arch/m68k/kernel/vmlinux-sun3.lds | 10 |
2 files changed, 5 insertions, 16 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 | } |
diff --git a/arch/m68k/kernel/vmlinux-sun3.lds b/arch/m68k/kernel/vmlinux-sun3.lds index 47d04be322aa..03efaf04d7d7 100644 --- a/arch/m68k/kernel/vmlinux-sun3.lds +++ b/arch/m68k/kernel/vmlinux-sun3.lds | |||
@@ -77,14 +77,6 @@ __init_begin = .; | |||
77 | 77 | ||
78 | _end = . ; | 78 | _end = . ; |
79 | 79 | ||
80 | /* Sections to be discarded */ | ||
81 | /DISCARD/ : { | ||
82 | EXIT_TEXT | ||
83 | EXIT_DATA | ||
84 | *(.exitcall.exit) | ||
85 | *(.discard) | ||
86 | } | ||
87 | |||
88 | .crap : { | 80 | .crap : { |
89 | /* Stabs debugging sections. */ | 81 | /* Stabs debugging sections. */ |
90 | *(.stab) | 82 | *(.stab) |
@@ -97,4 +89,6 @@ __init_begin = .; | |||
97 | *(.note) | 89 | *(.note) |
98 | } | 90 | } |
99 | 91 | ||
92 | /* Sections to be discarded */ | ||
93 | DISCARDS | ||
100 | } | 94 | } |