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.*)