]> 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 bba91d5d2465a8a68cea365c4f106b0f1f54a843..388a67f101cf75037efe17519e2c169e883497a3 100644 (file)
@@ -49,11 +49,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*)
@@ -74,10 +76,10 @@ SECTIONS
        .bss __bss_start (OVERLAY) : {
                *(.bss*)
                 . = ALIGN(4);
-                ___bssend___ = .;
+                __bss_end = .;
        }
-       .bss_end ___bssend___ (OVERLAY) : {
-               KEEP(*(.__bss_end__));
+       .bss_end __bss_end (OVERLAY) : {
+               KEEP(*(__bss_end));
        }
 
        /DISCARD/ : { *(.dynstr*) }