]> git.sur5r.net Git - u-boot/blobdiff - board/m501sk/u-boot.lds
Fix all linker script to handle all rodata sections
[u-boot] / board / m501sk / u-boot.lds
index ae6caf598d7067a37b87a95d642f3a75445749e0..2247c37658412c15696bbbbdf2b9015e27ec14b4 100644 (file)
@@ -36,7 +36,7 @@ SECTIONS
        }
 
        . = ALIGN(4);
-       .rodata : { *(.rodata) }
+       .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
        . = ALIGN(4);
        .data : { *(.data) }