summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/barebox.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lib/barebox.lds.S')
-rw-r--r--arch/mips/lib/barebox.lds.S16
1 files changed, 4 insertions, 12 deletions
diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S
index f9a0b44937..e96c3bf6e2 100644
--- a/arch/mips/lib/barebox.lds.S
+++ b/arch/mips/lib/barebox.lds.S
@@ -30,7 +30,10 @@ SECTIONS
PRE_IMAGE
. = ALIGN(4);
- .rodata : { *(.rodata*) }
+ .rodata : {
+ *(.rodata*)
+ RO_DATA_SECTION
+ }
_etext = .; /* End of text and rodata section */
_sdata = .;
@@ -40,17 +43,6 @@ SECTIONS
.barebox_imd : { BAREBOX_IMD }
- . = .;
- .barebox_cmd : { BAREBOX_CMDS }
- .barebox_ratp_cmd : { BAREBOX_RATP_CMDS }
- .barebox_magicvar : { BAREBOX_MAGICVARS }
- .barebox_initcalls : { BAREBOX_INITCALLS }
- .barebox_exitcalls : { BAREBOX_EXITCALLS }
- __usymtab : { BAREBOX_SYMS }
- .pci_fixup : { BAREBOX_PCI_FIXUP }
- .oftables : { BAREBOX_CLK_TABLE }
- .dtb : { BAREBOX_DTB }
-
_edata = .;
.image_end : { *(.__image_end) }