diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2019-04-25 21:22:39 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-05-05 08:48:50 -0400 |
commit | 1b1d8c19f5b4b799232eee70e8916cd2491872ec (patch) | |
tree | d35522cb3804e13e5ed2912e0dc9a7df8c2d580a /arch/microblaze | |
parent | aaa64803700c29905927b7ebf81fa7bb6ef3c200 (diff) | |
download | u-boot-1b1d8c19f5b4b799232eee70e8916cd2491872ec.tar.gz |
spl: fix linker size check off-by-one errors
This fixes SPL linker script size checks for 3 lds files where the size
checks were implemented as "x < YYY_MAX_SIZE".
Fix the size checks to be "x <= YYY_MAX_SIZE" instead.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/cpu/u-boot-spl.lds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/cpu/u-boot-spl.lds b/arch/microblaze/cpu/u-boot-spl.lds index 99c62b51a1..3387eb7189 100644 --- a/arch/microblaze/cpu/u-boot-spl.lds +++ b/arch/microblaze/cpu/u-boot-spl.lds @@ -57,6 +57,6 @@ SECTIONS } #if defined(CONFIG_SPL_MAX_FOOTPRINT) -ASSERT(__end - _start < (CONFIG_SPL_MAX_FOOTPRINT), \ +ASSERT(__end - _start <= (CONFIG_SPL_MAX_FOOTPRINT), \ "SPL image plus BSS too big"); #endif |