diff options
author | Matthieu Longo <matthieu.longo@arm.com> | 2024-02-23 14:52:58 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-02-27 12:46:15 +0000 |
commit | d6a14e41381d0aa0a99c6796d3bd3677c80dfe06 (patch) | |
tree | 2debfac102974462baae27f0cf67efe8535dfdd6 /include | |
parent | 54af729da143016b234750b88853209c142ae5e7 (diff) | |
download | gdb-d6a14e41381d0aa0a99c6796d3bd3677c80dfe06.zip gdb-d6a14e41381d0aa0a99c6796d3bd3677c80dfe06.tar.gz gdb-d6a14e41381d0aa0a99c6796d3bd3677c80dfe06.tar.bz2 |
aarch64: rename internals related to PAuth feature to use pauth in their naming for coherency
Hi,
Commits af1bd77 and 3f4ff08 introduced the Pointer Authentication feature with internal names that don't match the actual feature name pauth. The new feature PAuth_LR introduced in Armv9.5-A is an extension of the PAuth feature of Armv8.3-A. Using a different naming for it not based on the formerly "PAC" would create confusion.
Regression tested on aarch64-none-elf, and no regression found.
Ok for binutils-master? I don't have commit access so I need someone to commit on my behalf.
Regards,
Matthieu.
From 58b38358b2788939d81f2df7f5fb4c64a31ae06e Mon Sep 17 00:00:00 2001
From: Matthieu Longo <matthieu.longo@arm.com>
Date: Fri, 23 Feb 2024 11:30:40 +0000
Subject: [PATCH] aarch64: rename internals related to PAuth feature to use
pauth in their naming for coherency
Commits af1bd77 and 3f4ff08 introduced the Pointer Authentication feature
with internal names that don't match the actual feature name pauth. The new
feature PAuth_LR introduced in Armv9.5-A is an extension of the PAuth feature
of Armv8.3-A. Using a different naming for it not based on the formerly "PAC"
would create confusion.
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/aarch64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index 02ee0fc..f585265 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -70,7 +70,7 @@ enum aarch64_feature_bit { /* Atomic 64-byte load/store. */ AARCH64_FEATURE_LS64, /* v8.3 Pointer Authentication. */ - AARCH64_FEATURE_PAC, + AARCH64_FEATURE_PAUTH, /* FP instructions. */ AARCH64_FEATURE_FP, /* SIMD instructions. */ @@ -258,7 +258,7 @@ enum aarch64_feature_bit { | AARCH64_FEATBIT (X, RDMA)) #define AARCH64_ARCH_V8_2A_FEATURES(X) (AARCH64_FEATBIT (X, V8_2A)) #define AARCH64_ARCH_V8_3A_FEATURES(X) (AARCH64_FEATBIT (X, V8_3A) \ - | AARCH64_FEATBIT (X, PAC) \ + | AARCH64_FEATBIT (X, PAUTH) \ | AARCH64_FEATBIT (X, RCPC) \ | AARCH64_FEATBIT (X, COMPNUM) \ | AARCH64_FEATBIT (X, JSCVT)) |