Date: Sun, 17 Nov 2024 11:07:49 GMT From: Michal Meloun <mmel@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 60e72eb16a08 - main - arm: align data section to the supersection. Message-ID: <202411171107.4AHB7nhg001298@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=60e72eb16a08bdebb40c99cdfcde04e606fe4f3e commit 60e72eb16a08bdebb40c99cdfcde04e606fe4f3e Author: Michal Meloun <mmel@FreeBSD.org> AuthorDate: 2024-11-17 10:50:41 +0000 Commit: Michal Meloun <mmel@FreeBSD.org> CommitDate: 2024-11-17 11:05:42 +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 --- 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 aceaf0bdedb0..d9edcfac9f78 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?202411171107.4AHB7nhg001298>