]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: Fix COMPAT_FREEBSD32.
authorOlivier Houchard <cognet@FreeBSD.org>
Wed, 10 Mar 2021 18:01:41 +0000 (19:01 +0100)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 10 Jan 2022 10:54:19 +0000 (10:54 +0000)
commit6d91006cd1b51409b0c56813e8bacca5c6ece632
tree1037f549f8433180efb73d7466f9a389dd742e58
parent4ee9fbcd853119c8b27c5640f0bbe309e45fc26c
arm64: Fix COMPAT_FREEBSD32.

The ENTRY() macro was modified by commit
28d945204ea1014d7de6906af8470ed8b3311335 to add an optional NOP instruction
at the beginning of the function. It is of course an arm64 instruction, so
unsuitable for the 32bits sigcode. So just use EENTRY() instead for
aarch32_sigcode. This should fix receiving signals when running 32bits
binaries on FreeBSD/arm64.

MFC After: 1 week

(cherry picked from commit c328f64d81079bad5064c8a387883df50ab5aaed)
sys/arm64/arm64/locore.S