]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
arm: Make all linker scripts compatible with per-symbol sections
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap-common / u-boot-spl.lds
index 8867e0604db9127a82b266f5999d3cc047dd4df6..bd218c07da5a214c3f3337b7420d19b9075519d6 100644 (file)
@@ -37,9 +37,9 @@ SECTIONS
 {
        .text      :
        {
-       __start = .;
-         arch/arm/cpu/armv7/start.o    (.text)
-         *(.text*)
+               __start = .;
+               arch/arm/cpu/armv7/start.o      (.text*)
+               *(.text*)
        } >.sram
 
        . = ALIGN(4);
@@ -47,6 +47,7 @@ SECTIONS
 
        . = ALIGN(4);
        .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
+
        . = ALIGN(4);
        __image_copy_end = .;
        _end = .;
@@ -57,6 +58,6 @@ SECTIONS
                __bss_start = .;
                *(.bss*)
                . = ALIGN(4);
-               __bss_end__ = .;
+               __bss_end = .;
        } >.sdram
 }