git: 1701dfae1be3 - main - arm: fix symbols around the .ARM.exidx section
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Nov 2024 11:07:46 UTC
The branch main has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=1701dfae1be3be6f8f1fdd3b6b636d3161b33420 commit 1701dfae1be3be6f8f1fdd3b6b636d3161b33420 Author: Michal Meloun <mmel@FreeBSD.org> AuthorDate: 2024-11-17 10:33:32 +0000 Commit: Michal Meloun <mmel@FreeBSD.org> CommitDate: 2024-11-17 11:00:45 +0000 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 --- sys/conf/ldscript.arm | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm index 03feae4cfe08..6ccd99d44a77 100644 --- a/sys/conf/ldscript.arm +++ b/sys/conf/ldscript.arm @@ -67,6 +67,7 @@ SECTIONS _extab_end = .; PROVIDE(extab_end = .); + . = ALIGN(4); _exidx_start = .; PROVIDE(exidx_start = .); .ARM.exidx : { *(.ARM.exidx) }