]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - examples/nios.lds
Fix all linker script to handle all rodata sections
[karo-tx-uboot.git] / examples / nios.lds
index 18072f71b1e48d70f5d26b39700e02e3bfcf91fc..4c1080b868cb0460086cd225c674ea3f3a308149 100644 (file)
@@ -37,7 +37,7 @@ SECTIONS
        . = ALIGN(4);
        .rodata :
        {
-               *(.rodata)
+               *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
        }
        __rodata_end = .;