diff options
author | Tamas Petz <tamas.petz@arm.com> | 2019-12-03 17:18:43 +0100 |
---|---|---|
committer | Tamas Petz <tamas.petz@arm.com> | 2020-09-04 11:28:43 +0200 |
commit | 19d66e6f2d4e1790932078b8fcb432f17e35b448 (patch) | |
tree | 501897b4062e68de9a9e1d3177348ac17afcdefd /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 7e0816a0a48d0dd96b4ffad5abd1506d478cbe67 (diff) |
libc: Prepare support for Armv8.3-A PAuth and Armv8.5-A BTI in *.S
The instruction "bti c" is added through ENTRY*() macro,
using __bionic_asm_custom_entry(f).
The .note.gnu.property section is added with the new macro
NOTE_GNU_PROPERTY(). BTI and PAuth features are automatically
selected based on the presence of __ARM_FEATURE_* macros.
Furthermore, gensyscalls.py got updated to append the new
macro to the generated syscalls-arm64.S.
Test: Tested on FVP with BTI enabled.
Change-Id: I40ffe294b8426421125fffd0a9758567d919a09d
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions