arc: linker.ld: Port vector table to zephyr_linker_sources()
Place it in its own linker file snippet. Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
parent
b1026da300
commit
3925132456
3 changed files with 13 additions and 5 deletions
|
@ -91,11 +91,6 @@ SECTIONS {
|
|||
* zephyr_linker_sources() Cmake function.
|
||||
*/
|
||||
#include <snippets-text-start.ld>
|
||||
/* when !XIP, .text is in RAM, and vector table must be at its very start */
|
||||
|
||||
KEEP(*(.exc_vector_table))
|
||||
KEEP(*(".exc_vector_table.*"))
|
||||
KEEP(*(IRQ_VECTOR_TABLE))
|
||||
|
||||
*(.text)
|
||||
*(".text.*")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue