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 */
62 . = ALIGN(KERNEL_STACK_SIZE);
63 *(.data.init_irqstack)
68 .data1 : { *(.data1) }
78 .got : { *(.got.plt) *(.got) }
79 .dynamic : { *(.dynamic) }
80 .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
81 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
82 /* We want the small data sections together, so single-instruction offsets
83 can access them all, and initialized data all before uninitialized, so
84 we can shorten the on-disk segment size. */
85 .sdata : { *(.sdata) }
92 PROVIDE(_bss_start = .);