Searched refs:shndx (Results 1 – 2 of 2) sorted by relevance
180 static inline unsigned int get_secindex(unsigned int shndx, in get_secindex() argument184 if (is_shndx_special(shndx)) in get_secindex()185 return SPECIAL(shndx); in get_secindex()186 if (shndx != SHN_XINDEX) in get_secindex()187 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()