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>
66 init.data : { INIT_DATA }
71 INIT_TASK_DATA(KERNEL_STACK_SIZE)
72 . = ALIGN(KERNEL_STACK_SIZE);
73 *(.data..init_irqstack)
78 .data1 : { *(.data1) }
88 .got : { *(.got.plt) *(.got) }
89 .dynamic : { *(.dynamic) }
90 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
91 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
92 /* We want the small data sections together, so single-instruction offsets
93 can access them all, and initialized data all before uninitialized, so
94 we can shorten the on-disk segment size. */
95 .sdata : { *(.sdata) }
100 PROVIDE(_bss_start = .);