Enable stack gap on arm64
authorDawid Gorecki <dgr@semihalf.com>
Thu, 21 Oct 2021 15:18:46 +0000 (17:18 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Thu, 21 Oct 2021 15:20:08 +0000 (17:20 +0200)
commit8cb175ba0c61dd8956ae96b8b4f25e494025cc62
tree66f8cae4eb1175e14f6f6791b8409983b3fbf8fe
parent6ba2210ee039f2f12878c217bcf058e9c8b26b29
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