A previous refactoring patch [1] introduced "build_attributes" in the
functions naming. However this naming is specific to the AArch64 Build
Attributes specification, and should be replaced by "object_attributes"
going forward.
[1]:
011e50143f0ec1be271f93facb56def9394947d2
return result;
}
-bool _bfd_elf_write_section_build_attributes (bfd *abfd,
- struct bfd_link_info *info ATTRIBUTE_UNUSED)
+bool _bfd_elf_write_section_object_attributes
+ (bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED)
{
- asection *sec = elf_obj_build_attributes (abfd);
+ asection *sec = elf_obj_object_attributes (abfd);
if (sec == NULL)
return true;
created. */
asection *sframe;
- /* Holds the build attributes section if it exists. */
- asection *obj_build_attributes;
+ /* Holds the object attributes section if it exists. */
+ asection *obj_object_attributes;
/* Used to determine if the e_flags field has been initialized */
bool flags_init;
#define elf_next_file_pos(bfd) (elf_tdata(bfd) -> o->next_file_pos)
#define elf_stack_flags(bfd) (elf_tdata(bfd) -> o->stack_flags)
#define elf_sframe(bfd) (elf_tdata(bfd) -> o->sframe)
-#define elf_obj_build_attributes(bfd) \
- (elf_tdata(bfd) -> o->obj_build_attributes)
+#define elf_obj_object_attributes(bfd) \
+ (elf_tdata(bfd) -> o->obj_object_attributes)
#define elf_shstrtab(bfd) (elf_tdata(bfd) -> o->strtab_ptr)
#define elf_onesymtab(bfd) (elf_tdata(bfd) -> symtab_section)
#define elf_symtab_shndx_list(bfd) (elf_tdata(bfd) -> symtab_shndx_list)
_bfd_elf_compute_section_file_positions. */
bfd_set_section_size (o, attr_size);
if (attr_size > 0)
- elf_obj_build_attributes (abfd) = o;
+ elf_obj_object_attributes (abfd) = o;
else
remove_section = true;
}
if (! _bfd_elf_write_section_sframe (abfd, info))
goto error_return;
- if (! _bfd_elf_write_section_build_attributes (abfd, info))
+ if (! _bfd_elf_write_section_object_attributes (abfd, info))
goto error_ret2;
if (info->callbacks->emit_ctf)