Searched refs:shdr1 (Results 1 – 3 of 3) sorted by relevance
263 GElf_Shdr *shdr1; in main() local268 shdr1 = gelf_getshdr (scn1, &shdr1_mem); in main()269 if (shdr1 != NULL) in main()270 sname1 = elf_strptr (elf1, shstrndx1, shdr1->sh_name); in main()272 while (scn1 != NULL && shdr1 != NULL in main()273 && ebl_section_strip_p (ebl1, shdr1, sname1, true, false)); in main()288 if (scn1 == NULL || scn2 == NULL || shdr1 == NULL || shdr2 == NULL) in main()291 if (gaps != gaps_ignore && (shdr1->sh_flags & SHF_ALLOC) != 0) in main()294 newp->from = shdr1->sh_offset; in main()295 newp->to = shdr1->sh_offset + shdr1->sh_size; in main()[all …]
747 compare_unalloc_sections (const GElf_Shdr *shdr1, const GElf_Shdr *shdr2, in compare_unalloc_sections() argument752 if (shdr1->sh_flags < shdr2->sh_flags) in compare_unalloc_sections()754 if (shdr1->sh_flags > shdr2->sh_flags) in compare_unalloc_sections()758 if (shdr1->sh_size < shdr2->sh_size) in compare_unalloc_sections()760 if (shdr1->sh_size > shdr2->sh_size) in compare_unalloc_sections()
132 * elfcmp.c (main): Check shdr1 and shdr2 are not NULL.