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