Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #include <asm-generic/vmlinux.lds.h> |
2 | |||||
3 | .fini : { *(.fini) } =0x9090 | ||||
4 | _etext = .; | ||||
5 | PROVIDE (etext = .); | ||||
6 | |||||
7 | . = ALIGN(4096); | ||||
8 | _sdata = .; | ||||
9 | PROVIDE (sdata = .); | ||||
10 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | RODATA |
12 | |||||
13 | .unprotected : { *(.unprotected) } | ||||
14 | . = ALIGN(4096); | ||||
15 | PROVIDE (_unprotected_end = .); | ||||
16 | |||||
17 | . = ALIGN(4096); | ||||
Paolo 'Blaisorblade' Giarrusso | c35e584 | 2007-03-31 03:20:27 +0200 | [diff] [blame] | 18 | .note : { *(.note.*) } |
Tim Abbott | 5d150a9 | 2009-09-24 10:36:20 -0400 | [diff] [blame] | 19 | EXCEPTION_TABLE(0) |
Jeff Dike | 92eac95 | 2005-05-01 08:58:53 -0700 | [diff] [blame] | 20 | |
Nick Piggin | 08932a1 | 2007-06-23 17:16:37 -0700 | [diff] [blame] | 21 | BUG_TABLE |
22 | |||||
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 23 | .uml.setup.init : { |
24 | __uml_setup_start = .; | ||||
25 | *(.uml.setup.init) | ||||
26 | __uml_setup_end = .; | ||||
27 | } | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 29 | .uml.help.init : { |
30 | __uml_help_start = .; | ||||
31 | *(.uml.help.init) | ||||
32 | __uml_help_end = .; | ||||
33 | } | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 35 | .uml.postsetup.init : { |
36 | __uml_postsetup_start = .; | ||||
37 | *(.uml.postsetup.init) | ||||
38 | __uml_postsetup_end = .; | ||||
39 | } | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 41 | .init.setup : { |
Tim Abbott | 5d150a9 | 2009-09-24 10:36:20 -0400 | [diff] [blame] | 42 | INIT_SETUP(0) |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 43 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | |
Tim Abbott | 5d150a9 | 2009-09-24 10:36:20 -0400 | [diff] [blame] | 45 | PERCPU(32) |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 46 | |
47 | .initcall.init : { | ||||
Tim Abbott | 5d150a9 | 2009-09-24 10:36:20 -0400 | [diff] [blame] | 48 | INIT_CALLS |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 49 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 51 | .con_initcall.init : { |
Tim Abbott | 5d150a9 | 2009-09-24 10:36:20 -0400 | [diff] [blame] | 52 | CON_INITCALL |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 53 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 55 | .uml.initcall.init : { |
56 | __uml_initcall_start = .; | ||||
57 | *(.uml.initcall.init) | ||||
58 | __uml_initcall_end = .; | ||||
59 | } | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | __init_end = .; |
61 | |||||
62 | SECURITY_INIT | ||||
63 | |||||
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 64 | .exitcall : { |
65 | __exitcall_begin = .; | ||||
66 | *(.exitcall.exit) | ||||
67 | __exitcall_end = .; | ||||
68 | } | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 69 | |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 70 | .uml.exitcall : { |
71 | __uml_exitcall_begin = .; | ||||
72 | *(.uml.exitcall.exit) | ||||
73 | __uml_exitcall_end = .; | ||||
74 | } | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 75 | |
76 | . = ALIGN(4); | ||||
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 77 | .altinstructions : { |
78 | __alt_instructions = .; | ||||
79 | *(.altinstructions) | ||||
80 | __alt_instructions_end = .; | ||||
81 | } | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 82 | .altinstr_replacement : { *(.altinstr_replacement) } |
83 | /* .exit.text is discard at runtime, not link time, to deal with references | ||||
84 | from .altinstructions and .eh_frame */ | ||||
85 | .exit.text : { *(.exit.text) } | ||||
86 | .exit.data : { *(.exit.data) } | ||||
87 | |||||
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 88 | .preinit_array : { |
89 | __preinit_array_start = .; | ||||
90 | *(.preinit_array) | ||||
91 | __preinit_array_end = .; | ||||
92 | } | ||||
93 | .init_array : { | ||||
94 | __init_array_start = .; | ||||
95 | *(.init_array) | ||||
96 | __init_array_end = .; | ||||
97 | } | ||||
98 | .fini_array : { | ||||
99 | __fini_array_start = .; | ||||
100 | *(.fini_array) | ||||
101 | __fini_array_end = .; | ||||
102 | } | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 103 | |
104 | . = ALIGN(4096); | ||||
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 105 | .init.ramfs : { |
Tim Abbott | 5d150a9 | 2009-09-24 10:36:20 -0400 | [diff] [blame] | 106 | INIT_RAM_FS |
Jeff Dike | c7ec16d | 2007-08-30 23:56:17 -0700 | [diff] [blame] | 107 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 108 |