aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-07-06 05:53:22 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-07-07 18:36:34 -0400
commite2f81844efa2d44d326bef48e1c9e48926162bc6 (patch)
tree29da1c66ea891a54fb5c42aaa9965bb2c38b89fe /arch/arm/kernel/vmlinux.lds.S
parent3835d69a6c7048a28d0aea3cb8403d5e83a0f867 (diff)
ARM: vmlinux.lds: use _text and _stext the same way as x86
x86 uses _text to mark the start of the kernel image including the head text, and _stext to mark the start of the .text section. Change our vmlinux.lds to conform. An audit of the places which use _stext and _text in arch/arm indicates no users of either symbol are impacted by this change. It does mean a slight change to /proc/iomem output. Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Tested-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/vmlinux.lds.S')
-rw-r--r--arch/arm/kernel/vmlinux.lds.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
index 18574b7dbc14..bf977f8514f6 100644
--- a/arch/arm/kernel/vmlinux.lds.S
+++ b/arch/arm/kernel/vmlinux.lds.S
@@ -66,11 +66,11 @@ SECTIONS
66 . = PAGE_OFFSET + TEXT_OFFSET; 66 . = PAGE_OFFSET + TEXT_OFFSET;
67#endif 67#endif
68 .head.text : { 68 .head.text : {
69 _stext = .; 69 _text = .;
70 HEAD_TEXT 70 HEAD_TEXT
71 } 71 }
72 .text : { /* Real text segment */ 72 .text : { /* Real text segment */
73 _text = .; /* Text and read-only data */ 73 _stext = .; /* Text and read-only data */
74 __exception_text_start = .; 74 __exception_text_start = .;
75 *(.exception.text) 75 *(.exception.text)
76 __exception_text_end = .; 76 __exception_text_end = .;