summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/arm920t
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-14 06:54:53 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:13:54 -0400
commit3929fb0a141530551b3fce15ee08629f80d5ef2a (patch)
tree8c3e31e338afb232ac5e404225304c7285136bf4 /arch/arm/cpu/arm920t
parent69d59b47ad408d9961b850f23e59a93fdeb71df8 (diff)
downloadtalos-obmc-uboot-3929fb0a141530551b3fce15ee08629f80d5ef2a.tar.gz
talos-obmc-uboot-3929fb0a141530551b3fce15ee08629f80d5ef2a.zip
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/arm920t')
-rw-r--r--arch/arm/cpu/arm920t/ep93xx/u-boot.lds2
-rw-r--r--arch/arm/cpu/arm920t/start.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/arm920t/ep93xx/u-boot.lds b/arch/arm/cpu/arm920t/ep93xx/u-boot.lds
index 008ae891ca..25d2a32631 100644
--- a/arch/arm/cpu/arm920t/ep93xx/u-boot.lds
+++ b/arch/arm/cpu/arm920t/ep93xx/u-boot.lds
@@ -57,7 +57,7 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss : { *(.bss) }
- __bss_end__ = .;
+ __bss_end = .;
_end = .;
}
diff --git a/arch/arm/cpu/arm920t/start.S b/arch/arm/cpu/arm920t/start.S
index 511d21d334..2864d128c7 100644
--- a/arch/arm/cpu/arm920t/start.S
+++ b/arch/arm/cpu/arm920t/start.S
@@ -87,7 +87,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
- .word __bss_end__ - _start
+ .word __bss_end - _start
.globl _end_ofs
_end_ofs:
OpenPOWER on IntegriCloud