]> git.sur5r.net Git - u-boot/blobdiff - board/sx1/u-boot.lds
cmc_pu2: fix misc_init_r prototype
[u-boot] / board / sx1 / u-boot.lds
index 670f4db7bc394198235f696d4565863a3d716f5f..af0b4d0015676767e67dda48fe40c43178cbffc3 100644 (file)
@@ -37,7 +37,7 @@ SECTIONS
        }
 
        . = ALIGN(4);
-       .rodata : { *(.rodata) }
+       .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
        . = ALIGN(4);
        .data : { *(.data) }
@@ -45,12 +45,13 @@ SECTIONS
        . = ALIGN(4);
        .got : { *(.got) }
 
+       . = .;
        __u_boot_cmd_start = .;
        .u_boot_cmd : { *(.u_boot_cmd) }
        __u_boot_cmd_end = .;
 
        . = ALIGN(4);
        __bss_start = .;
-       .bss : { *(.bss) }
+       .bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
        _end = .;
 }