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>
4 * borrowed from Russels ARM port by Ian Molton
7 #include <asm-generic/vmlinux.lds.h>
15 .init : { /* Init code and data */
21 __proc_info_begin = .;
24 __arch_info_begin = .;
46 __con_initcall_start = .;
48 __con_initcall_end = .;
50 __initramfs_start = .;
51 usr/built-in.o(.init.ramfs)
57 /DISCARD/ : { /* Exit code and data */
63 .text : { /* Real text segment */
64 _text = .; /* Text and read-only data */
67 LOCK_TEXT /* FIXME - borrowed from arm32 - check*/
74 *(.got) /* Global offset table */
76 _etext = .; /* End of text section */
80 __ex_table : { /* Exception table */
81 __start___ex_table = .;
83 __stop___ex_table = .;
97 * first, the init thread union, aligned
98 * to an 8192 byte boundary. (see arm26/kernel/init_task.c)
99 * FIXME - sould this be 32K aligned on arm26?
104 * The cacheline aligned data
107 *(.data.cacheline_aligned)
110 * and the usual data section
121 __bss_start = .; /* BSS */
126 /* Stabs debugging sections. */
127 .stab 0 : { *(.stab) }
128 .stabstr 0 : { *(.stabstr) }
129 .stab.excl 0 : { *(.stab.excl) }
130 .stab.exclstr 0 : { *(.stab.exclstr) }
131 .stab.index 0 : { *(.stab.index) }
132 .stab.indexstr 0 : { *(.stab.indexstr) }
133 .comment 0 : { *(.comment) }