Searched refs:shndx (Results 1 – 4 of 4) 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()
91 static const char *sec_name(unsigned shndx) in sec_name() argument97 if (shndx < ehdr.e_shnum) in sec_name()98 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()99 else if (shndx == SHN_ABS) in sec_name()101 else if (shndx == SHN_COMMON) in sec_name()
239 static const char *sec_name(unsigned shndx) in sec_name() argument245 if (shndx < ehdr.e_shnum) { in sec_name()246 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name()248 else if (shndx == SHN_ABS) { in sec_name()251 else if (shndx == SHN_COMMON) { in sec_name()
1508 Elf32_Word shndx; in debuginfo__get_text_offset() local1524 p = dwfl_module_relocation_info(dbg->mod, i, &shndx); in debuginfo__get_text_offset()1527 scn = elf_getscn(elf, shndx); in debuginfo__get_text_offset()