]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/dvlhost/u-boot.lds
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / board / dvlhost / u-boot.lds
index 1bd1700aa202272fb39ed9bf0cfcd2a4b3383623..eb83b6f2ce3a90a281126f9644bf3693d451789d 100644 (file)
@@ -57,7 +57,7 @@ SECTIONS
 
        . = ALIGN(4);
        .u_boot_list : {
-       #include <u-boot.lst>
+               KEEP(*(SORT(.u_boot_list*)));
        }
 
        . = ALIGN (4);
@@ -72,13 +72,21 @@ SECTIONS
                *(.dynsym)
        }
 
-       .bss __rel_dyn_start (OVERLAY) : {
-               __bss_start = .;
+       _end = .;
+
+       .bss_start __rel_dyn_start (OVERLAY) : {
+               KEEP(*(.__bss_start));
+       }
+
+       .bss __bss_start (OVERLAY) : {
                *(.bss*)
                 . = ALIGN(4);
-               _end = .;
+                ___bssend___ = .;
        }
-       __bss_end__ =.;
+       .bss_end ___bssend___ (OVERLAY) : {
+               KEEP(*(.__bss_end__));
+       }
+
        /DISCARD/ : { *(.dynstr*) }
        /DISCARD/ : { *(.dynamic*) }
        /DISCARD/ : { *(.plt*) }