]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/ixp/u-boot.lds
arm: relocate_code(): Use __image_copy_end for end of relocation
[u-boot] / arch / arm / cpu / ixp / u-boot.lds
index 7199de4af1e317fed2cf01764d57d536f6c2f562..388a67f101cf75037efe17519e2c169e883497a3 100644 (file)
@@ -46,11 +46,15 @@ SECTIONS
        . = ALIGN(4);
 
        . = .;
-       __u_boot_cmd_start = .;
-       .u_boot_cmd : { *(.u_boot_cmd) }
-       __u_boot_cmd_end = .;
 
        . = ALIGN(4);
+       .u_boot_list : {
+               KEEP(*(SORT(.u_boot_list*)));
+       }
+
+       . = ALIGN(4);
+
+       __image_copy_end = .;
 
        .rel.dyn : {
                __rel_dyn_start = .;
@@ -65,11 +69,17 @@ SECTIONS
 
        _end = .;
 
-       .bss __rel_dyn_start (OVERLAY) : {
-               __bss_start = .;
+       .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/ : { *(.dynstr*) }