ELF for the 64-bit Arm Architecture defines two processor-specific dynamic tags:
- DT_AARCH64_BTI_PLT 0x70000001, d_val
- DT_AARCH64_PAC_PLT 0x70000003, d_val
These presence of these tags indicate that PLT sequences have been protected using Branch Target Identification and Pointer Authentication respectively. The presence of both indicates that the PLT sequences have been protected with both Branch Target Identification and Pointer Authentication.
This patch adds the tags and tests for llvm-readobj and yaml2obj.
ELF for the 64-bit Arm Architecture containing definitions of the tags can be found at: https://developer.arm.com/docs/ihi0056/latest/elf-for-the-arm-64-bit-architecture-aarch64-abi-2019q1-documentation