| #include <asm-generic/vmlinux.lds.h> |
| #include <asm/thread_info.h> |
| OUTPUT_FORMAT("elf64-alpha") |
| PHDRS { kernel PT_LOAD; note PT_NOTE; } |
| #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS |
| _text = .; /* Text and read-only data */ |
| _etext = .; /* End of text section */ |
| /* Will be freed after init */ |
| __init_begin = ALIGN(PAGE_SIZE); |
| INIT_TEXT_SECTION(PAGE_SIZE) |
| /* Align to THREAD_SIZE rather than PAGE_SIZE here so any padding page |
| needed for the THREAD_SIZE aligned init_task gets freed after init */ |
| /* Freed after init ends here */ |
| RW_DATA_SECTION(64, PAGE_SIZE, THREAD_SIZE) |
| _edata = .; /* End of data section */ |