diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-11-04 11:35:01 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2010-11-04 11:35:01 +0000 |
commit | e8b36cd1e57055ea2eb1e2ba2692f1ec520b34db (patch) | |
tree | 317666abafb1d4aa2ff281b3b31f9d8c59ecd8a8 /bfd/elfxx-target.h | |
parent | 608bcef2676e2019d046ff7a485c47fd0b8606bd (diff) | |
download | gdb-e8b36cd1e57055ea2eb1e2ba2692f1ec520b34db.zip gdb-e8b36cd1e57055ea2eb1e2ba2692f1ec520b34db.tar.gz gdb-e8b36cd1e57055ea2eb1e2ba2692f1ec520b34db.tar.bz2 |
* elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,
_bfd_elf_merge_unknown_attribute_list): New.
* elf-bfd.h (struct elf_backend_data): Add
obj_attrs_handle_unknown.
(_bfd_elf_merge_unknown_attribute_low,
_bfd_elf_merge_unknown_attribute_list): Declare.
* elf32-arm.c (elf32_arm_obj_attrs_handle_unknown): New. Split
out from elf32_arm_merge_eabi_attributes.
(elf32_arm_merge_eabi_attributes): Use
_bfd_elf_merge_unknown_attribute_low and
_bfd_elf_merge_unknown_attribute_list.
(elf_backend_obj_attrs_handle_unknown): Define.
* elfxx-target.h (elf_backend_obj_attrs_handle_unknown): Define.
(elfNN_bed): Update initializer.
Diffstat (limited to 'bfd/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index 6695afc..fab1b04 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -477,6 +477,9 @@ #ifndef elf_backend_obj_attrs_order #define elf_backend_obj_attrs_order NULL #endif +#ifndef elf_backend_obj_attrs_handle_unknown +#define elf_backend_obj_attrs_handle_unknown NULL +#endif #ifndef elf_backend_static_tls_alignment #define elf_backend_static_tls_alignment 1 #endif @@ -741,6 +744,7 @@ static struct elf_backend_data elfNN_bed = elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_order, + elf_backend_obj_attrs_handle_unknown, elf_backend_static_tls_alignment, elf_backend_collect, elf_backend_type_change_ok, |