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 */
14 __proc_info_begin = .;
17 __arch_info_begin = .;
32 /DISCARD/ : { /* Exit code and data */
38 .text : { /* Real text segment */
39 _text = .; /* Text and read-only data */
43 *(.text.lock) /* out-of-line lock text */
47 __start___ex_table = .; /* Exception table */
49 __stop___ex_table = .;
51 __start___ksymtab = .; /* Kernel symbol table */
55 *(.got) /* Global offset table */
57 _etext = .; /* End of text section */
64 * first, the init task union, aligned
65 * to an 8192 byte boundary.
70 * then the cacheline aligned data
73 *(.data.cacheline_aligned)
76 * and the usual data section
85 __bss_start = .; /* BSS */
90 /* Stabs debugging sections. */
91 .stab 0 : { *(.stab) }
92 .stabstr 0 : { *(.stabstr) }
93 .stab.excl 0 : { *(.stab.excl) }
94 .stab.exclstr 0 : { *(.stab.exclstr) }
95 .stab.index 0 : { *(.stab.index) }
96 .stab.indexstr 0 : { *(.stab.indexstr) }
97 .comment 0 : { *(.comment) }