]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - arch/alpha/kernel/vmlinux.lds.S
Merge tag 'm68k-for-v4.10-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-zesty-kernel.git] / arch / alpha / kernel / vmlinux.lds.S
CommitLineData
1da177e4 1#include <asm-generic/vmlinux.lds.h>
de078ef5 2#include <asm/thread_info.h>
0f06c063 3#include <asm/cache.h>
b2b5d37d 4#include <asm/page.h>
ec221208 5#include <asm/setup.h>
1da177e4
LT
6
7OUTPUT_FORMAT("elf64-alpha")
8OUTPUT_ARCH(alpha)
9ENTRY(__start)
caf45dd9 10PHDRS { kernel PT_LOAD; note PT_NOTE; }
1da177e4
LT
11jiffies = jiffies_64;
12SECTIONS
13{
14#ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS
b2b5d37d 15 . = 0xfffffc0000310000;
1da177e4 16#else
b2b5d37d 17 . = 0xfffffc0001010000;
1da177e4
LT
18#endif
19
b2b5d37d
SR
20 _text = .; /* Text and read-only data */
21 .text : {
92ca5234 22 HEAD_TEXT
b2b5d37d
SR
23 TEXT_TEXT
24 SCHED_TEXT
6727ad9e 25 CPUIDLE_TEXT
b2b5d37d
SR
26 LOCK_TEXT
27 *(.fixup)
28 *(.gnu.warning)
29 } :kernel
ec221208 30 swapper_pg_dir = SWAPPER_PGD;
b2b5d37d
SR
31 _etext = .; /* End of text section */
32
51597acf
BB
33 NOTES :kernel :note
34 .dummy : {
35 *(.dummy)
36 } :kernel
37
38 RODATA
9d93f005 39 EXCEPTION_TABLE(16)
b2b5d37d 40
b2b5d37d 41 /* Will be freed after init */
9d93f005
GT
42 __init_begin = ALIGN(PAGE_SIZE);
43 INIT_TEXT_SECTION(PAGE_SIZE)
44 INIT_DATA_SECTION(16)
0415b00d 45 PERCPU_SECTION(L1_CACHE_BYTES)
9d93f005
GT
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);
b2b5d37d
SR
49 __init_end = .;
50 /* Freed after init ends here */
51
a2d063ac 52 _sdata = .; /* Start of rw data section */
b2b5d37d 53 _data = .;
0f06c063 54 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
b2b5d37d
SR
55
56 .got : {
57 *(.got)
58 }
59 .sdata : {
60 *(.sdata)
61 }
62 _edata = .; /* End of data section */
63
9d93f005 64 BSS_SECTION(0, 0, 0)
b2b5d37d
SR
65 _end = .;
66
b2b5d37d
SR
67 .mdebug 0 : {
68 *(.mdebug)
69 }
70 .note 0 : {
71 *(.note)
72 }
73
74 STABS_DEBUG
75 DWARF_DEBUG
023bf6f1
TH
76
77 DISCARDS
1da177e4 78}