Skip to content

Commit

Permalink
ARM: vmlinux.lds: remove .rodata/.rodata1 from main .text segment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed Jul 7, 2011
1 parent 1604d79 commit 43fc9d2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ SECTIONS
*(.fixup)
#endif
*(.gnu.warning)
*(.rodata)
*(.rodata.*)
*(.glue_7)
*(.glue_7t)
. = ALIGN(4);
Expand Down

0 comments on commit 43fc9d2

Please sign in to comment.