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 = .;
51 __initramfs_start = .;
52 usr/built-in.o(.init.ramfs)
58 /DISCARD/ : { /* Exit code and data */
64 .text : { /* Real text segment */
65 _text = .; /* Text and read-only data */
75 *(.got) /* Global offset table */
77 _etext = .; /* End of text section */
81 __ex_table : { /* Exception table */
82 __start___ex_table = .;
84 __stop___ex_table = .;
93 * first, the init task union, aligned
94 * to an 8192 byte boundary. (see arm26/kernel/init_task.c)
99 * The cacheline aligned data
102 *(.data.cacheline_aligned)
105 * and the usual data section
114 __bss_start = .; /* BSS */
119 /* Stabs debugging sections. */
120 .stab 0 : { *(.stab) }
121 .stabstr 0 : { *(.stabstr) }
122 .stab.excl 0 : { *(.stab.excl) }
123 .stab.exclstr 0 : { *(.stab.exclstr) }
124 .stab.index 0 : { *(.stab.index) }
125 .stab.indexstr 0 : { *(.stab.indexstr) }
126 .comment 0 : { *(.comment) }