[PATCH 1/2][Aarch64][binutils] Add support for PAN architecture extension.
Matthew Wahab
matthew.wahab@arm.com
Wed May 20 12:18:00 GMT 2015
The ARMv8.1 architecture introduced the Privileged Access Never extension. This
adds a processor state field PSTATE.PAN which can be accessed using the MRS/MSR
instructions.
This patch adds support for the PAN architecture feature and processor state
field to binutils. A following patch will add support to GAS.
Tested for aarch64-none-linux-gnu with check-binutils and check-gas with no
failures.
Ok for trunk?
include/opcode
2015-05-20 Matthew Wahab <matthew.wahab@arm.com>
* aarch64.h (AARCH64_FEATURE_PAN): New.
(aarch64_sys_reg_supported_p): Declare.
(aarch64_pstatefield_supported_p): Declare.
opcodes/
2015-05-20 Matthew Wahab <matthew.wahab@arm.com>
* aarch64-opc.c (F_ARCHEXT): New.
(aarch64_sys_regs): Add "pan".
(aarch64_sys_reg_supported_p): New.
(aarch64_pstatefields): Add "pan".
(aarch64_pstatefield_supported_p): New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-binutils-support-for-PAN-extension.patch
Type: text/x-patch
Size: 3659 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150520/194f80c9/attachment.bin>
More information about the Binutils
mailing list