diff options
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/kernel/vmlinux.lds.S | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S index a3175ebb38cc..6c81836b9229 100644 --- a/arch/cris/kernel/vmlinux.lds.S +++ b/arch/cris/kernel/vmlinux.lds.S | |||
@@ -140,13 +140,7 @@ SECTIONS | |||
140 | _end = .; | 140 | _end = .; |
141 | __end = .; | 141 | __end = .; |
142 | 142 | ||
143 | /* Sections to be discarded */ | ||
144 | /DISCARD/ : { | ||
145 | EXIT_TEXT | ||
146 | EXIT_DATA | ||
147 | *(.exitcall.exit) | ||
148 | *(.discard) | ||
149 | } | ||
150 | |||
151 | dram_end = dram_start + (CONFIG_ETRAX_DRAM_SIZE - __CONFIG_ETRAX_VMEM_SIZE)*1024*1024; | 143 | dram_end = dram_start + (CONFIG_ETRAX_DRAM_SIZE - __CONFIG_ETRAX_VMEM_SIZE)*1024*1024; |
144 | |||
145 | DISCARDS | ||
152 | } | 146 | } |