diff options
author | Sudakshina Das <sudi.das@arm.com> | 2019-03-20 18:00:07 +0000 |
---|---|---|
committer | Sudakshina Das <sudi.das@arm.com> | 2019-03-20 18:00:07 +0000 |
commit | acde6c6b431a8c38ab18a47bb56f65f515448195 (patch) | |
tree | 740773cde84a46bcee9e079f9567d91d8d3f641d /bfd/elfxx-aarch64.h | |
parent | 48869a5f9c439dc8f5cb47b8d5bada77b4c3c2cb (diff) | |
download | gdb-acde6c6b431a8c38ab18a47bb56f65f515448195.zip gdb-acde6c6b431a8c38ab18a47bb56f65f515448195.tar.gz gdb-acde6c6b431a8c38ab18a47bb56f65f515448195.tar.bz2 |
[BFD, AArch64] Define elf_backend_fixup_gnu_properties in AArch64
This patch add support for elf_backend_fixup_gnu_properties for GNU
property support for AArch64. The new AArch64 specific definition
_bfd_aarch64_elf_link_fixup_gnu_properties goes through the property
list to find AArch64 type properties and removes the properties that
are marked as "property_remove".
*** bfd/ChangeLog ***
2019-03-20 Sudakshina Das <sudi.das@arm.com>
* elfxx-aarch64.c (_bfd_aarch64_elf_link_fixup_gnu_properties): Define.
* elfxx-aarch64.h (_bfd_aarch64_elf_link_fixup_gnu_properties): Declare.
(elf_backend_fixup_gnu_properties): Define for AArch64.
Diffstat (limited to 'bfd/elfxx-aarch64.h')
-rw-r--r-- | bfd/elfxx-aarch64.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/elfxx-aarch64.h b/bfd/elfxx-aarch64.h index a6d1792..9ab13bb 100644 --- a/bfd/elfxx-aarch64.h +++ b/bfd/elfxx-aarch64.h @@ -69,5 +69,12 @@ _bfd_aarch64_elf_merge_gnu_properties (struct bfd_link_info *, bfd *, elf_property *, elf_property *, uint32_t); +extern void +_bfd_aarch64_elf_link_fixup_gnu_properties (struct bfd_link_info *, + elf_property_list **); + #define elf_backend_parse_gnu_properties \ _bfd_aarch64_elf_parse_gnu_properties + +#define elf_backend_fixup_gnu_properties \ + _bfd_aarch64_elf_link_fixup_gnu_properties |