]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/xaeniax/u-boot.lds
Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections
[karo-tx-uboot.git] / board / xaeniax / u-boot.lds
index 58c371df06b4942082297f0312084dbf09bc670c..14d264a6861cdd98abb7d9f2cdc06730b86f0ae3 100644 (file)
@@ -44,12 +44,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) }
        _end = .;
 }