9
0
Fork 0

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>
This commit is contained in:
Sascha Hauer 2009-09-08 10:33:59 +02:00
parent 78df9a19ad
commit fd18bc87c2
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ _bss_end:
_TEXT_BASE:
.word TEXT_BASE
.word _stext
_MALLOC_BASE:
.word MALLOC_BASE