2 * ld.script for compressed kernel support of MIPS
4 * Copyright (C) 2009 Lemote Inc.
5 * Author: Wu Zhangjin <wuzj@lemote.com>
12 /* . = VMLINUZ_LOAD_ADDRESS */
14 _text = .; /* Text and read-only data */
20 _etext = .; /* End of text section */
26 /* Put the compressed image here, so bss is on the end. */
32 .sdata : { *(.sdata) }
34 _edata = .; /* End of data section */
39 .sbss : { *(.sbss) *(.scommon) }
48 /* These are needed for ELF backends which have not yet been converted
49 * to the new style linker. */
51 .stab 0 : { *(.stab) }
52 .stabstr 0 : { *(.stabstr) }
54 /* These must appear regardless of . */
55 .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
56 .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
58 /* Sections to be discarded */