diff options
Diffstat (limited to 'arch/cris/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/cris/kernel/vmlinux.lds.S | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S index 0d2adfc794d4..6c81836b9229 100644 --- a/arch/cris/kernel/vmlinux.lds.S +++ b/arch/cris/kernel/vmlinux.lds.S | |||
@@ -140,12 +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 | } | ||
149 | |||
150 | 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 | ||
151 | } | 146 | } |