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