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:
Øyvind Rønningstad 2019-11-29 09:22:13 +01:00 committed by Anas Nashif
commit 3925132456
3 changed files with 13 additions and 5 deletions

View file

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