diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-05-12 18:31:33 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-05-19 03:11:57 -0400 |
commit | 7664709b44a13e2e0b545e2dd8e7b8797a1748dc (patch) | |
tree | fcb8e87dd21f90a376fab8ad22a298021a2435e5 /include/asm-generic/vmlinux.lds.h | |
parent | cd5477911fc9f5cc64678e2b95cdd606c59a11b5 (diff) |
all-archs: consolidate .text section definition in asm-generic
Move definition of .text section to asm-generic.
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index f3806a74c478..a464227a66b1 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -139,6 +139,12 @@ | |||
139 | VMLINUX_SYMBOL(__security_initcall_end) = .; \ | 139 | VMLINUX_SYMBOL(__security_initcall_end) = .; \ |
140 | } | 140 | } |
141 | 141 | ||
142 | /* .text section. Map to function alignment to avoid address changes | ||
143 | * during second ld run in second ld pass when generating System.map */ | ||
144 | #define TEXT_TEXT \ | ||
145 | ALIGN_FUNCTION(); \ | ||
146 | *(.text) | ||
147 | |||
142 | /* sched.text is aling to function alignment to secure we have same | 148 | /* sched.text is aling to function alignment to secure we have same |
143 | * address even at second ld pass when generating System.map */ | 149 | * address even at second ld pass when generating System.map */ |
144 | #define SCHED_TEXT \ | 150 | #define SCHED_TEXT \ |