1 #include <asm-generic/vmlinux.lds.h>
4 OUTPUT_FORMAT(ELF_FORMAT)
11 /* This must contain the right address - not quite the default ELF one.*/
12 PROVIDE (__executable_start = START);
13 /* Static binaries stick stuff here, like the sigreturn trampoline,
14 * invisibly to objdump. So, just make __binary_start equal to the very
15 * beginning of the executable, and if there are unmapped pages after this,
16 * they are forever unusable.
18 __binary_start = START;
20 . = START + SIZEOF_HEADERS;
33 /* .gnu.warning sections are handled specially by elf32.em. */
40 __syscall_stub_start = .;
42 __syscall_stub_end = .;
46 * These are needed even in a static link, even if they wind up being empty.
47 * Newer glibc needs these __rel{,a}_iplt_{start,end} symbols.
51 PROVIDE_HIDDEN(__rel_iplt_start = .);
53 PROVIDE_HIDDEN(__rel_iplt_end = .);
57 PROVIDE_HIDDEN(__rela_iplt_start = .);
59 PROVIDE_HIDDEN(__rela_iplt_end = .);
62 #include <asm/common.lds.S>
65 init.data : { INIT_DATA }
70 INIT_TASK_DATA(KERNEL_STACK_SIZE)
71 . = ALIGN(KERNEL_STACK_SIZE);
72 *(.data..init_irqstack)
77 .data1 : { *(.data1) }
87 .got : { *(.got.plt) *(.got) }
88 .dynamic : { *(.dynamic) }
89 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
90 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
91 /* We want the small data sections together, so single-instruction offsets
92 can access them all, and initialized data all before uninitialized, so
93 we can shorten the on-disk segment size. */
94 .sdata : { *(.sdata) }
99 PROVIDE(_bss_start = .);