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:
parent
d2465d6268
commit
59a51f0e09
7 changed files with 8 additions and 15 deletions
|
@ -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.*)
|
||||
|
|
|
@ -162,9 +162,6 @@ SECTIONS
|
|||
{
|
||||
KEEP(*(_IRQ_VECTOR_TABLE_SECTION_SYMS))
|
||||
|
||||
KEEP(*(.openocd_dbg))
|
||||
KEEP(*(".openocd_dbg.*"))
|
||||
|
||||
*(.rodata)
|
||||
*(".rodata.*")
|
||||
*(.gnu.linkonce.r.*)
|
||||
|
|
|
@ -124,8 +124,6 @@ SECTIONS
|
|||
*(.text)
|
||||
*(".text.*")
|
||||
*(.gnu.linkonce.t.*)
|
||||
KEEP(*(.openocd_dbg))
|
||||
KEEP(*(".openocd_dbg.*"))
|
||||
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||
|
||||
_image_text_end = .;
|
||||
|
|
|
@ -119,8 +119,6 @@ SECTIONS
|
|||
*(.init)
|
||||
*(.fini)
|
||||
*(.eini)
|
||||
KEEP(*(.openocd_dbg))
|
||||
KEEP(*(".openocd_dbg.*"))
|
||||
|
||||
#include <linker/kobject-text.ld>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue