]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Maintain a stack alignment of 16-bytes.
authorBrooks Davis <brooks@FreeBSD.org>
Fri, 4 Sep 2020 21:46:10 +0000 (21:46 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Fri, 4 Sep 2020 21:46:10 +0000 (21:46 +0000)
commit29e1fceb733d3c7986b4286bf99f44b8d0b0821e
tree69dba510b8ab5a312fec7d4a6c5634415dcfbc4f
parentc86d2ba8a565a774f6f9ab713801e08cc1045c73
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