Lines Matching defs:vendor

74 /* Return the vendor name for a given object attributes section.  */
76 vendor_obj_attr_name (bfd *abfd, int vendor)
78 return (vendor == OBJ_ATTR_PROC
85 for that vendor to record and the vendor is OBJ_ATTR_GNU. */
87 vendor_obj_attr_size (bfd *abfd, int vendor)
93 const char *vendor_name = vendor_obj_attr_name (abfd, vendor);
98 attr = elf_known_obj_attributes (abfd)[vendor];
103 for (list = elf_other_obj_attributes (abfd)[vendor];
123 /* 'A' <sections for each vendor> */
173 int vendor)
179 const char *vendor_name = vendor_obj_attr_name (abfd, vendor);
191 attr = elf_known_obj_attributes (abfd)[vendor];
200 for (list = elf_other_obj_attributes (abfd)[vendor];
211 int vendor;
217 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++)
219 bfd_vma vendor_size = vendor_obj_attr_size (abfd, vendor);
221 vendor_set_obj_attr_contents (abfd, p, vendor_size, vendor);
232 elf_new_obj_attr (bfd *abfd, int vendor, unsigned int tag)
243 attr = &elf_known_obj_attributes (abfd)[vendor][tag];
255 lastp = &elf_other_obj_attributes (abfd)[vendor];
272 bfd_elf_get_obj_attr_int (bfd *abfd, int vendor, unsigned int tag)
279 return elf_known_obj_attributes (abfd)[vendor][tag].i;
283 for (p = elf_other_obj_attributes (abfd)[vendor];
298 bfd_elf_add_obj_attr_int (bfd *abfd, int vendor, unsigned int tag, unsigned int i)
302 attr = elf_new_obj_attr (abfd, vendor, tag);
305 attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag);
340 elf_add_obj_attr_string (bfd *abfd, int vendor, unsigned int tag,
345 attr = elf_new_obj_attr (abfd, vendor, tag);
348 attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag);
357 bfd_elf_add_obj_attr_string (bfd *abfd, int vendor, unsigned int tag,
360 return elf_add_obj_attr_string (abfd, vendor, tag, s, NULL);
365 elf_add_obj_attr_int_string (bfd *abfd, int vendor, unsigned int tag,
370 attr = elf_new_obj_attr (abfd, vendor, tag);
373 attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag);
383 bfd_elf_add_obj_attr_int_string (bfd *abfd, int vendor, unsigned int tag,
386 return elf_add_obj_attr_int_string (abfd, vendor, tag, i, s, NULL);
397 int vendor;
403 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++)
406 = &elf_known_obj_attributes (ibfd)[vendor][LEAST_KNOWN_OBJ_ATTRIBUTE];
408 = &elf_known_obj_attributes (obfd)[vendor][LEAST_KNOWN_OBJ_ATTRIBUTE];
423 for (list = elf_other_obj_attributes (ibfd)[vendor];
432 ok = bfd_elf_add_obj_attr_int (obfd, vendor,
436 ok = bfd_elf_add_obj_attr_string (obfd, vendor, list->tag,
440 ok = bfd_elf_add_obj_attr_int_string (obfd, vendor, list->tag,
470 _bfd_elf_obj_attrs_arg_type (bfd *abfd, int vendor, unsigned int tag)
472 switch (vendor)
529 int vendor;
549 vendor = OBJ_ATTR_PROC;
551 vendor = OBJ_ATTR_GNU;
554 /* Other vendor section. Ignore it. */
595 type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag);
600 ok = elf_add_obj_attr_int_string (abfd, vendor, tag,
608 ok = elf_add_obj_attr_string (abfd, vendor, tag,
617 ok = bfd_elf_add_obj_attr_int (abfd, vendor, tag, val);
657 int vendor;
661 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++)
666 in_attr = &elf_known_obj_attributes (ibfd)[vendor][Tag_compatibility];
667 out_attr = &elf_known_obj_attributes (obfd)[vendor][Tag_compatibility];
673 (_("error: %pB: object has vendor-specific contents that "