* elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,
authorJoseph Myers <joseph@codesourcery.com>
Thu, 4 Nov 2010 11:35:01 +0000 (11:35 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 4 Nov 2010 11:35:01 +0000 (11:35 +0000)
commite8b36cd1e57055ea2eb1e2ba2692f1ec520b34db
tree317666abafb1d4aa2ff281b3b31f9d8c59ecd8a8
parent608bcef2676e2019d046ff7a485c47fd0b8606bd
* 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.
bfd/ChangeLog
bfd/elf-attrs.c
bfd/elf-bfd.h
bfd/elf32-arm.c
bfd/elfxx-target.h