From 756bc99c3971af835c3874ce511d125491a866d6 Mon Sep 17 00:00:00 2001 From: James Benton Date: Sat, 26 Dec 2015 18:22:37 -0800 Subject: [PATCH] Fix .rodata.rplNames being included in .rodata section. --- rules/rpl.ld | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rules/rpl.ld b/rules/rpl.ld index 5d205ae9..687ec9d2 100644 --- a/rules/rpl.ld +++ b/rules/rpl.ld @@ -35,13 +35,6 @@ SECTIONS { *(.rplTramp.text) *(SORT(.rplTramp.text.*)) } - - /* Standard data sections */ - . = ORIGIN(data); - - .rodata . : { *(.rodata .rodata.*) } - .data . : { *(.data) } - .bss . : { *(.bss) } /* System stuff is for our elf2rpl converter to go through */ . = ORIGIN(system); @@ -63,4 +56,11 @@ SECTIONS { * uint32_t trampAddress */ .data.rplFuncStubs . : { KEEP (*(.data.rplFuncStubs)) } + + /* Standard data sections */ + . = ORIGIN(data); + + .rodata . : { *(.rodata .rodata.*) } + .data . : { *(.data) } + .bss . : { *(.bss) } }