PATCH [4/4] arm: Add Tag_PACRET_use build attribute

bfd/
2021-07-06  Andrea Corallo  <andrea.corallo@arm.com>

	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Add
	'Tag_PACRET_use' 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_PACRET_use' enum.

gas/
2021-07-06  Andrea Corallo  <andrea.corallo@arm.com>

	* config/tc-arm.c (arm_convert_symbolic_attribute): Add
	'Tag_PACRET_use' to the attribute_table.

include/
2021-07-06  Andrea Corallo  <andrea.corallo@arm.com>

	* elf/arm.h (elf_arm_reloc_type): Add 'Tag_PACRET_use'.
This commit is contained in:
Andrea Corallo
2021-07-05 17:27:00 +02:00
parent b81ee92f03
commit c9fed6655f
5 changed files with 9 additions and 0 deletions

View File

@ -16153,6 +16153,10 @@ static const char * arm_attr_tag_BTI_use[] =
{"Compiled without branch target enforcement",
"Compiled with branch target enforcement"};
static const char * arm_attr_tag_PACRET_use[] =
{"Compiled without return address signing and authentication",
"Compiled with return address signing and authentication"};
#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[] =
@ -16196,6 +16200,7 @@ static arm_attr_public_tag arm_attr_public_tags[] =
LOOKUP(50, PAC_extension),
LOOKUP(52, BTI_extension),
LOOKUP(74, BTI_use),
LOOKUP(76, PACRET_use),
{64, "nodefaults", 0, NULL},
{65, "also_compatible_with", 0, NULL},
LOOKUP(66, T2EE_use),