blob: f5de80c31e88232bb5af0d64166d71f6485340dd [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);
Paolo 'Blaisorblade' Giarrussoc35e5842007-03-31 03:20:27 +020018 .note : { *(.note.*) }
Jeff Dike92eac952005-05-01 08:58:53 -070019 __start___ex_table = .;
20 __ex_table : { *(__ex_table) }
21 __stop___ex_table = .;
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 __uml_setup_start = .;
24 .uml.setup.init : { *(.uml.setup.init) }
25 __uml_setup_end = .;
26
27 __uml_help_start = .;
28 .uml.help.init : { *(.uml.help.init) }
29 __uml_help_end = .;
30
31 __uml_postsetup_start = .;
32 .uml.postsetup.init : { *(.uml.postsetup.init) }
33 __uml_postsetup_end = .;
34
35 __setup_start = .;
36 .init.setup : { *(.init.setup) }
37 __setup_end = .;
38
39 . = ALIGN(32);
40 __per_cpu_start = . ;
41 .data.percpu : { *(.data.percpu) }
42 __per_cpu_end = . ;
43
44 __initcall_start = .;
45 .initcall.init : {
Jeff Dike525fdb62006-10-30 22:07:14 -080046 INITCALLS
Linus Torvalds1da177e2005-04-16 15:20:36 -070047 }
48 __initcall_end = .;
49
50 __con_initcall_start = .;
51 .con_initcall.init : { *(.con_initcall.init) }
52 __con_initcall_end = .;
53
54 __uml_initcall_start = .;
55 .uml.initcall.init : { *(.uml.initcall.init) }
56 __uml_initcall_end = .;
57 __init_end = .;
58
59 SECURITY_INIT
60
61 __exitcall_begin = .;
62 .exitcall : { *(.exitcall.exit) }
63 __exitcall_end = .;
64
65 __uml_exitcall_begin = .;
66 .uml.exitcall : { *(.uml.exitcall.exit) }
67 __uml_exitcall_end = .;
68
69 . = ALIGN(4);
70 __alt_instructions = .;
71 .altinstructions : { *(.altinstructions) }
72 __alt_instructions_end = .;
73 .altinstr_replacement : { *(.altinstr_replacement) }
74 /* .exit.text is discard at runtime, not link time, to deal with references
75 from .altinstructions and .eh_frame */
76 .exit.text : { *(.exit.text) }
77 .exit.data : { *(.exit.data) }
78
79 __preinit_array_start = .;
80 .preinit_array : { *(.preinit_array) }
81 __preinit_array_end = .;
82 __init_array_start = .;
83 .init_array : { *(.init_array) }
84 __init_array_end = .;
85 __fini_array_start = .;
86 .fini_array : { *(.fini_array) }
87 __fini_array_end = .;
88
89 . = ALIGN(4096);
90 __initramfs_start = .;
91 .init.ramfs : { *(.init.ramfs) }
92 __initramfs_end = .;
93
94 /* Sections to be discarded */
95 /DISCARD/ : {
96 *(.exitcall.exit)
97 }
98