arm: fix symbols around the .ARM.exidx section

Insert a direct assignment to the location counter to ensure that orphaned
sections cannot be emitted between the _exidx_start symbol and the .ARM.exidx
section.

Discussed with:	jrtc27
MFC after:	1 week
This commit is contained in:
Michal Meloun 2024-11-17 11:33:32 +01:00
parent 0381f0b63b
commit 1701dfae1b

View file

@ -67,6 +67,7 @@ SECTIONS
_extab_end = .;
PROVIDE(extab_end = .);
. = ALIGN(4);
_exidx_start = .;
PROVIDE(exidx_start = .);
.ARM.exidx : { *(.ARM.exidx) }