X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fcris%2Fkernel%2Fvmlinux.lds.S;h=bbfda67d2907009c34af0d1b3f3ecd35ec03e47e;hb=6d7f18f6ea3a13af95bdf507fc54d42b165e1712;hp=971c2fa08f2d4ff869bc65185fbd51dae7e004d5;hpb=24924ece4482d5466ffcd0affedce63816c88e53;p=pandora-kernel.git diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S index 971c2fa08f2d..bbfda67d2907 100644 --- a/arch/cris/kernel/vmlinux.lds.S +++ b/arch/cris/kernel/vmlinux.lds.S @@ -119,12 +119,7 @@ SECTIONS _end = .; __end = .; - /* Sections to be discarded */ - /DISCARD/ : { - EXIT_TEXT - EXIT_DATA - *(.exitcall.exit) - } - dram_end = dram_start + (CONFIG_ETRAX_DRAM_SIZE - __CONFIG_ETRAX_VMEM_SIZE)*1024*1024; + + DISCARDS }