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:
parent
78df9a19ad
commit
fd18bc87c2
|
@ -97,7 +97,7 @@ _bss_end:
|
|||
|
||||
|
||||
_TEXT_BASE:
|
||||
.word TEXT_BASE
|
||||
.word _stext
|
||||
|
||||
_MALLOC_BASE:
|
||||
.word MALLOC_BASE
|
||||
|
|
Loading…
Reference in New Issue