The branch main has been updated by mw:

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

commit 8cb175ba0c61dd8956ae96b8b4f25e494025cc62
Author:     Dawid Gorecki <d...@semihalf.com>
AuthorDate: 2021-10-21 15:18:46 +0000
Commit:     Marcin Wojtas <m...@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,

Reply via email to