xref: /openbmc/linux/arch/um/include/asm/common.lds.S (revision 6dfcd296)
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
11  RODATA
12
13  .unprotected : { *(.unprotected) }
14  . = ALIGN(4096);
15  PROVIDE (_unprotected_end = .);
16
17  . = ALIGN(4096);
18  .note : { *(.note.*) }
19  EXCEPTION_TABLE(0)
20
21  BUG_TABLE
22
23  .uml.setup.init : {
24	__uml_setup_start = .;
25	*(.uml.setup.init)
26	__uml_setup_end = .;
27  }
28
29  .uml.help.init : {
30	__uml_help_start = .;
31	*(.uml.help.init)
32	__uml_help_end = .;
33  }
34
35  .uml.postsetup.init : {
36	__uml_postsetup_start = .;
37	*(.uml.postsetup.init)
38	__uml_postsetup_end = .;
39  }
40
41  .init.setup : {
42	INIT_SETUP(0)
43  }
44
45  PERCPU_SECTION(32)
46
47  .initcall.init : {
48	INIT_CALLS
49  }
50
51  .con_initcall.init : {
52	CON_INITCALL
53  }
54
55  .uml.initcall.init : {
56	__uml_initcall_start = .;
57	*(.uml.initcall.init)
58	__uml_initcall_end = .;
59  }
60
61  SECURITY_INIT
62
63  .exitcall : {
64	__exitcall_begin = .;
65	*(.exitcall.exit)
66	__exitcall_end = .;
67  }
68
69  .uml.exitcall : {
70	__uml_exitcall_begin = .;
71	*(.uml.exitcall.exit)
72	__uml_exitcall_end = .;
73  }
74
75  . = ALIGN(4);
76  .altinstructions : {
77	__alt_instructions = .;
78	*(.altinstructions)
79	__alt_instructions_end = .;
80  }
81  .altinstr_replacement : { *(.altinstr_replacement) }
82  /* .exit.text is discard at runtime, not link time, to deal with references
83     from .altinstructions and .eh_frame */
84  .exit.text : { EXIT_TEXT }
85  .exit.data : { *(.exit.data) }
86
87  .preinit_array : {
88	__preinit_array_start = .;
89	*(.preinit_array)
90	__preinit_array_end = .;
91  }
92  .init_array : {
93	__init_array_start = .;
94	*(.init_array)
95	__init_array_end = .;
96  }
97  .fini_array : {
98	__fini_array_start = .;
99	*(.fini_array)
100	__fini_array_end = .;
101  }
102
103   . = ALIGN(4096);
104  .init.ramfs : {
105	INIT_RAM_FS
106  }
107
108