]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/u-boot-spl.lds
Merge branch 'next' of git://git.denx.de/u-boot-video
[u-boot] / arch / arm / cpu / u-boot-spl.lds
index 4880d0f78acdeac78ae019979607f98225351818..068163b73a65986dbd3ac48fc325be1370c2748e 100644 (file)
@@ -18,6 +18,7 @@ SECTIONS
        .text :
        {
                __image_copy_start = .;
+               *(.vectors)
                CPUDIR/start.o (.text*)
                *(.text*)
        }
@@ -31,8 +32,11 @@ SECTIONS
        }
 
        . = ALIGN(4);
+       .u_boot_list : {
+               KEEP(*(SORT(.u_boot_list*)));
+       }
 
-       . = .;
+       . = ALIGN(4);
 
        __image_copy_end = .;
 
@@ -42,7 +46,12 @@ SECTIONS
                __rel_dyn_end = .;
        }
 
-       _end = .;
+       .end :
+       {
+               *(.__end)
+       }
+
+       _image_binary_end = .;
 
        .bss __rel_dyn_start (OVERLAY) : {
                __bss_start = .;
@@ -50,8 +59,8 @@ SECTIONS
                 . = ALIGN(4);
                __bss_end = .;
        }
-
-       .dynsym _end : { *(.dynsym) }
+       __bss_size = __bss_end - __bss_start;
+       .dynsym _image_binary_end : { *(.dynsym) }
        .dynbss : { *(.dynbss) }
        .dynstr : { *(.dynstr*) }
        .dynamic : { *(.dynamic*) }