]> git.sur5r.net Git - u-boot/blobdiff - board/gaisler/grsim_leon2/u-boot.lds
Fix all linker script to handle all rodata sections
[u-boot] / board / gaisler / grsim_leon2 / u-boot.lds
index b3462d463e55a1077340ca4001254cc6c410c0bb..c5311a6c1f578091bcddebec782c00270516971a 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 = .;