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 = .;
49 #ifdef CONFIG_BLK_DEV_INITRD
51 __initramfs_start = .;
52 usr/built-in.o(.init.ramfs)
59 /DISCARD/ : { /* Exit code and data */
65 .text : { /* Real text segment */
66 _text = .; /* Text and read-only data */
69 LOCK_TEXT /* FIXME - borrowed from arm32 - check*/
76 *(.got) /* Global offset table */
78 _etext = .; /* End of text section */
82 __ex_table : { /* Exception table */
83 __start___ex_table = .;
85 __stop___ex_table = .;
99 * first, the init thread union, aligned
100 * to an 8192 byte boundary. (see arm26/kernel/init_task.c)
101 * FIXME - sould this be 32K aligned on arm26?
106 * The cacheline aligned data
109 *(.data.cacheline_aligned)
112 * and the usual data section
123 __bss_start = .; /* BSS */
128 /* Stabs debugging sections. */
129 .stab 0 : { *(.stab) }
130 .stabstr 0 : { *(.stabstr) }
131 .stab.excl 0 : { *(.stab.excl) }
132 .stab.exclstr 0 : { *(.stab.exclstr) }
133 .stab.index 0 : { *(.stab.index) }
134 .stab.indexstr 0 : { *(.stab.indexstr) }
135 .comment 0 : { *(.comment) }