Lines Matching refs:vendor

70 /* Return the vendor name for a given object attributes section.  */
72 vendor_obj_attr_name (bfd *abfd, int vendor)
74 return (vendor == OBJ_ATTR_PROC
81 for that vendor to record and the vendor is OBJ_ATTR_GNU. */
83 vendor_obj_attr_size (bfd *abfd, int vendor)
89 const char *vendor_name = vendor_obj_attr_name (abfd, vendor);
94 attr = elf_known_obj_attributes (abfd)[vendor];
99 for (list = elf_other_obj_attributes (abfd)[vendor];
105 return ((size || vendor == OBJ_ATTR_PROC)
119 /* 'A' <sections for each vendor> */
169 int vendor)
175 const char *vendor_name = vendor_obj_attr_name (abfd, vendor);
187 attr = elf_known_obj_attributes (abfd)[vendor];
191 for (list = elf_other_obj_attributes (abfd)[vendor];
202 int vendor;
208 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++)
210 bfd_vma vendor_size = vendor_obj_attr_size (abfd, vendor);
212 vendor_set_obj_attr_contents (abfd, p, vendor_size, vendor);
223 elf_new_obj_attr (bfd *abfd, int vendor, int tag)
234 attr = &elf_known_obj_attributes (abfd)[vendor][tag];
244 lastp = &elf_other_obj_attributes (abfd)[vendor];
261 bfd_elf_get_obj_attr_int (bfd *abfd, int vendor, int tag)
268 return elf_known_obj_attributes (abfd)[vendor][tag].i;
272 for (p = elf_other_obj_attributes (abfd)[vendor];
287 bfd_elf_add_obj_attr_int (bfd *abfd, int vendor, int tag, unsigned int i)
291 attr = elf_new_obj_attr (abfd, vendor, tag);
310 bfd_elf_add_obj_attr_string (bfd *abfd, int vendor, int tag, const char *s)
314 attr = elf_new_obj_attr (abfd, vendor, tag);
321 bfd_elf_add_obj_attr_compat (bfd *abfd, int vendor, unsigned int i,
336 lastp = &elf_other_obj_attributes (abfd)[vendor];
359 int vendor;
361 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++)
363 in_attr = &elf_known_obj_attributes (ibfd)[vendor][4];
364 out_attr = &elf_known_obj_attributes (obfd)[vendor][4];
375 for (list = elf_other_obj_attributes (ibfd)[vendor];
383 bfd_elf_add_obj_attr_int (obfd, vendor, list->tag, in_attr->i);
386 bfd_elf_add_obj_attr_string (obfd, vendor, list->tag,
390 bfd_elf_add_obj_attr_compat (obfd, vendor, in_attr->i,
418 _bfd_elf_obj_attrs_arg_type (bfd *abfd, int vendor, int tag)
420 switch (vendor)
460 int vendor;
470 vendor = OBJ_ATTR_PROC;
472 vendor = OBJ_ATTR_GNU;
475 /* Other vendor section. Ignore it. */
507 type = _bfd_elf_obj_attrs_arg_type (abfd, vendor, tag);
513 bfd_elf_add_obj_attr_compat (abfd, vendor, val,
518 bfd_elf_add_obj_attr_string (abfd, vendor, tag,
525 bfd_elf_add_obj_attr_int (abfd, vendor, tag, val);
565 int vendor;
569 for (vendor = OBJ_ATTR_FIRST; vendor <= OBJ_ATTR_LAST; vendor++)
571 in_list = elf_other_obj_attributes (ibfd)[vendor];
572 out_list = elf_other_obj_attributes (ibfd)[vendor];