Lines Matching refs:symbuf
280 coff_symbol_type *symbuf; in _bfd_xcoff_canonicalize_dynamic_symtab() local
305 symbuf = bfd_zalloc (abfd, ldhdr.l_nsyms * sizeof (* symbuf)); in _bfd_xcoff_canonicalize_dynamic_symtab()
306 if (symbuf == NULL) in _bfd_xcoff_canonicalize_dynamic_symtab()
312 for (; elsym < elsymend; elsym += bfd_xcoff_ldsymsz(abfd), symbuf++, psyms++) in _bfd_xcoff_canonicalize_dynamic_symtab()
318 symbuf->symbol.the_bfd = abfd; in _bfd_xcoff_canonicalize_dynamic_symtab()
321 symbuf->symbol.name = strings + ldsym._l._l_l._l_offset; in _bfd_xcoff_canonicalize_dynamic_symtab()
331 symbuf->symbol.name = c; in _bfd_xcoff_canonicalize_dynamic_symtab()
335 symbuf->symbol.section = bfd_abs_section_ptr; in _bfd_xcoff_canonicalize_dynamic_symtab()
337 symbuf->symbol.section = coff_section_from_bfd_index (abfd, in _bfd_xcoff_canonicalize_dynamic_symtab()
339 symbuf->symbol.value = ldsym.l_value - symbuf->symbol.section->vma; in _bfd_xcoff_canonicalize_dynamic_symtab()
341 symbuf->symbol.flags = BSF_NO_FLAGS; in _bfd_xcoff_canonicalize_dynamic_symtab()
345 symbuf->symbol.flags |= BSF_WEAK; in _bfd_xcoff_canonicalize_dynamic_symtab()
347 symbuf->symbol.flags |= BSF_GLOBAL; in _bfd_xcoff_canonicalize_dynamic_symtab()
352 *psyms = (asymbol *) symbuf; in _bfd_xcoff_canonicalize_dynamic_symtab()