]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mx31ads/u-boot.lds
arm: make __image_copy_{start, end} compiler-generated
[karo-tx-uboot.git] / board / freescale / mx31ads / u-boot.lds
index 2197883140bbdc36fc21213590795e018d225c3e..f8ef00c32d53fc95b95c9cf83850390192809d4b 100644 (file)
@@ -34,6 +34,7 @@ SECTIONS
        . = ALIGN(4);
        .text      :
        {
+               *(.__image_copy_start)
          /* WARNING - the following is hand-optimized to fit within    */
          /* the sector layout of our flash chips!      XXX FIXME XXX   */
 
@@ -65,7 +66,10 @@ SECTIONS
 
        . = ALIGN(4);
 
-       __image_copy_end = .;
+       .image_copy_end :
+       {
+               *(.__image_copy_end)
+       }
 
        .rel.dyn : {
                __rel_dyn_start = .;