| #include <asm-generic/vmlinux.lds.h> |
| OUTPUT_FORMAT(ELF_FORMAT) |
| /*This must contain the right address - not quite the default ELF one.*/ |
| PROVIDE (__executable_start = START); |
| . = START + SIZEOF_HEADERS; |
| /* Used in arch/um/kernel/mem.c. Any memory between START and __binary_start |
| .remap_data : { UNMAP_PATH (.data .bss) } |
| .remap : { UNMAP_PATH (.text) } |
| . = ALIGN(4096); /* Init code and data */ |
| /* .gnu.warning sections are handled specially by elf32.em. */ |
| __syscall_stub_start = .; |
| #include "asm/common.lds.S" |
| init.data : { *(init.data) } |
| . = ALIGN(KERNEL_STACK_SIZE); /* init_task */ |
| .got : { *(.got.plt) *(.got) } |
| .dynamic : { *(.dynamic) } |
| .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } |
| .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } |
| /* We want the small data sections together, so single-instruction offsets |
| can access them all, and initialized data all before uninitialized, so |
| we can shorten the on-disk segment size. */ |