1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <asm-generic/vmlinux.lds.h>
3 #include <asm/thread_info.h>
8 OUTPUT_FORMAT("elf64-alpha")
11 PHDRS { kernel PT_LOAD; note PT_NOTE; }
15 #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS
16 . = 0xfffffc0000310000;
18 . = 0xfffffc0001010000;
21 _text = .; /* Text and read-only data */
31 swapper_pg_dir = SWAPPER_PGD;
32 _etext = .; /* End of text section */
42 /* Will be freed after init */
43 __init_begin = ALIGN(PAGE_SIZE);
44 INIT_TEXT_SECTION(PAGE_SIZE)
46 PERCPU_SECTION(L1_CACHE_BYTES)
47 /* Align to THREAD_SIZE rather than PAGE_SIZE here so any padding page
48 needed for the THREAD_SIZE aligned init_task gets freed after init */
49 . = ALIGN(THREAD_SIZE);
51 /* Freed after init ends here */
53 _sdata = .; /* Start of rw data section */
55 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
63 _edata = .; /* End of data section */