Lines Matching defs:sym
161 ElfXX_Sym* sym,
167 switch (ELFXX_ST_BIND(sym->st_info)) {
175 switch (ELFXX_ST_TYPE(sym->st_info)) {
186 if (sym->st_name)
189 sym_svma, space, sym->st_size + 0UL,
196 /* Decide whether SYM is something we should collect, and if so, copy
227 ElfXX_Sym* sym, /* ELF symbol */
263 the size be 1. Note that sym->st_size has type UWord,
265 { Word size_tmp = (Word)sym->st_size;
272 sym->st_size. */
277 = (ELFXX_ST_BIND(sym->st_info) == STB_GLOBAL
278 || ELFXX_ST_BIND(sym->st_info) == STB_LOCAL
279 || ELFXX_ST_BIND(sym->st_info) == STB_WEAK
282 (ELFXX_ST_TYPE(sym->st_info) == STT_FUNC
283 || ELFXX_ST_TYPE(sym->st_info) == STT_OBJECT
285 || ELFXX_ST_TYPE(sym->st_info) == STT_GNU_IFUNC
372 && ELFXX_ST_TYPE(sym->st_info) == STT_GNU_IFUNC) {
383 && ELFXX_ST_TYPE(sym->st_info) == STT_NOTYPE
439 if ((Int)sym->st_value == 0) {
714 ElfXX_Sym sym;
715 ML_(img_get)(&sym, escn_symtab->img,
716 escn_symtab->ioff + i * sizeof(ElfXX_Sym), sizeof(sym));
717 DiOffT sym_name = escn_strtab->ioff + sym.st_name;
718 Addr sym_svma = sym.st_value;
722 &sym, sym_name, sym_svma, False);
729 if (get_elf_symbol_info(di, &sym, sym_name, escn_strtab,
845 ElfXX_Sym sym;
846 ML_(img_get)(&sym, escn_symtab->img,
847 escn_symtab->ioff + i * sizeof(ElfXX_Sym), sizeof(sym));
848 DiOffT sym_name = escn_strtab->ioff + sym.st_name;
849 Addr sym_svma = sym.st_value;
853 &sym, sym_name, sym_svma, True);
862 if (get_elf_symbol_info(di, &sym, sym_name, escn_strtab,
899 used. Since the existing sym is non-toc, it