Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2021 15:20:35 GMT
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8cb175ba0c61 - main - Enable stack gap on arm64
Message-ID:  <202110211520.19LFKZoh037260@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mw:

URL: https://cgit.FreeBSD.org/src/commit/?id=8cb175ba0c61dd8956ae96b8b4f25e494025cc62

commit 8cb175ba0c61dd8956ae96b8b4f25e494025cc62
Author:     Dawid Gorecki <dgr@semihalf.com>
AuthorDate: 2021-10-21 15:18:46 +0000
Commit:     Marcin Wojtas <mw@FreeBSD.org>
CommitDate: 2021-10-21 15:20:08 +0000

    Enable stack gap on arm64
    
    Stack gap code used on amd64 can also be reused for arm64. Point
    sv_stackgap to elf64_stackgap to enable this feature.
    
    Reviewed by: mw, kib, emaste
    Tested by: mw
    MFC: after 1 month
    Differential Revision: https://reviews.freebsd.org/D32588
---
 sys/arm64/arm64/elf_machdep.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/arm64/arm64/elf_machdep.c b/sys/arm64/arm64/elf_machdep.c
index eafaf4150dff..bb9e7e8fee4c 100644
--- a/sys/arm64/arm64/elf_machdep.c
+++ b/sys/arm64/arm64/elf_machdep.c
@@ -93,6 +93,7 @@ static struct sysentvec elf64_freebsd_sysvec = {
 	.sv_schedtail	= NULL,
 	.sv_thread_detach = NULL,
 	.sv_trap	= NULL,
+	.sv_stackgap	= elf64_stackgap,
 	.sv_hwcap	= &elf_hwcap,
 	.sv_hwcap2	= &elf_hwcap2,
 	.sv_onexec_old	= exec_onexec_old,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110211520.19LFKZoh037260>