ARM: vmlinux.lds: remove .rodata/.rodata1 from main .text segment
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 5 Jul 2011 23:01:20 +0000 (00:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Jul 2011 22:36:28 +0000 (23:36 +0100)
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>
arch/arm/kernel/vmlinux.lds.S

index c8bb9b7..fa812d0 100644 (file)
@@ -136,8 +136,6 @@ SECTIONS
                        *(.fixup)
 #endif
                        *(.gnu.warning)
-                       *(.rodata)
-                       *(.rodata.*)
                        *(.glue_7)
                        *(.glue_7t)
                . = ALIGN(4);