@ipavlov I was able to significantly simplify the patch series. For some reason I thought I saw indirect branches and jumps, but that was incorrect. Can you please take a look at it agin? https://github.com/ip7z/7zip/pull/39
@ipavlov I was able to significantly simplify the patch series. For some reason I thought I saw indirect branches and jumps, but that what wrong. Can you please take a look at it agin? https://github.com/ip7z/7zip/pull/39
@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