Lines Matching full:shdr1
249 GElf_Shdr *shdr1;
254 shdr1 = gelf_getshdr (scn1, &shdr1_mem);
255 if (shdr1 != NULL)
256 sname1 = elf_strptr (elf1, ehdr1->e_shstrndx, shdr1->sh_name);
259 && ebl_section_strip_p (ebl1, ehdr1, shdr1, sname1, true, false));
277 if (gaps != gaps_ignore && (shdr1->sh_flags & SHF_ALLOC) != 0)
280 newp->from = shdr1->sh_offset;
281 newp->to = shdr1->sh_offset + shdr1->sh_size;
303 if (shdr1->sh_type != shdr2->sh_type
305 || shdr1->sh_flags != shdr2->sh_flags
306 || shdr1->sh_addr != shdr2->sh_addr
307 || (shdr1->sh_offset != shdr2->sh_offset
308 && (shdr1->sh_flags & SHF_ALLOC)
310 || shdr1->sh_size != shdr2->sh_size
311 || shdr1->sh_link != shdr2->sh_link
312 || shdr1->sh_info != shdr2->sh_info
313 || shdr1->sh_addralign != shdr2->sh_addralign
314 || shdr1->sh_entsize != shdr2->sh_entsize)
333 switch (shdr1->sh_type)
337 if (shdr1->sh_entsize == 0)
344 for (int ndx = 0; ndx < (int) (shdr1->sh_size / shdr1->sh_entsize);
360 const char *name1 = elf_strptr (elf1, shdr1->sh_link,
507 assert (shdr1->sh_type == SHT_NOBITS
513 || (shdr1->sh_type != SHT_NOBITS
519 && shdr1->sh_type == SHT_HASH
521 && hash_content_equivalent (shdr1->sh_entsize, data1, data2))