Date: Sun, 8 Dec 2024 13:37:46 GMT From: Michal Meloun <mmel@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 83ad268f7e0e - stable/14 - arm: align data section to the supersection. Message-ID: <202412081337.4B8DbkTX039162@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=83ad268f7e0e084e495f8318c96184556902a5fa commit 83ad268f7e0e084e495f8318c96184556902a5fa Author: Michal Meloun <mmel@FreeBSD.org> AuthorDate: 2024-11-17 10:50:41 +0000 Commit: Michal Meloun <mmel@FreeBSD.org> CommitDate: 2024-12-08 10:36:38 +0000 arm: align data section to the supersection. Offset based data section alignment is probably not applicable to any system other than i386. MFC after: 4 week (cherry picked from commit 60e72eb16a08bdebb40c99cdfcde04e606fe4f3e) --- sys/conf/ldscript.arm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm index 62f9c0847c4a..ac6f641a0a50 100644 --- a/sys/conf/ldscript.arm +++ b/sys/conf/ldscript.arm @@ -74,9 +74,7 @@ SECTIONS _exidx_end = .; PROVIDE(exidx_end = .); - /* Adjust the address for the data segment. We want to adjust up to - the same address within the page on the next page up. */ - . = ALIGN(0x1000) + (. & (0x1000 - 1)) ; + . = ALIGN(0x10000); .data : { *(.data)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412081337.4B8DbkTX039162>