]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/zylonite/u-boot.lds
Fix all linker script to handle all rodata sections
[karo-tx-uboot.git] / board / zylonite / u-boot.lds
index f0102391b342fedb1fa7970324776aa828629a11..a077bc5d062061e1a28bd1bc0c5f0afc52b99912 100644 (file)
@@ -36,7 +36,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 = .;
 }