Lines Matching defs:sh
136 GElf_Shdr sh;
152 if (gelf_getshdr(scn, &sh) == NULL) {
157 if ((sh.sh_type != SHT_REL && sh.sh_type != SHT_RELA) ||
158 sh.sh_size == 0)
161 if (sh.sh_info == shndx && sh.sh_link == symtab) {
186 if (sh.sh_type == SHT_REL)
258 GElf_Shdr *es, sh;
310 if (gelf_getshdr(scn, &sh) == NULL) {
316 if (sh.sh_type == SHT_NOBITS)
319 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) ==
366 if (gelf_getshdr(scn, &sh) == NULL) {
372 if (sh.sh_type == SHT_NOBITS)
375 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) ==
384 memcpy(es, &sh, sizeof(sh));
400 if ((sh.sh_flags & SHF_COMPRESSED) != 0) {