]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/snmc/qs850/u-boot.lds
Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections
[karo-tx-uboot.git] / board / snmc / qs850 / u-boot.lds
index 61e10849e5333e643dc5e77cb0c6cda70d347921..eb942792940a0065be9e6681cf2c7d6b2c0a7758 100644 (file)
@@ -80,6 +80,7 @@ SECTIONS
     *(.rodata)
     *(.rodata1)
     *(.rodata.str1.4)
+    *(.eh_frame)
   }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
@@ -112,11 +113,13 @@ SECTIONS
   _edata  =  .;
   PROVIDE (edata = .);
 
+  . = .;
   __u_boot_cmd_start = .;
   .u_boot_cmd : { *(.u_boot_cmd) }
   __u_boot_cmd_end = .;
 
 
+  . = .;
   __start___ex_table = .;
   __ex_table : { *(__ex_table) }
   __stop___ex_table = .;
@@ -129,7 +132,7 @@ SECTIONS
   __init_end = .;
 
   __bss_start = .;
-  .bss       :
+  .bss (NOLOAD)       :
   {
    *(.sbss) *(.scommon)
    *(.dynbss)