]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ti: am335x: Fix the U-Boot binary output
authorSimon Glass <sjg@chromium.org>
Tue, 3 Jun 2014 04:04:44 +0000 (22:04 -0600)
committerTom Rini <trini@ti.com>
Wed, 11 Jun 2014 20:25:39 +0000 (16:25 -0400)
This should include the hash so that image_binary_size is really at the
end of the image, and not some 300 bytes earlier.

Signed-off-by: Simon Glass <sjg@chromium.org>
board/ti/am335x/u-boot.lds

index 2c5a0f8a117e9626813b3947f0a0c8eded6566ca..78f294af408e53c7f6bbd77548d54f50c0156e57 100644 (file)
@@ -78,6 +78,8 @@ SECTIONS
                *(.__rel_dyn_end)
        }
 
                *(.__rel_dyn_end)
        }
 
+       .hash : { *(.hash*) }
+
        .end :
        {
                *(.__end)
        .end :
        {
                *(.__end)
@@ -118,7 +120,6 @@ SECTIONS
        .dynbss : { *(.dynbss) }
        .dynstr : { *(.dynstr*) }
        .dynamic : { *(.dynamic*) }
        .dynbss : { *(.dynbss) }
        .dynstr : { *(.dynstr*) }
        .dynamic : { *(.dynamic*) }
-       .hash : { *(.hash*) }
        .gnu.hash : { *(.gnu.hash) }
        .plt : { *(.plt*) }
        .interp : { *(.interp*) }
        .gnu.hash : { *(.gnu.hash) }
        .plt : { *(.plt*) }
        .interp : { *(.interp*) }