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 and subsequently modified.
7 #include <asm-generic/vmlinux.lds.h>
15 .init : { /* Init code and data */
21 __proc_info_begin = .;
24 __arch_info_begin = .;
47 __con_initcall_start = .;
49 __con_initcall_end = .;
50 #ifdef CONFIG_BLK_DEV_INITRD
52 __initramfs_start = .;
53 usr/built-in.o(.init.ramfs)
60 /DISCARD/ : { /* Exit code and data */
66 .text : { /* Real text segment */
67 _text = .; /* Text and read-only data */
77 *(.got) /* Global offset table */
79 _etext = .; /* End of text section */
83 __ex_table : { /* Exception table */
84 __start___ex_table = .;
86 __stop___ex_table = .;
95 * first, the init task union, aligned
96 * to an 8192 byte boundary. (see arm26/kernel/init_task.c)
101 * The cacheline aligned data
104 *(.data.cacheline_aligned)
107 * and the usual data section
116 __bss_start = .; /* BSS */
121 /* Stabs debugging sections. */
122 .stab 0 : { *(.stab) }
123 .stabstr 0 : { *(.stabstr) }
124 .stab.excl 0 : { *(.stab.excl) }
125 .stab.exclstr 0 : { *(.stab.exclstr) }
126 .stab.index 0 : { *(.stab.index) }
127 .stab.indexstr 0 : { *(.stab.indexstr) }
128 .comment 0 : { *(.comment) }