aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/vmlinux.lds.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r--include/asm-generic/vmlinux.lds.h34
1 files changed, 12 insertions, 22 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 4d4c62d11059..9fcc8d9fbb14 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -35,6 +35,9 @@
35 VMLINUX_SYMBOL(__start_pci_fixups_enable) = .; \ 35 VMLINUX_SYMBOL(__start_pci_fixups_enable) = .; \
36 *(.pci_fixup_enable) \ 36 *(.pci_fixup_enable) \
37 VMLINUX_SYMBOL(__end_pci_fixups_enable) = .; \ 37 VMLINUX_SYMBOL(__end_pci_fixups_enable) = .; \
38 VMLINUX_SYMBOL(__start_pci_fixups_resume) = .; \
39 *(.pci_fixup_resume) \
40 VMLINUX_SYMBOL(__end_pci_fixups_resume) = .; \
38 } \ 41 } \
39 \ 42 \
40 /* RapidIO route ops */ \ 43 /* RapidIO route ops */ \
@@ -119,8 +122,6 @@
119 *(__ksymtab_strings) \ 122 *(__ksymtab_strings) \
120 } \ 123 } \
121 \ 124 \
122 EH_FRAME \
123 \
124 /* Built-in module parameters. */ \ 125 /* Built-in module parameters. */ \
125 __param : AT(ADDR(__param) - LOAD_OFFSET) { \ 126 __param : AT(ADDR(__param) - LOAD_OFFSET) { \
126 VMLINUX_SYMBOL(__start___param) = .; \ 127 VMLINUX_SYMBOL(__start___param) = .; \
@@ -160,26 +161,6 @@
160 *(.kprobes.text) \ 161 *(.kprobes.text) \
161 VMLINUX_SYMBOL(__kprobes_text_end) = .; 162 VMLINUX_SYMBOL(__kprobes_text_end) = .;
162 163
163#ifdef CONFIG_STACK_UNWIND
164#define EH_FRAME \
165 /* Unwind data binary search table */ \
166 . = ALIGN(8); \
167 .eh_frame_hdr : AT(ADDR(.eh_frame_hdr) - LOAD_OFFSET) { \
168 VMLINUX_SYMBOL(__start_unwind_hdr) = .; \
169 *(.eh_frame_hdr) \
170 VMLINUX_SYMBOL(__end_unwind_hdr) = .; \
171 } \
172 /* Unwind data */ \
173 . = ALIGN(8); \
174 .eh_frame : AT(ADDR(.eh_frame) - LOAD_OFFSET) { \
175 VMLINUX_SYMBOL(__start_unwind) = .; \
176 *(.eh_frame) \
177 VMLINUX_SYMBOL(__end_unwind) = .; \
178 }
179#else
180#define EH_FRAME
181#endif
182
183 /* DWARF debug sections. 164 /* DWARF debug sections.
184 Symbols in the DWARF debugging sections are relative to 165 Symbols in the DWARF debugging sections are relative to
185 the beginning of the section so we begin them at 0. */ 166 the beginning of the section so we begin them at 0. */
@@ -218,6 +199,14 @@
218 .stab.indexstr 0 : { *(.stab.indexstr) } \ 199 .stab.indexstr 0 : { *(.stab.indexstr) } \
219 .comment 0 : { *(.comment) } 200 .comment 0 : { *(.comment) }
220 201
202#define BUG_TABLE \
203 . = ALIGN(8); \
204 __bug_table : AT(ADDR(__bug_table) - LOAD_OFFSET) { \
205 __start___bug_table = .; \
206 *(__bug_table) \
207 __stop___bug_table = .; \
208 }
209
221#define NOTES \ 210#define NOTES \
222 .notes : { *(.note.*) } :note 211 .notes : { *(.note.*) } :note
223 212
@@ -234,6 +223,7 @@
234 *(.initcall4s.init) \ 223 *(.initcall4s.init) \
235 *(.initcall5.init) \ 224 *(.initcall5.init) \
236 *(.initcall5s.init) \ 225 *(.initcall5s.init) \
226 *(.initcallrootfs.init) \
237 *(.initcall6.init) \ 227 *(.initcall6.init) \
238 *(.initcall6s.init) \ 228 *(.initcall6s.init) \
239 *(.initcall7.init) \ 229 *(.initcall7.init) \