diff options
Diffstat (limited to 'arch/x86/kernel/vmlinux_32.lds.S')
-rw-r--r-- | arch/x86/kernel/vmlinux_32.lds.S | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/arch/x86/kernel/vmlinux_32.lds.S b/arch/x86/kernel/vmlinux_32.lds.S index 8ade84687b2d..d8ba5394af03 100644 --- a/arch/x86/kernel/vmlinux_32.lds.S +++ b/arch/x86/kernel/vmlinux_32.lds.S | |||
@@ -1,63 +1,3 @@ | |||
1 | /* init_task */ | ||
2 | . = ALIGN(THREAD_SIZE); | ||
3 | .data.init_task : AT(ADDR(.data.init_task) - LOAD_OFFSET) { | ||
4 | *(.data.init_task) | ||
5 | } | ||
6 | |||
7 | . = ALIGN(PAGE_SIZE); | ||
8 | .smp_locks : AT(ADDR(.smp_locks) - LOAD_OFFSET) { | ||
9 | /* might get freed after init */ | ||
10 | __smp_locks = .; | ||
11 | *(.smp_locks) | ||
12 | __smp_locks_end = .; | ||
13 | } | ||
14 | /* will be freed after init | ||
15 | * Following ALIGN() is required to make sure no other data falls on the | ||
16 | * same page where __smp_alt_end is pointing as that page might be freed | ||
17 | * after boot. Always make sure that ALIGN() directive is present after | ||
18 | * the section which contains __smp_alt_end. | ||
19 | */ | ||
20 | . = ALIGN(PAGE_SIZE); | ||
21 | |||
22 | /* Init code and data - will be freed after init */ | ||
23 | . = ALIGN(PAGE_SIZE); | ||
24 | .init.text : AT(ADDR(.init.text) - LOAD_OFFSET) { | ||
25 | __init_begin = .; | ||
26 | _sinittext = .; | ||
27 | INIT_TEXT | ||
28 | _einittext = .; | ||
29 | } | ||
30 | |||
31 | .init.data : AT(ADDR(.init.data) - LOAD_OFFSET) { | ||
32 | INIT_DATA | ||
33 | } | ||
34 | |||
35 | . = ALIGN(16); | ||
36 | .init.setup : AT(ADDR(.init.setup) - LOAD_OFFSET) { | ||
37 | __setup_start = .; | ||
38 | *(.init.setup) | ||
39 | __setup_end = .; | ||
40 | } | ||
41 | .initcall.init : AT(ADDR(.initcall.init) - LOAD_OFFSET) { | ||
42 | __initcall_start = .; | ||
43 | INITCALLS | ||
44 | __initcall_end = .; | ||
45 | } | ||
46 | |||
47 | .con_initcall.init : AT(ADDR(.con_initcall.init) - LOAD_OFFSET) { | ||
48 | __con_initcall_start = .; | ||
49 | *(.con_initcall.init) | ||
50 | __con_initcall_end = .; | ||
51 | } | ||
52 | |||
53 | .x86_cpu_dev.init : AT(ADDR(.x86_cpu_dev.init) - LOAD_OFFSET) { | ||
54 | __x86_cpu_dev_start = .; | ||
55 | *(.x86_cpu_dev.init) | ||
56 | __x86_cpu_dev_end = .; | ||
57 | } | ||
58 | |||
59 | SECURITY_INIT | ||
60 | |||
61 | . = ALIGN(4); | 1 | . = ALIGN(4); |
62 | .altinstructions : AT(ADDR(.altinstructions) - LOAD_OFFSET) { | 2 | .altinstructions : AT(ADDR(.altinstructions) - LOAD_OFFSET) { |
63 | __alt_instructions = .; | 3 | __alt_instructions = .; |