summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/pbl.lds.S
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-02-13 20:16:30 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-02-13 20:25:14 +0100
commit7eb1636c7067a15446f2313d3bf5092fcca94908 (patch)
treea14f32f9578a9abfe2cda4ffb1c4d2056bbc2219 /arch/arm/lib/pbl.lds.S
parente83de66f3f85f5a53474e85f01ce066ec7f31f5a (diff)
downloadbarebox-7eb1636c7067a15446f2313d3bf5092fcca94908.tar.gz
barebox-7eb1636c7067a15446f2313d3bf5092fcca94908.tar.xz
Revert "images: Drop unnecessary fix_size"
This reverts commit 5c0e16591d9471a345b77a41fde76de34f301f6b. The fix_size scripts is not necessary for newer ARM toolchains, it is however necessary for the older ARM toolchains (gcc-5 and older). The original reason to drop fix_size was that it doesn't work on MIPS. With this patch we add the -i flag so that we ignore unknown images and can succesfully build MIPS images. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/lib/pbl.lds.S')
-rw-r--r--arch/arm/lib/pbl.lds.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/pbl.lds.S b/arch/arm/lib/pbl.lds.S
index e7a94f912e..53c9ce0fe6 100644
--- a/arch/arm/lib/pbl.lds.S
+++ b/arch/arm/lib/pbl.lds.S
@@ -95,6 +95,6 @@ SECTIONS
.image_end : { *(.__image_end) }
- _barebox_image_size = __piggydata_end - BASE;
+ _barebox_image_size = __image_end - BASE;
_barebox_pbl_size = __bss_start - BASE;
}