HomeFreeBSD

linux(4): Implement signal trampoline for arm64 in a FreeBSD-way

Description

linux(4): Implement signal trampoline for arm64 in a FreeBSD-way

The implemenation differs from others Linuxulators.
For unwinders Linux ucontext_t is stored, however native machine context
is used to store/restore process state to avoid code duplication.

As DWARF Aarch64 does not define a register number for PC and provides no
direct way to encode the PC of the previous frame, CFI cannot describe a
signal trampoline frame. So, modified the vdso linker script to discard
unused sections.

Extensions are not implemented.

MFC after: 2 weeks

Details

Provenance
dchaginAuthored on May 15 2022, 6:10 PM
Parents
rG08e201a3b462: linux(4): Retire unused include
Branches
Unknown
Tags
Unknown