Lines Matching refs:sym_idx

191 	size_t sym_idx = 0;  in e32_get_sym_name()  local
194 sym_idx = ELF32_R_SYM(rel->r_info); in e32_get_sym_name()
195 if (sym_idx >= num_syms) in e32_get_sym_name()
197 sym_idx = confine_array_index(sym_idx, num_syms); in e32_get_sym_name()
199 name_idx = sym_tab[sym_idx].st_name; in e32_get_sym_name()
230 size_t sym_idx = 0; in e32_tls_get_module() local
232 sym_idx = ELF32_R_SYM(rel->r_info); in e32_tls_get_module()
233 if (sym_idx >= num_syms) in e32_tls_get_module()
235 sym_idx = confine_array_index(sym_idx, num_syms); in e32_tls_get_module()
236 if (!sym_idx || sym_tab[sym_idx].st_shndx != SHN_UNDEF) { in e32_tls_get_module()
327 size_t sym_idx = 0; in e32_relocate() local
345 sym_idx = ELF32_R_SYM(rel->r_info); in e32_relocate()
346 if (sym_idx >= num_syms) in e32_relocate()
349 if (sym_tab[sym_idx].st_shndx == SHN_UNDEF) { in e32_relocate()
355 sym_tab[sym_idx].st_value; in e32_relocate()
359 sym_idx = ELF32_R_SYM(rel->r_info); in e32_relocate()
360 if (sym_idx >= num_syms) in e32_relocate()
363 *where += sym_tab[sym_idx].st_value - rel->r_offset; in e32_relocate()
405 size_t sym_idx = 0; in e64_get_sym_name() local
408 sym_idx = ELF64_R_SYM(rela->r_info); in e64_get_sym_name()
409 if (sym_idx >= num_syms) in e64_get_sym_name()
411 sym_idx = confine_array_index(sym_idx, num_syms); in e64_get_sym_name()
413 name_idx = sym_tab[sym_idx].st_name; in e64_get_sym_name()
438 size_t sym_idx = 0; in e64_process_tls_tprel_rela() local
441 sym_idx = ELF64_R_SYM(rela->r_info); in e64_process_tls_tprel_rela()
442 if (sym_idx) { in e64_process_tls_tprel_rela()
554 size_t sym_idx = 0; in e64_relocate() local
572 sym_idx = ELF64_R_SYM(rela->r_info); in e64_relocate()
573 if (sym_idx >= num_syms) in e64_relocate()
576 sym_idx = confine_array_index(sym_idx, num_syms); in e64_relocate()
577 if (sym_tab[sym_idx].st_shndx == SHN_UNDEF) { in e64_relocate()
583 sym_tab[sym_idx].st_value; in e64_relocate()