gas, bfd, gold: Rename Arm v8/v9 architecture tags

Rename the Arm AEABI CPU architecture tag constants and macro definitions to include the
profile suffix for A-profile architectures. This makes the naming
consistent with existing v8-R and v8-M tag names, while preserving the
existing numeric tag values.

Update BFD, GAS and Gold usage accordingly, including attribute combination
tables, architecture checks, and mach selection.
This commit is contained in:
Sivan Shani 2026-05-26 11:48:25 +00:00
parent aa5685c0fa
commit ef9284847c
9 changed files with 136 additions and 136 deletions

View file

@ -108,16 +108,16 @@
#define TAG_CPU_ARCH_V6_M 11
#define TAG_CPU_ARCH_V6S_M 12
#define TAG_CPU_ARCH_V7E_M 13
#define TAG_CPU_ARCH_V8 14
#define TAG_CPU_ARCH_V8A 14
#define TAG_CPU_ARCH_V8R 15
#define TAG_CPU_ARCH_V8M_BASE 16
#define TAG_CPU_ARCH_V8M_MAIN 17
#define TAG_CPU_ARCH_8_1A 18
#define TAG_CPU_ARCH_8_2A 19
#define TAG_CPU_ARCH_8_3A 20
#define TAG_CPU_ARCH_V8_1A 18
#define TAG_CPU_ARCH_V8_2A 19
#define TAG_CPU_ARCH_V8_3A 20
#define TAG_CPU_ARCH_V8_1M_MAIN 21
#define TAG_CPU_ARCH_V9 22
#define MAX_TAG_CPU_ARCH TAG_CPU_ARCH_V9
#define TAG_CPU_ARCH_V9A 22
#define MAX_TAG_CPU_ARCH TAG_CPU_ARCH_V9A
/* Pseudo-architecture to allow objects to be compatible with the subset of
armv4t and armv6-m. This value should never be stored in object files. */
#define TAG_CPU_ARCH_V4T_PLUS_V6_M (MAX_TAG_CPU_ARCH + 1)