1 /* SPDX-License-Identifier: GPL-2.0 */
4 #define RO_EXCEPTION_TABLE_ALIGN 16
6 #include <asm-generic/vmlinux.lds.h>
7 #include <asm/thread_info.h>
10 #include <asm/setup.h>
12 OUTPUT_FORMAT("elf64-alpha")
15 PHDRS { text PT_LOAD; note PT_NOTE; }
19 #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS
20 . = 0xfffffc0000310000;
22 . = 0xfffffc0001010000;
25 _text = .; /* Text and read-only data */
34 swapper_pg_dir = SWAPPER_PGD;
35 _etext = .; /* End of text section */
39 /* Will be freed after init */
40 __init_begin = ALIGN(PAGE_SIZE);
41 INIT_TEXT_SECTION(PAGE_SIZE)
43 PERCPU_SECTION(L1_CACHE_BYTES)
44 /* Align to THREAD_SIZE rather than PAGE_SIZE here so any padding page
45 needed for the THREAD_SIZE aligned init_task gets freed after init */
46 . = ALIGN(THREAD_SIZE);
48 /* Freed after init ends here */
50 _sdata = .; /* Start of rw data section */
52 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
60 _edata = .; /* End of data section */