arm, x86, riscv: linker.ld: Move TEXT_SECTION_OFFSET

to its own linker file snippet so snippets can be placed before it.
Using zephyr_linker_sources().

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
Øyvind Rønningstad 2019-11-29 13:31:00 +01:00 committed by Anas Nashif
commit 0b2c8e201c
6 changed files with 13 additions and 7 deletions

View file

@ -103,9 +103,6 @@ SECTIONS
SECTION_PROLOGUE(_TEXT_SECTION_NAME,,)
{
. = CONFIG_TEXT_SECTION_OFFSET;
. = ALIGN(4);
/*
* Respect for CONFIG_TEXT_SECTION_OFFSET is mandatory
* for MCUboot support, so .reset.* and .exception.*