diff options
author | Simon Glass <sjg@chromium.org> | 2013-03-14 10:54:53 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-16 00:13:54 +0400 |
commit | 3929fb0a141530551b3fce15ee08629f80d5ef2a (patch) | |
tree | 8c3e31e338afb232ac5e404225304c7285136bf4 /arch/arm/cpu/u-boot.lds | |
parent | 69d59b47ad408d9961b850f23e59a93fdeb71df8 (diff) | |
download | u-boot-3929fb0a141530551b3fce15ee08629f80d5ef2a.tar.xz |
Replace __bss_end__ with __bss_end
Note this is a tree-wide change affecting multiple architectures.
At present we use __bss_start, but mostly __bss_end__. This seems
inconsistent and in a number of places __bss_end is used instead.
Change to use __bss_end for the BSS end symbol throughout U-Boot. This
makes it possible to use the asm-generic/sections.h file on all
archs.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu/u-boot.lds')
-rw-r--r-- | arch/arm/cpu/u-boot.lds | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/u-boot.lds b/arch/arm/cpu/u-boot.lds index e6b202bd14..b337e7bf51 100644 --- a/arch/arm/cpu/u-boot.lds +++ b/arch/arm/cpu/u-boot.lds @@ -85,7 +85,7 @@ SECTIONS __bss_start = .; *(.bss*) . = ALIGN(4); - __bss_end__ = .; + __bss_end = .; } /DISCARD/ : { *(.dynstr*) } @@ -96,5 +96,5 @@ SECTIONS } #if defined(CONFIG_SPL_TEXT_BASE) && defined(CONFIG_SPL_MAX_SIZE) -ASSERT(__bss_end__ < (CONFIG_SPL_TEXT_BASE + CONFIG_SPL_MAX_SIZE), "SPL image too big"); +ASSERT(__bss_end < (CONFIG_SPL_TEXT_BASE + CONFIG_SPL_MAX_SIZE), "SPL image too big"); #endif |