@ipavlov any updates on taking/reviewing the patch from the PR?
@sobukus, reviving this. So AFAICT the assembly routines for aarch64 do not store the LR (x30) to the stack. So they don't need pac instructions. However, they will need bti instructions, specifically 'bti c' at the entry points. Here is a link to a PR I did for Pixman: https://gitlab.freedesktop.org/pixman/pixman/-/merge_requests/105/diffs But the steps are similair: For each assembly file: - ensure the gnu notes section is added (#include usually the easiest) This will mark that BTI is enabled...
@ipavlov PR here: https://github.com/ip7z/7zip/pull/39