HomeFreeBSD

arm64: Make sure COMPAT_FREEBSD32 handles thumb entry point.

Description

arm64: Make sure COMPAT_FREEBSD32 handles thumb entry point.

If the entry point for the binary executed is a thumb 2 entry point, make
sure we set the PSR_T bit, or the CPU will interpret it as arm32 code and
bad things will happen.

PR: 256899
MFC after: 1 week

Details

Provenance
cognetAuthored on Jun 30 2021, 12:50 PM
Parents
rGc1da17a86cdb: arm: Garbage collect _arm_memcpy/_arm_bzero.
Branches
Unknown
Tags
Unknown