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

@ -101,8 +101,6 @@ SECTIONS {
#include <linker/thread-local-storage.ld>
SECTION_PROLOGUE(_RODATA_SECTION_NAME,,) {
KEEP(*(.openocd_dbg))
KEEP(*(".openocd_dbg.*"))
*(".rodata")
*(".rodata.*")
*(.gnu.linkonce.r.*)

View file

@ -162,9 +162,6 @@ SECTIONS
{
KEEP(*(_IRQ_VECTOR_TABLE_SECTION_SYMS))
KEEP(*(.openocd_dbg))
KEEP(*(".openocd_dbg.*"))
*(.rodata)
*(".rodata.*")
*(.gnu.linkonce.r.*)

View file

@ -124,8 +124,6 @@ SECTIONS
*(.text)
*(".text.*")
*(.gnu.linkonce.t.*)
KEEP(*(.openocd_dbg))
KEEP(*(".openocd_dbg.*"))
} GROUP_LINK_IN(ROMABLE_REGION)
_image_text_end = .;

View file

@ -119,8 +119,6 @@ SECTIONS
*(.init)
*(.fini)
*(.eini)
KEEP(*(.openocd_dbg))
KEEP(*(".openocd_dbg.*"))
#include <linker/kobject-text.ld>