Date: Wed, 15 Apr 2026 16:03:30 +0000 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: 1dddb580f950 - main - arm64: Define the .iplt section placement. Message-ID: <69dfb6d2.23d4d.34b97e94@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by mmel: URL: https://cgit.FreeBSD.org/src/commit/?id=1dddb580f950a27fb9859b2879755dde114c9d8b commit 1dddb580f950a27fb9859b2879755dde114c9d8b Author: Michal Meloun <mmel@FreeBSD.org> AuthorDate: 2026-04-15 09:32:54 +0000 Commit: Michal Meloun <mmel@FreeBSD.org> CommitDate: 2026-04-15 16:02:01 +0000 arm64: Define the .iplt section placement. Ensure that the .plt and .ipld sections are in the executable memory segment. MFC after: 1 week Reviewed by: andrew Differential Revision: https://reviews.freebsd.org/D56403 --- sys/conf/ldscript.arm64 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/conf/ldscript.arm64 b/sys/conf/ldscript.arm64 index ae231c3037e6..7ec0d4324270 100644 --- a/sys/conf/ldscript.arm64 +++ b/sys/conf/ldscript.arm64 @@ -15,6 +15,12 @@ SECTIONS *(.gnu.warning) *(.gnu.linkonce.t*) } =0x9090 + .plt : + { + *(.plt) + *(.iplt) + } + /* * Align to the the largest page size the kernel could be built for. * If we don't then building page tables in locore.S could fail as it @@ -66,7 +72,6 @@ SECTIONS .rel.plt : { *(.rel.plt) } .rela.plt : { *(.rela.plt) } .init : { *(.init) } =0x9090 - .plt : { *(.plt) } . = ALIGN(4); _extab_start = .;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69dfb6d2.23d4d.34b97e94>
