diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-02-19 15:00:18 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-02-19 15:00:18 -0500 |
commit | 37c514e3dfc8f55145d9c6895e2838ac31859aa4 (patch) | |
tree | 3e626badf00d003c988c318d6de860b5444f5cf2 /include/asm-generic/vmlinux.lds.h | |
parent | b1d2675a6466090b68d4ef63f9237b4d70a18857 (diff) |
Add missing init section definitions
When adding __devinitconst etc. the __initconst variant
were missed.
Add this one and proper definitions for .head.text for use
in .S files.
The naming .head.text is preferred over .text.head as the
latter will conflict for a function named head when introducing
-ffunctions-sections.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index f784d2f34149..f054778e916c 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -238,6 +238,9 @@ | |||
238 | *(.kprobes.text) \ | 238 | *(.kprobes.text) \ |
239 | VMLINUX_SYMBOL(__kprobes_text_end) = .; | 239 | VMLINUX_SYMBOL(__kprobes_text_end) = .; |
240 | 240 | ||
241 | /* Section used for early init (in .S files) */ | ||
242 | #define HEAD_TEXT *(.head.text) | ||
243 | |||
241 | /* init and exit section handling */ | 244 | /* init and exit section handling */ |
242 | #define INIT_DATA \ | 245 | #define INIT_DATA \ |
243 | *(.init.data) \ | 246 | *(.init.data) \ |