Lines Matching refs:vendor

74 vendor_obj_attr_name (bfd *abfd, int vendor)  in vendor_obj_attr_name()  argument
76 return (vendor == OBJ_ATTR_PROC in vendor_obj_attr_name()
85 vendor_obj_attr_size (bfd *abfd, int vendor) in vendor_obj_attr_size() argument
91 const char *vendor_name = vendor_obj_attr_name (abfd, vendor); in vendor_obj_attr_size()
96 attr = elf_known_obj_attributes (abfd)[vendor]; in vendor_obj_attr_size()
101 for (list = elf_other_obj_attributes (abfd)[vendor]; in vendor_obj_attr_size()
107 return ((size || vendor == OBJ_ATTR_PROC) in vendor_obj_attr_size()
171 int vendor) in vendor_set_obj_attr_contents() argument
177 const char *vendor_name = vendor_obj_attr_name (abfd, vendor); in vendor_set_obj_attr_contents()
189 attr = elf_known_obj_attributes (abfd)[vendor]; in vendor_set_obj_attr_contents()
198 for (list = elf_other_obj_attributes (abfd)[vendor]; in vendor_set_obj_attr_contents()
209 int vendor; in bfd_elf_set_obj_attr_contents() local
215 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++) in bfd_elf_set_obj_attr_contents()
217 bfd_vma vendor_size = vendor_obj_attr_size (abfd, vendor); in bfd_elf_set_obj_attr_contents()
219 vendor_set_obj_attr_contents (abfd, p, vendor_size, vendor); in bfd_elf_set_obj_attr_contents()
230 elf_new_obj_attr (bfd *abfd, int vendor, unsigned int tag) in elf_new_obj_attr() argument
241 attr = &elf_known_obj_attributes (abfd)[vendor][tag]; in elf_new_obj_attr()
251 lastp = &elf_other_obj_attributes (abfd)[vendor]; in elf_new_obj_attr()
268 bfd_elf_get_obj_attr_int (bfd *abfd, int vendor, unsigned int tag) in bfd_elf_get_obj_attr_int() argument
275 return elf_known_obj_attributes (abfd)[vendor][tag].i; in bfd_elf_get_obj_attr_int()
279 for (p = elf_other_obj_attributes (abfd)[vendor]; in bfd_elf_get_obj_attr_int()
294 bfd_elf_add_obj_attr_int (bfd *abfd, int vendor, unsigned int tag, unsigned int i) in bfd_elf_add_obj_attr_int() argument
298 attr = elf_new_obj_attr (abfd, vendor, tag); in bfd_elf_add_obj_attr_int()
299 attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag) | ATTR_TYPE_FLAG_EXIST; in bfd_elf_add_obj_attr_int()
317 bfd_elf_add_obj_attr_string (bfd *abfd, int vendor, unsigned int tag, const char *s) in bfd_elf_add_obj_attr_string() argument
321 attr = elf_new_obj_attr (abfd, vendor, tag); in bfd_elf_add_obj_attr_string()
322 attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag) | ATTR_TYPE_FLAG_EXIST; in bfd_elf_add_obj_attr_string()
328 bfd_elf_add_obj_attr_int_string (bfd *abfd, int vendor, in bfd_elf_add_obj_attr_int_string() argument
334 attr = elf_new_obj_attr (abfd, vendor, tag); in bfd_elf_add_obj_attr_int_string()
335 attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag) | ATTR_TYPE_FLAG_EXIST; in bfd_elf_add_obj_attr_int_string()
348 int vendor; in _bfd_elf_copy_obj_attributes() local
354 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++) in _bfd_elf_copy_obj_attributes()
357 = &elf_known_obj_attributes (ibfd)[vendor][LEAST_KNOWN_OBJ_ATTRIBUTE]; in _bfd_elf_copy_obj_attributes()
359 = &elf_known_obj_attributes (obfd)[vendor][LEAST_KNOWN_OBJ_ATTRIBUTE]; in _bfd_elf_copy_obj_attributes()
370 for (list = elf_other_obj_attributes (ibfd)[vendor]; in _bfd_elf_copy_obj_attributes()
378 bfd_elf_add_obj_attr_int (obfd, vendor, list->tag, in_attr->i); in _bfd_elf_copy_obj_attributes()
381 bfd_elf_add_obj_attr_string (obfd, vendor, list->tag, in _bfd_elf_copy_obj_attributes()
385 bfd_elf_add_obj_attr_int_string (obfd, vendor, list->tag, in _bfd_elf_copy_obj_attributes()
413 _bfd_elf_obj_attrs_arg_type (bfd *abfd, int vendor, unsigned int tag) in _bfd_elf_obj_attrs_arg_type() argument
415 switch (vendor) in _bfd_elf_obj_attrs_arg_type()
462 int vendor; in _bfd_elf_parse_attributes() local
477 vendor = OBJ_ATTR_PROC; in _bfd_elf_parse_attributes()
479 vendor = OBJ_ATTR_GNU; in _bfd_elf_parse_attributes()
522 type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag); in _bfd_elf_parse_attributes()
528 bfd_elf_add_obj_attr_int_string (abfd, vendor, tag, in _bfd_elf_parse_attributes()
533 bfd_elf_add_obj_attr_string (abfd, vendor, tag, in _bfd_elf_parse_attributes()
540 bfd_elf_add_obj_attr_int (abfd, vendor, tag, val); in _bfd_elf_parse_attributes()
578 int vendor; in _bfd_elf_merge_object_attributes() local
582 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++) in _bfd_elf_merge_object_attributes()
587 in_attr = &elf_known_obj_attributes (ibfd)[vendor][Tag_compatibility]; in _bfd_elf_merge_object_attributes()
588 out_attr = &elf_known_obj_attributes (obfd)[vendor][Tag_compatibility]; in _bfd_elf_merge_object_attributes()