Correct the binary output so that image_binary_size is really at the
end of the image.

Signed-off-by: Simon Glass <s...@chromium.org>
---

Changes in v3:
- Add new patch to ensure the hash section is inside the image for cm_t335

Changes in v2: None

 board/compulab/cm_t335/u-boot.lds | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/compulab/cm_t335/u-boot.lds 
b/board/compulab/cm_t335/u-boot.lds
index c8ab716..6275836 100644
--- a/board/compulab/cm_t335/u-boot.lds
+++ b/board/compulab/cm_t335/u-boot.lds
@@ -62,6 +62,8 @@ SECTIONS
                *(.__rel_dyn_end)
        }
 
+       .hash : { *(.hash*) }
+
        .end :
        {
                *(.__end)
@@ -99,8 +101,6 @@ SECTIONS
        }
 
        .dynsym _image_binary_end : { *(.dynsym) }
-       .hash : { *(.hash) }
-       .got.plt : { *(.got.plt) }
        .dynbss : { *(.dynbss) }
        .dynstr : { *(.dynstr*) }
        .dynamic : { *(.dynamic*) }
-- 
1.9.1.423.g4596e3a

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to