summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorRussell King2010-10-01 15:26:56 +0200
committerRussell King2010-10-08 11:02:25 +0200
commit74b0ec0708e7c8c530079b737f32c55597d062cc (patch)
tree1f293923169632536e44801299c575fb04d331d1 /arch/arm/kernel/vmlinux.lds.S
parentARM: vmlinux.lds: Refer to start of .data using _sdata rather than _data (diff)
downloadkernel-qcow2-linux-74b0ec0708e7c8c530079b737f32c55597d062cc.tar.gz
kernel-qcow2-linux-74b0ec0708e7c8c530079b737f32c55597d062cc.tar.xz
kernel-qcow2-linux-74b0ec0708e7c8c530079b737f32c55597d062cc.zip
ARM: vmlinux.lds: Move unwind tables into _stext.._etext
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 fd5750b8ac84..065d35de0e01 100644
--- a/arch/arm/kernel/vmlinux.lds.S
+++ b/arch/arm/kernel/vmlinux.lds.S
@@ -109,8 +109,6 @@ SECTIONS
RO_DATA(PAGE_SIZE)
- _etext = .; /* End of text and rodata section */
-
#ifdef CONFIG_ARM_UNWIND
/*
* Stack unwinding tables
@@ -128,6 +126,8 @@ SECTIONS
}
#endif
+ _etext = .; /* End of text and rodata section */
+
#ifdef CONFIG_XIP_KERNEL
__data_loc = ALIGN(4); /* location in binary */
. = PAGE_OFFSET + TEXT_OFFSET;