Hello Will,
I think you discovered a bug in the ARMv-7M linker command file, the
bsp_vector_table_size should be 0.
On 09/01/2020 16:07, Will wrote:
Hi Sebastian,
The relocated vector table is also present in REGION_VECTOR as long as
bsp_vector_table_in_start_section is not defined in the
Hi Sebastian,
The relocated vector table is also present in REGION_VECTOR as long as
bsp_vector_table_in_start_section is not defined in the linker script. It
sounds like this is expected behavior, though, so I'll adjust accordingly.
Thanks,
William
On Wed, Jan 8, 2020 at 11:58 PM Sebastian
Hello,
the region name REGION_VECTOR is a bit misleading. For ARMv-7M the
vector table is in the .bsp_start_text section, see
"bsps/arm/shared/start/start.S". In the REGION_VECTOR there is only the
interrupt stack.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178
I've been working on a Cortex-M4 BSP and its Qemu model has some
peculiarities requiring me to relocate the vector table to the end of the
available storage, at least temporarily. In the process of doing this, I
noticed that .rtemsstack is placed in REGION_VECTOR in the shared
linkcmds.base