1 #include <asm-generic/vmlinux.lds.h>
3 OUTPUT_FORMAT(ELF_FORMAT)
10 /* This must contain the right address - not quite the default ELF one.*/
11 PROVIDE (__executable_start = START);
12 /* Static binaries stick stuff here, like the sigreturn trampoline,
13 * invisibly to objdump. So, just make __binary_start equal to the very
14 * beginning of the executable, and if there are unmapped pages after this,
15 * they are forever unusable.
17 __binary_start = START;
19 . = START + SIZEOF_HEADERS;
22 .remap_data : { UNMAP_PATH (.data .bss) }
23 .remap : { UNMAP_PATH (.text) }
25 . = ALIGN(4096); /* Init code and data */
43 /* .gnu.warning sections are handled specially by elf32.em. */
48 __syscall_stub_start = .;
50 __syscall_stub_end = .;
54 #include "asm/common.lds.S"
56 init.data : { *(init.data) }
59 . = ALIGN(KERNEL_STACK_SIZE); /* init_task */
65 .data1 : { *(.data1) }
75 .got : { *(.got.plt) *(.got) }
76 .dynamic : { *(.dynamic) }
77 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
78 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
79 /* We want the small data sections together, so single-instruction offsets
80 can access them all, and initialized data all before uninitialized, so
81 we can shorten the on-disk segment size. */
82 .sdata : { *(.sdata) }
89 PROVIDE(_bss_start = .);