debug: Clean up thread awareness data sections

There's no need to duplicate the linker section for each architecture.
Instead, move the section declaration to common-rom.ld.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2021-03-12 12:21:50 +01:00 committed by Kumar Gala
commit 59a51f0e09
7 changed files with 8 additions and 15 deletions

View file

@ -185,6 +185,11 @@
Z_ITERABLE_SECTION_ROM(tracing_backend, 4)
SECTION_DATA_PROLOGUE(zephyr_dbg_info,,)
{
KEEP(*(".dbg_thread_info"));
} GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
SECTION_DATA_PROLOGUE(device_handles,,)
{
__device_handles_start = .;