Lines Matching defs:shdr
175 GElf_Shdr *shdr;
185 shdr = gelf_getshdr (scn, &shdr_mem);
186 if (shdr == NULL)
194 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name),
198 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name),
203 if (shdr->sh_type != scntypes[cnt])
209 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE))
210 || (cnt != 1 && shdr->sh_flags != 0))
216 if (shdr->sh_addr != 0)
226 if (shdr->sh_link != 2)
243 inner < (shdr->sh_size
284 elf_strptr (elf, shdr->sh_link,