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 */
44 /* .gnu.warning sections are handled specially by elf32.em. */
49 __syscall_stub_start = .;
51 __syscall_stub_end = .;
55 #include "asm/common.lds.S"
57 init.data : { *(init.data) }
60 . = ALIGN(KERNEL_STACK_SIZE); /* init_task */
66 .data1 : { *(.data1) }
76 .got : { *(.got.plt) *(.got) }
77 .dynamic : { *(.dynamic) }
78 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
79 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
80 /* We want the small data sections together, so single-instruction offsets
81 can access them all, and initialized data all before uninitialized, so
82 we can shorten the on-disk segment size. */
83 .sdata : { *(.sdata) }
90 PROVIDE(_bss_start = .);