]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mx31ads/u-boot.lds
Fix all linker script to handle all rodata sections
[u-boot] / board / freescale / mx31ads / u-boot.lds
index 1c35fa614efd63ab72fbe7a9ca76432bd0ae5ce3..079184e65003ff692569e77f55c76808af4264e4 100644 (file)
@@ -50,7 +50,7 @@ SECTIONS
        }
 
        . = ALIGN(4);
-       .rodata : { *(.rodata) }
+       .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
        . = ALIGN(4);
        .data : { *(.data) }
@@ -65,6 +65,6 @@ SECTIONS
 
        . = ALIGN(4);
        __bss_start = .;
-       .bss : { *(.bss) }
+       .bss : { *(.bss) . = ALIGN(4); }
        _end = .;
 }