From: Simon Glass Date: Mon, 2 Jun 2014 22:04:46 -0600 Subject: [U-Boot] [PATCH v3 03/14] mx31ads: Fix the U-Boot binary output In-Reply-To: <1401768297-7198-1-git-send-email-sjg@chromium.org> References: <1401768297-7198-1-git-send-email-sjg@chromium.org> Message-ID: <1401768297-7198-4-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Correct the binary output so that image_binary_size is really at the end of the image. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to ensure the hash section is inside the image for mx31ads Changes in v2: None board/freescale/mx31ads/u-boot.lds | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/freescale/mx31ads/u-boot.lds b/board/freescale/mx31ads/u-boot.lds index 61b83bf..8a4a8a2 100644 --- a/board/freescale/mx31ads/u-boot.lds +++ b/board/freescale/mx31ads/u-boot.lds @@ -70,6 +70,8 @@ SECTIONS *(.__rel_dyn_end) } + .hash : { *(.hash*) } + .end : { *(.__end) @@ -100,7 +102,7 @@ SECTIONS .dynbss : { *(.dynbss) } .dynstr : { *(.dynstr*) } .dynamic : { *(.dynamic*) } - .hash : { *(.hash*) } + .gnu.hash : { *(.gnu.hash) } .plt : { *(.plt*) } .interp : { *(.interp*) } .gnu : { *(.gnu*) } -- 1.9.1.423.g4596e3a