blob: 1010153faaf93731054d8789c6105ea9057ae70a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#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 Torvalds1da177e2005-04-16 15:20:36 -070011 RODATA
12
13 .unprotected : { *(.unprotected) }
14 . = ALIGN(4096);
15 PROVIDE (_unprotected_end = .);
16
17 . = ALIGN(4096);
Jeff Dike92eac952005-05-01 08:58:53 -070018 __start___ex_table = .;
19 __ex_table : { *(__ex_table) }
20 __stop___ex_table = .;
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022 __uml_setup_start = .;
23 .uml.setup.init : { *(.uml.setup.init) }
24 __uml_setup_end = .;
25
26 __uml_help_start = .;
27 .uml.help.init : { *(.uml.help.init) }
28 __uml_help_end = .;
29
30 __uml_postsetup_start = .;
31 .uml.postsetup.init : { *(.uml.postsetup.init) }
32 __uml_postsetup_end = .;
33
34 __setup_start = .;
35 .init.setup : { *(.init.setup) }
36 __setup_end = .;
37
38 . = ALIGN(32);
39 __per_cpu_start = . ;
40 .data.percpu : { *(.data.percpu) }
41 __per_cpu_end = . ;
42
43 __initcall_start = .;
44 .initcall.init : {
45 *(.initcall1.init)
46 *(.initcall2.init)
47 *(.initcall3.init)
48 *(.initcall4.init)
49 *(.initcall5.init)
50 *(.initcall6.init)
51 *(.initcall7.init)
52 }
53 __initcall_end = .;
54
55 __con_initcall_start = .;
56 .con_initcall.init : { *(.con_initcall.init) }
57 __con_initcall_end = .;
58
59 __uml_initcall_start = .;
60 .uml.initcall.init : { *(.uml.initcall.init) }
61 __uml_initcall_end = .;
62 __init_end = .;
63
64 SECURITY_INIT
65
66 __exitcall_begin = .;
67 .exitcall : { *(.exitcall.exit) }
68 __exitcall_end = .;
69
70 __uml_exitcall_begin = .;
71 .uml.exitcall : { *(.uml.exitcall.exit) }
72 __uml_exitcall_end = .;
73
74 . = ALIGN(4);
75 __alt_instructions = .;
76 .altinstructions : { *(.altinstructions) }
77 __alt_instructions_end = .;
78 .altinstr_replacement : { *(.altinstr_replacement) }
79 /* .exit.text is discard at runtime, not link time, to deal with references
80 from .altinstructions and .eh_frame */
81 .exit.text : { *(.exit.text) }
82 .exit.data : { *(.exit.data) }
83
84 __preinit_array_start = .;
85 .preinit_array : { *(.preinit_array) }
86 __preinit_array_end = .;
87 __init_array_start = .;
88 .init_array : { *(.init_array) }
89 __init_array_end = .;
90 __fini_array_start = .;
91 .fini_array : { *(.fini_array) }
92 __fini_array_end = .;
93
94 . = ALIGN(4096);
95 __initramfs_start = .;
96 .init.ramfs : { *(.init.ramfs) }
97 __initramfs_end = .;
98
99 /* Sections to be discarded */
100 /DISCARD/ : {
101 *(.exitcall.exit)
102 }
103