Add page-aligned padding to initlevel section for Galileo test load
Galileo testing uses Linux kexec() feature to load Zephyr OS. kexec() requires all program headers page size aligned. Add page size padding to initlevel section in order to make BSS page aligned. Change-Id: I7c0e309be70aef45b347b16c6d5c01bdf5659351 Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
This commit is contained in:
parent
ed610c5bd5
commit
4e3bce5e96
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ SECTIONS
|
|||
INIT_LEVEL(7)
|
||||
KEEP(*(SORT_BY_NAME(".initconfig*")))
|
||||
__initconfig_end = .;
|
||||
KEXEC_PGALIGN_PAD(MMU_PAGE_SIZE)
|
||||
} GROUP_LINK_IN(RAM)
|
||||
|
||||
__data_ram_end = .;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue