arc: move openocd_dbg section
Its current placement was splitting the vector table in half. Move to rodata, a better place for it. There's no requirement for it to be in the text section. Change-Id: I67724b2a26a9cb62c2ccd473cb54c53e4f74dc32 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
459e850429
commit
587ba7b8ea
1 changed files with 2 additions and 4 deletions
|
@ -70,10 +70,6 @@ SECTIONS {
|
||||||
|
|
||||||
KEEP(*(.exc_vector_table))
|
KEEP(*(.exc_vector_table))
|
||||||
KEEP(*(".exc_vector_table.*"))
|
KEEP(*(".exc_vector_table.*"))
|
||||||
|
|
||||||
KEEP(*(.openocd_dbg))
|
|
||||||
KEEP(*(".openocd_dbg.*"))
|
|
||||||
|
|
||||||
KEEP(*(IRQ_VECTOR_TABLE))
|
KEEP(*(IRQ_VECTOR_TABLE))
|
||||||
|
|
||||||
KEEP(*(.isr_irq*))
|
KEEP(*(.isr_irq*))
|
||||||
|
@ -105,6 +101,8 @@ SECTIONS {
|
||||||
#include <linker/common-rom.ld>
|
#include <linker/common-rom.ld>
|
||||||
|
|
||||||
SECTION_PROLOGUE(_RODATA_SECTION_NAME,,) {
|
SECTION_PROLOGUE(_RODATA_SECTION_NAME,,) {
|
||||||
|
KEEP(*(.openocd_dbg))
|
||||||
|
KEEP(*(".openocd_dbg.*"))
|
||||||
*(.rodata)
|
*(.rodata)
|
||||||
*(".rodata.*")
|
*(".rodata.*")
|
||||||
*(.gnu.linkonce.r.*)
|
*(.gnu.linkonce.r.*)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue