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;
34 /* .gnu.warning sections are handled specially by elf32.em. */
41 __syscall_stub_start = .;
43 __syscall_stub_end = .;
47 * These are needed even in a static link, even if they wind up being empty.
48 * Newer glibc needs these __rel{,a}_iplt_{start,end} symbols.
52 PROVIDE_HIDDEN(__rel_iplt_start = .);
54 PROVIDE_HIDDEN(__rel_iplt_end = .);
58 PROVIDE_HIDDEN(__rela_iplt_start = .);
60 PROVIDE_HIDDEN(__rela_iplt_end = .);
63 #include "asm/common.lds.S"
65 init.data : { INIT_DATA }
68 INIT_TASK_DATA(KERNEL_STACK_SIZE)
69 . = ALIGN(KERNEL_STACK_SIZE);
70 *(.data..init_irqstack)
75 .data1 : { *(.data1) }
85 .got : { *(.got.plt) *(.got) }
86 .dynamic : { *(.dynamic) }
87 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
88 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
89 /* We want the small data sections together, so single-instruction offsets
90 can access them all, and initialized data all before uninitialized, so
91 we can shorten the on-disk segment size. */
92 .sdata : { *(.sdata) }
97 PROVIDE(_bss_start = .);