diff options
author | Andrea Corallo <andrea.corallo@arm.com> | 2021-06-04 10:17:17 +0200 |
---|---|---|
committer | Andrea Corallo <andrea.corallo@arm.com> | 2021-07-26 14:18:24 +0200 |
commit | 5a0c7a819f1d40654f7e39c8ff73951723c3e1e8 (patch) | |
tree | a9902db320b9c7ef772f77ad6ab599b56841113e /include | |
parent | 2c6ccfcfdde1d4c1cbec86a1355bce09314e9b84 (diff) | |
download | gdb-5a0c7a819f1d40654f7e39c8ff73951723c3e1e8.zip gdb-5a0c7a819f1d40654f7e39c8ff73951723c3e1e8.tar.gz gdb-5a0c7a819f1d40654f7e39c8ff73951723c3e1e8.tar.bz2 |
PATCH [6/10] arm: Add -march=armv8.1-m.main+pacbti flag
gas/
2021-06-11 Andrea Corallo <andrea.corallo@arm.com>
* config/tc-arm.c (pacbti_ext): Define.
(BAD_PACBTI): New macro.
(armv8_1m_main_ext_table): Add 'pacbti' extension.
include/
2021-06-11 Andrea Corallo <andrea.corallo@arm.com>
* opcode/arm.h (ARM_EXT3_PACBTI, ARM_AEXT3_V8_1M_MAIN_PACBTI): New
macro.
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/arm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/opcode/arm.h b/include/opcode/arm.h index 1152e78..4a6044f 100644 --- a/include/opcode/arm.h +++ b/include/opcode/arm.h @@ -90,6 +90,11 @@ #define ARM_EXT2_CDE7 0x40000000 /* Using CDE coproc 7. */ #define ARM_EXT2_V8R 0x80000000 /* Arm V8R. */ +#define ARM_EXT3_PACBTI 0x00000001 /* Arm v8-M Mainline Pointer + Authentication and Branch + Target Identification + Extension. */ + /* Co-processor space extensions. */ #define ARM_CEXT_XSCALE 0x00000001 /* Allow MIA etc. */ #define ARM_CEXT_MAVERICK 0x00000002 /* Use Cirrus/DSP coprocessor. */ @@ -197,6 +202,8 @@ #define ARM_AEXT2_V8_1M_MAIN (ARM_AEXT2_V8M_MAIN | ARM_EXT2_V8_1M_MAIN \ | ARM_EXT2_FP16_INST) +#define ARM_AEXT3_V8_1M_MAIN_PACBTI (ARM_AEXT2_V8M_MAIN | ARM_EXT3_PACBTI) + /* Processors with specific extensions in the co-processor space. */ #define ARM_ARCH_XSCALE ARM_FEATURE_LOW (ARM_AEXT_V5TE, ARM_CEXT_XSCALE) #define ARM_ARCH_IWMMXT \ |