]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/mx31ads/u-boot.lds
Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master'
[u-boot] / board / freescale / mx31ads / u-boot.lds
index 29ad0e6e79c94b856d669ebb3d24b44c0427ee34..264c4e80adfc16b6dc6f4a0225e705f0ff824617 100644 (file)
@@ -60,11 +60,13 @@ SECTIONS
 
        . = ALIGN(4);
        .u_boot_list : {
-       #include <u-boot.lst>
+               KEEP(*(SORT(.u_boot_list*)));
        }
 
        . = ALIGN(4);
 
+       __image_copy_end = .;
+
        .rel.dyn : {
                __rel_dyn_start = .;
                *(.rel*)
@@ -78,11 +80,17 @@ SECTIONS
 
        _end = .;
 
-       .bss __rel_dyn_start (OVERLAY) : {
-               __bss_start = .;
-               *(.bss)
+       .bss_start __rel_dyn_start (OVERLAY) : {
+               KEEP(*(.__bss_start));
+       }
+
+       .bss __bss_start (OVERLAY) : {
+               *(.bss*)
                 . = ALIGN(4);
-               __bss_end__ = .;
+                __bss_end = .;
+       }
+       .bss_end __bss_end (OVERLAY) : {
+               KEEP(*(__bss_end));
        }
 
        /DISCARD/ : { *(.bss*) }