mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02:00
arm: fix incorrect monitor protection region in FLASH
Monitor protection region in FLASH did not cover .rel.dyn and .dynsym sections, because it uses __bss_start to compute monitor_flash_len. Use _end instead. Add _end to linker scripts for end of u-boot image Add _end_ofs to all the start.S. Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
This commit is contained in:
committed by
Albert Aribaud
parent
44c6e6591c
commit
f326cbba98
@@ -32,6 +32,7 @@
|
||||
/* for the following variables, see start.S */
|
||||
extern ulong _bss_start_ofs; /* BSS start relative to _start */
|
||||
extern ulong _bss_end_ofs; /* BSS end relative to _start */
|
||||
extern ulong _end_ofs; /* end of image relative to _start */
|
||||
extern ulong IRQ_STACK_START; /* top of IRQ stack */
|
||||
extern ulong FIQ_STACK_START; /* top of FIQ stack */
|
||||
extern ulong _TEXT_BASE; /* code start */
|
||||
|
Reference in New Issue
Block a user