1 #include <asm-generic/vmlinux.lds.h>
4 OUTPUT_FORMAT(ELF_FORMAT)
17 /* This must contain the right address - not quite the default ELF one.*/
18 PROVIDE (__executable_start = START);
19 /* Static binaries stick stuff here, like the sigreturn trampoline,
20 * invisibly to objdump. So, just make __binary_start equal to the very
21 * beginning of the executable, and if there are unmapped pages after this,
22 * they are forever unusable.
24 __binary_start = START;
26 . = START + SIZEOF_HEADERS;
39 /* .gnu.warning sections are handled specially by elf32.em. */
46 __syscall_stub_start = .;
48 __syscall_stub_end = .;
52 * These are needed even in a static link, even if they wind up being empty.
53 * Newer glibc needs these __rel{,a}_iplt_{start,end} symbols.
57 PROVIDE_HIDDEN(__rel_iplt_start = .);
59 PROVIDE_HIDDEN(__rel_iplt_end = .);
63 PROVIDE_HIDDEN(__rela_iplt_start = .);
65 PROVIDE_HIDDEN(__rela_iplt_end = .);
68 #include <asm/common.lds.S>
71 init.data : { INIT_DATA }
76 INIT_TASK_DATA(KERNEL_STACK_SIZE)
77 . = ALIGN(KERNEL_STACK_SIZE);
78 *(.data..init_irqstack)
83 .data1 : { *(.data1) }
93 .got : { *(.got.plt) *(.got) }
94 .dynamic : { *(.dynamic) }
95 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
96 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
97 /* We want the small data sections together, so single-instruction offsets
98 can access them all, and initialized data all before uninitialized, so
99 we can shorten the on-disk segment size. */
100 .sdata : { *(.sdata) }
103 . = ALIGN(PAGE_SIZE);
105 PROVIDE(_bss_start = .);