diff options
author | Andrea Corallo <andrea.corallo@arm.com> | 2021-06-30 09:37:12 +0200 |
---|---|---|
committer | Andrea Corallo <andrea.corallo@arm.com> | 2021-08-17 14:49:42 +0200 |
commit | 99db83d07d1926fd2b1f287e474a125f24887d9b (patch) | |
tree | 96820b9af5edfce8369f2ef716adf417e7a4610c /binutils/readelf.c | |
parent | faca1a42d3f5fd123945a367d190cac15926b15c (diff) | |
download | gdb-99db83d07d1926fd2b1f287e474a125f24887d9b.zip gdb-99db83d07d1926fd2b1f287e474a125f24887d9b.tar.gz gdb-99db83d07d1926fd2b1f287e474a125f24887d9b.tar.bz2 |
PATCH [1/4] arm: Add Tag_PAC_extension build attribute
bfd/
2021-07-06 Andrea Corallo <andrea.corallo@arm.com>
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Add
'Tag_PAC_extension' case.
binutils/
2021-07-06 Andrea Corallo <andrea.corallo@arm.com>
* readelf.c (arm_attr_tag_PAC_extension): Declare.
(arm_attr_public_tags): Add 'PAC_extension' lookup.
elfcpp/
2021-07-06 Andrea Corallo <andrea.corallo@arm.com>
* arm.h: Define 'Tag_PAC_extension' enum.
gas/
2021-07-06 Andrea Corallo <andrea.corallo@arm.com>
* config/tc-arm.c (arm_convert_symbolic_attribute): Add
'Tag_PAC_extension' to the attribute_table.
include/
2021-07-06 Andrea Corallo <andrea.corallo@arm.com>
* elf/arm.h (elf_arm_reloc_type): Add 'Tag_PAC_extension'.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index bedd389..d38a07f 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -16139,6 +16139,11 @@ static const char *const arm_attr_tag_MPextension_use_legacy[] = static const char *const arm_attr_tag_MVE_arch[] = {"No MVE", "MVE Integer only", "MVE Integer and FP"}; +static const char * arm_attr_tag_PAC_extension[] = + {"No PAC/AUT instructions", + "PAC/AUT instructions permitted in the NOP space", + "PAC/AUT instructions permitted in the NOP and in the non-NOP space"}; + #define LOOKUP(id, name) \ {id, #name, 0x80 | ARRAY_SIZE(arm_attr_tag_##name), arm_attr_tag_##name} static arm_attr_public_tag arm_attr_public_tags[] = @@ -16179,6 +16184,7 @@ static arm_attr_public_tag arm_attr_public_tags[] = LOOKUP(44, DIV_use), LOOKUP(46, DSP_extension), LOOKUP(48, MVE_arch), + LOOKUP(50, PAC_extension), {64, "nodefaults", 0, NULL}, {65, "also_compatible_with", 0, NULL}, LOOKUP(66, T2EE_use), |