1 /* ld script to make ARM Linux kernel
2 * taken from the i386 version by Russell King
3 * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>
10 .init : { /* Init code and data */
13 __proc_info_begin = .;
16 __arch_info_begin = .;
31 /DISCARD/ : { /* Exit code and data */
37 .text : { /* Real text segment */
38 _text = .; /* Text and read-only data */
42 *(.text.lock) /* out-of-line lock text */
46 __start___ex_table = .; /* Exception table */
48 __stop___ex_table = .;
50 __start___ksymtab = .; /* Kernel symbol table */
54 *(.got) /* Global offset table */
56 _etext = .; /* End of text section */
63 * first, the init task union, aligned
64 * to an 8192 byte boundary.
69 * then the cacheline aligned data
72 *(.data.cacheline_aligned)
75 * and the usual data section
84 __bss_start = .; /* BSS */
89 /* Stabs debugging sections. */
90 .stab 0 : { *(.stab) }
91 .stabstr 0 : { *(.stabstr) }
92 .stab.excl 0 : { *(.stab.excl) }
93 .stab.exclstr 0 : { *(.stab.exclstr) }
94 .stab.index 0 : { *(.stab.index) }
95 .stab.indexstr 0 : { *(.stab.indexstr) }
96 .comment 0 : { *(.comment) }