Skip to content

Commit 43fc9d2

Browse files
author
Russell King
committed
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>
1 parent 1604d79 commit 43fc9d2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎arch/arm/kernel/vmlinux.lds.S‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ SECTIONS
136136
*(.fixup)
137137
#endif
138138
*(.gnu.warning)
139-
*(.rodata)
140-
*(.rodata.*)
141139
*(.glue_7)
142140
*(.glue_7t)
143141
. = ALIGN(4);

0 commit comments

Comments
 (0)