Lines Matching refs:sym
358 Elf_Sym sym = Elf_Sym(); in Add() local
359 sym.st_name = name; in Add()
360 sym.st_value = addr; in Add()
361 sym.st_size = size; in Add()
362 sym.st_other = 0; in Add()
363 sym.st_info = (binding << 4) + (type & 0xf); in Add()
364 Add(sym, section); in Add()
368 void Add(Elf_Sym sym, const Section* section) { in Add() argument
370 DCHECK_LE(section->GetAddress(), sym.st_value); in Add()
371 DCHECK_LE(sym.st_value, section->GetAddress() + section->header_.sh_size); in Add()
372 sym.st_shndx = section->GetSectionIndex(); in Add()
373 syms_.push_back(sym); in Add()
379 auto is_local = [](const Elf_Sym& sym) { return ELF_ST_BIND(sym.st_info) == STB_LOCAL; }; in WriteCachedSection()