1 #include <asm-generic/vmlinux.lds.h>
2 #include <asm/thread_info.h>
7 OUTPUT_FORMAT("elf64-alpha")
10 PHDRS { kernel PT_LOAD; note PT_NOTE; }
14 #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS
15 . = 0xfffffc0000310000;
17 . = 0xfffffc0001010000;
20 _text = .; /* Text and read-only data */
30 swapper_pg_dir = SWAPPER_PGD;
31 _etext = .; /* End of text section */
41 /* Will be freed after init */
42 __init_begin = ALIGN(PAGE_SIZE);
43 INIT_TEXT_SECTION(PAGE_SIZE)
45 PERCPU_SECTION(L1_CACHE_BYTES)
46 /* Align to THREAD_SIZE rather than PAGE_SIZE here so any padding page
47 needed for the THREAD_SIZE aligned init_task gets freed after init */
48 . = ALIGN(THREAD_SIZE);
50 /* Freed after init ends here */
52 _sdata = .; /* Start of rw data section */
54 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
62 _edata = .; /* End of data section */