]> git.sur5r.net Git - u-boot/blobdiff - board/gaisler/grsim/u-boot.lds
Fix all linker script to handle all rodata sections
[u-boot] / board / gaisler / grsim / u-boot.lds
index a9cc7ca4b096db3c250beadf2a07921317edd383..0fa6627df5a945f54dfca5da868c6e1f600bdd98 100644 (file)
@@ -76,10 +76,8 @@ SECTIONS
                *(.gnu.warning)
 /*             *(.got1)*/
                . = ALIGN(16);
-               *(.rodata)
-               *(.rodata1)
-               *(.rodata.*)
                *(.eh_frame)
+               *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
        }
        . = ALIGN(4);
        _etext = .;