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

@ -138,8 +138,6 @@ SECTIONS
SECTION_PROLOGUE(_TEXT_SECTION_NAME,,)
{
. = CONFIG_TEXT_SECTION_OFFSET;
/* Located in generated directory. This file is populated by the
* zephyr_linker_sources() Cmake function.
*/

View file

@ -134,7 +134,6 @@ SECTIONS
SECTION_PROLOGUE(_TEXT_SECTION_NAME,,)
{
. = CONFIG_TEXT_SECTION_OFFSET;
/* Located in generated directory. This file is populated by the
* zephyr_linker_sources() Cmake function.

View file

@ -85,7 +85,6 @@ SECTIONS
_image_text_start = PHYS_LOAD_ADDR;
SECTION_PROLOGUE(_TEXT_SECTION_NAME,,)
{
. = CONFIG_TEXT_SECTION_OFFSET;
/* Located in generated directory. This file is populated by the
* zephyr_linker_sources() Cmake function.