arm: vector_table: Automatically place the IRQ vector table

Instead of using a custom linker script, rely on the automatic placement
of the IRQ vector table.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
Carlo Caione 2022-06-22 10:44:59 +02:00 committed by Carles Cufí
commit 219d5b5adb
2 changed files with 1 additions and 4 deletions

View file

@ -33,3 +33,4 @@ add_subdirectory_ifdef(CONFIG_CPU_AARCH32_CORTEX_R cortex_a_r)
add_subdirectory_ifdef(CONFIG_CPU_AARCH32_CORTEX_A cortex_a_r)
zephyr_linker_sources(ROM_START SORT_KEY 0x0vectors vector_table.ld)
zephyr_linker_sources(ROM_START SORT_KEY 0x1vectors cortex_m/vector_table_pad.ld)

View file

@ -41,10 +41,6 @@ _vector_start = .;
KEEP(*(.exc_vector_table))
KEEP(*(".exc_vector_table.*"))
KEEP(*(_IRQ_VECTOR_TABLE_SECTION_SYMS))
KEEP(*(.vectors))
_vector_end = .;
#include "cortex_m/vector_table_pad.ld"