Searched refs:shndx (Results 1 – 3 of 3) sorted by relevance
184 static inline unsigned int get_secindex(unsigned int shndx, in get_secindex() argument188 if (is_shndx_special(shndx)) in get_secindex()189 return SPECIAL(shndx); in get_secindex()190 if (shndx != SHN_XINDEX) in get_secindex()191 return shndx; in get_secindex()
237 static const char *sec_name(unsigned shndx) in sec_name() argument243 if (shndx < ehdr.e_shnum) { in sec_name()244 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()246 else if (shndx == SHN_ABS) { in sec_name()249 else if (shndx == SHN_COMMON) { in sec_name()
1424 Elf32_Word shndx; in debuginfo__get_text_offset() local1440 p = dwfl_module_relocation_info(dbg->mod, i, &shndx); in debuginfo__get_text_offset()1443 scn = elf_getscn(elf, shndx); in debuginfo__get_text_offset()