]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Maintain a stack alignment of 16-bytes.
authorbrooks <brooks@FreeBSD.org>
Fri, 4 Sep 2020 21:46:10 +0000 (21:46 +0000)
committerbrooks <brooks@FreeBSD.org>
Fri, 4 Sep 2020 21:46:10 +0000 (21:46 +0000)
commit448440bf83d8ebcf232caac5e4090590ed2c034f
tree69dba510b8ab5a312fec7d4a6c5634415dcfbc4f
parent8d1532df80337f2cd39684425205c3016bfcd241
Maintain a stack alignment of 16-bytes.

This violated the RISC-V 64-bit ABI.  On CheriBSD this manifested as
a trap when attempting to store 16-byte aligned types while zeroing
the stack.

Reported by: CHERI, jrtc27
Reviewed by: mhorne, br
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D26327
libexec/rtld-elf/riscv/rtld_start.S