xtensa: Implement CONFIG_TEXT_SECTION_OFFSET
CONFIG_TEXT_SECTION_OFFSET allows the entire image to be moved in memory to allow space for some type of header. The mcubootloader can boot only such images which reserve some space for the header. Signed-off-by: Rajavardhan Gundi <rajavardhan.gundi@intel.com>
This commit is contained in:
parent
b928b71756
commit
022990f73d
2 changed files with 6 additions and 0 deletions
|
@ -172,6 +172,7 @@ SECTIONS
|
|||
|
||||
.ResetVector.text : ALIGN(4)
|
||||
{
|
||||
. = CONFIG_TEXT_SECTION_OFFSET;
|
||||
_ResetVector_text_start = ABSOLUTE(.);
|
||||
KEEP (*(.ResetVector.text))
|
||||
_ResetVector_text_end = ABSOLUTE(.);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue