summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-07-06 01:01:20 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-07-08 00:36:28 +0200
commit43fc9d2fa5585adfadd0fdc06a20626727cf985a (patch)
treeb6aa8e66e3a33906eaae4b7c5389ad1617fb2cd7
parentARM: vmlinux.lds: rearrange .init output section (diff)
downloadlinux-43fc9d2fa5585adfadd0fdc06a20626727cf985a.tar.xz
linux-43fc9d2fa5585adfadd0fdc06a20626727cf985a.zip
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>
-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);