]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - nand_spl/board/freescale/mx31pdk/u-boot.lds
imx: Fix automatic make targets for imx images
[karo-tx-uboot.git] / nand_spl / board / freescale / mx31pdk / u-boot.lds
index 324a932fb22300a61d9e429a1b4542b396b178be..5f2b5e20228950c38e77f70d9bec859bb6c50799 100644 (file)
@@ -46,12 +46,16 @@ SECTIONS
        }
 
        . = ALIGN(4);
-       __u_boot_cmd_start = .;
-       .u_boot_cmd : { *(.u_boot_cmd) }
-       __u_boot_cmd_end = .;
+
+       . = ALIGN(4);
+       .u_boot_list : {
+               *(SORT(.u_boot_list*));
+       }
 
        . = ALIGN(4);
 
+       __image_copy_end = .;
+
        .rel.dyn : {
                __rel_dyn_start = .;
                *(.rel*)
@@ -63,11 +67,13 @@ SECTIONS
                *(.dynsym)
        }
 
+       _end = .;
+
        .bss __rel_dyn_start (OVERLAY) : {
                __bss_start = .;
                *(.bss)
                 . = ALIGN(4);
-               __bss_end__ = .;
+               __bss_end = .;
        }
 
        /DISCARD/ : { *(.bss*) }