diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-09-08 10:33:59 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-09-08 12:42:55 +0200 |
commit | fd18bc87c23822937fcb00005165296a526a44cb (patch) | |
tree | 99cf01c45ab90c038d1deb2c31c1df92a5019778 | |
parent | 78df9a19ad1d007379829badc4d882a7051c971a (diff) | |
download | barebox-fd18bc87c23822937fcb00005165296a526a44cb.tar.gz barebox-fd18bc87c23822937fcb00005165296a526a44cb.tar.xz |
use _stext instead of TEXT_BASE
When checking if we have to relocate ourselves, use _stext instead
of TEXT_BASE. TEXT_BASE might be the location of a pre image header.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/cpu/start-arm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/start-arm.S b/arch/arm/cpu/start-arm.S index cd0803efb4..408944ab29 100644 --- a/arch/arm/cpu/start-arm.S +++ b/arch/arm/cpu/start-arm.S @@ -97,7 +97,7 @@ _bss_end: _TEXT_BASE: - .word TEXT_BASE + .word _stext _MALLOC_BASE: .word MALLOC_BASE |