[PATCH 5/7] ARM: vmlinux.lds: remove .rodata/.rodata1 from main .text segment
Russell King - ARM Linux
linux at arm.linux.org.uk
Wed Jul 6 06:24:30 EDT 2011
RODATA() already handles these sections, so allow it to take care
of them for us.
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
---
arch/arm/kernel/vmlinux.lds.S | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
index c8bb9b7..fa812d0 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);
--
1.7.4.4
More information about the linux-arm-kernel
mailing list