]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/sbc2410x/u-boot.lds
Fix all linker script to handle all rodata sections
[karo-tx-uboot.git] / board / sbc2410x / u-boot.lds
index 76df6b2af1d39ec458525b35ebc7e8d83ef3ebf8..3eae0e253c9c9a14cd2a5e8fbdf1f50e1eeca46e 100644 (file)
@@ -37,7 +37,7 @@ SECTIONS
        }
 
        . = ALIGN(4);
-       .rodata : { *(.rodata) }
+       .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
        . = ALIGN(4);
        .data : { *(.data) }
@@ -51,6 +51,6 @@ SECTIONS
 
        . = ALIGN(4);
        __bss_start = .;
-       .bss : { *(.bss) }
+       .bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
        _end = .;
 }