diff options
Diffstat (limited to 'arch/m32r/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/m32r/kernel/vmlinux.lds.S | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/m32r/kernel/vmlinux.lds.S b/arch/m32r/kernel/vmlinux.lds.S index 480a49944cfd..de5e21cca6a5 100644 --- a/arch/m32r/kernel/vmlinux.lds.S +++ b/arch/m32r/kernel/vmlinux.lds.S | |||
@@ -120,14 +120,6 @@ SECTIONS | |||
120 | 120 | ||
121 | _end = . ; | 121 | _end = . ; |
122 | 122 | ||
123 | /* Sections to be discarded */ | ||
124 | /DISCARD/ : { | ||
125 | EXIT_TEXT | ||
126 | EXIT_DATA | ||
127 | *(.exitcall.exit) | ||
128 | *(.discard) | ||
129 | } | ||
130 | |||
131 | /* Stabs debugging sections. */ | 123 | /* Stabs debugging sections. */ |
132 | .stab 0 : { *(.stab) } | 124 | .stab 0 : { *(.stab) } |
133 | .stabstr 0 : { *(.stabstr) } | 125 | .stabstr 0 : { *(.stabstr) } |
@@ -136,4 +128,7 @@ SECTIONS | |||
136 | .stab.index 0 : { *(.stab.index) } | 128 | .stab.index 0 : { *(.stab.index) } |
137 | .stab.indexstr 0 : { *(.stab.indexstr) } | 129 | .stab.indexstr 0 : { *(.stab.indexstr) } |
138 | .comment 0 : { *(.comment) } | 130 | .comment 0 : { *(.comment) } |
131 | |||
132 | /* Sections to be discarded */ | ||
133 | DISCARDS | ||
139 | } | 134 | } |