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];
253 lastp = &elf_other_obj_attributes (abfd)[vendor];
270 bfd_elf_get_obj_attr_int (bfd *abfd, int vendor, unsigned int tag)
277 return elf_known_obj_attributes (abfd)[vendor][tag].i;
281 for (p = elf_other_obj_attributes (abfd)[vendor];
296 bfd_elf_add_obj_attr_int (bfd *abfd, int vendor, unsigned int tag, unsigned int i)
300 attr = elf_new_obj_attr (abfd, vendor, tag);
301 attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag);
334 elf_add_obj_attr_string (bfd *abfd, int vendor, unsigned int tag,
339 attr = elf_new_obj_attr (abfd, vendor, tag);
340 attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag);
345 bfd_elf_add_obj_attr_string (bfd *abfd, int vendor, unsigned int tag,
348 elf_add_obj_attr_string (abfd, vendor, tag, s, NULL);
353 elf_add_obj_attr_int_string (bfd *abfd, int vendor, unsigned int tag,
358 attr = elf_new_obj_attr (abfd, vendor, tag);
359 attr->type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag);
365 bfd_elf_add_obj_attr_int_string (bfd *abfd, int vendor, unsigned int tag,
368 elf_add_obj_attr_int_string (abfd, vendor, tag, i, s, NULL);
379 int vendor;
385 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++)
388 = &elf_known_obj_attributes (ibfd)[vendor][LEAST_KNOWN_OBJ_ATTRIBUTE];
390 = &elf_known_obj_attributes (obfd)[vendor][LEAST_KNOWN_OBJ_ATTRIBUTE];
401 for (list = elf_other_obj_attributes (ibfd)[vendor];
409 bfd_elf_add_obj_attr_int (obfd, vendor, list->tag, in_attr->i);
412 bfd_elf_add_obj_attr_string (obfd, vendor, list->tag,
416 bfd_elf_add_obj_attr_int_string (obfd, vendor, list->tag,
444 _bfd_elf_obj_attrs_arg_type (bfd *abfd, int vendor, unsigned int tag)
446 switch (vendor)
503 int vendor;
523 vendor = OBJ_ATTR_PROC;
525 vendor = OBJ_ATTR_GNU;
528 /* Other vendor section. Ignore it. */
568 type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag);
573 elf_add_obj_attr_int_string (abfd, vendor, tag, val,
581 elf_add_obj_attr_string (abfd, vendor, tag,
590 bfd_elf_add_obj_attr_int (abfd, vendor, tag, val);
628 int vendor;
632 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++)
637 in_attr = &elf_known_obj_attributes (ibfd)[vendor][Tag_compatibility];
638 out_attr = &elf_known_obj_attributes (obfd)[vendor][Tag_compatibility];
644 (_("error: %pB: object has vendor-specific contents that "