Searched refs:shndx (Results 1 – 2 of 2) sorted by relevance
177 static inline unsigned int get_secindex(unsigned int shndx, in get_secindex() argument181 if (is_shndx_special(shndx)) in get_secindex()182 return SPECIAL(shndx); in get_secindex()183 if (shndx != SHN_XINDEX) in get_secindex()184 return shndx; in get_secindex()
195 unsigned short shndx = w2(sym->st_shndx); in get_symindex() local198 if (shndx > SHN_UNDEF && shndx < SHN_LORESERVE) in get_symindex()199 return shndx; in get_symindex()201 if (shndx == SHN_XINDEX) { in get_symindex()