Home | History | Annotate | Download | only in tests

Lines Matching full:shdr

182       GElf_Shdr *shdr;
192 shdr = gelf_getshdr (scn, &shdr_mem);
193 if (shdr == NULL)
201 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name),
205 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name),
210 if (shdr->sh_type != (cnt == 2 ? SHT_STRTAB : SHT_PROGBITS))
216 if ((cnt == 1 && shdr->sh_flags != (SHF_ALLOC | SHF_WRITE))
217 || (cnt == 2 && shdr->sh_flags != 0))
223 if (shdr->sh_addr != 0)
229 if ((cnt == 1 && shdr->sh_offset != ((sizeof (Elf32_Ehdr) + 15) & ~15))
231 && shdr->sh_offset != (((sizeof (Elf32_Ehdr) + 15) & ~15)
240 if ((cnt == 1 && shdr->sh_size != (strlen ("one") + 1
243 || (cnt == 2 && shdr->sh_size != 17))
249 if (shdr->sh_link != 0)
255 if (shdr->sh_info != 0)
261 if ((cnt == 1 && shdr->sh_addralign != 16)
262 || (cnt != 1 && shdr->sh_addralign != 1))
268 if (shdr->sh_entsize != 0)