summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-07-06 03:01:20 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-07-08 02:36:28 +0400
commit43fc9d2fa5585adfadd0fdc06a20626727cf985a (patch)
treeb6aa8e66e3a33906eaae4b7c5389ad1617fb2cd7 /arch/arm/kernel/vmlinux.lds.S
parent1604d79d372bcf0cf1aebcbdee251bd0f3d56665 (diff)
downloadlinux-43fc9d2fa5585adfadd0fdc06a20626727cf985a.tar.xz
ARM: vmlinux.lds: remove .rodata/.rodata1 from main .text segment
RODATA() already handles these sections, so allow it to take care of them for us. 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.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
index c8bb9b77c2ea..fa812d03ff47 100644
--- a/arch/arm/kernel/vmlinux.lds.S
+++ b/arch/arm/kernel/vmlinux.lds.S
@@ -136,8 +136,6 @@ SECTIONS
*(.fixup)
#endif
*(.gnu.warning)
- *(.rodata)
- *(.rodata.*)
*(.glue_7)
*(.glue_7t)
. = ALIGN(4);