aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/vmlinux.lds.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 9f584cc5c5fb..ae0166e83490 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -183,6 +183,13 @@
183 *(.kprobes.text) \ 183 *(.kprobes.text) \
184 VMLINUX_SYMBOL(__kprobes_text_end) = .; 184 VMLINUX_SYMBOL(__kprobes_text_end) = .;
185 185
186/* init and exit section handling */
187#define INIT_TEXT *(.init.text)
188#define INIT_DATA *(.init.data)
189#define EXIT_TEXT *(.exit.text)
190#define EXIT_DATA *(.exit.data)
191
192
186 /* DWARF debug sections. 193 /* DWARF debug sections.
187 Symbols in the DWARF debugging sections are relative to 194 Symbols in the DWARF debugging sections are relative to
188 the beginning of the section so we begin them at 0. */ 195 the beginning of the section so we begin them at 0. */