Home
last modified time | relevance | path

Searched refs:shdr2 (Results 1 – 3 of 3) sorted by relevance

/external/elfutils/src/
Delfcmp.c276 GElf_Shdr *shdr2; in main() local
281 shdr2 = gelf_getshdr (scn2, &shdr2_mem); in main()
282 if (shdr2 != NULL) in main()
283 sname2 = elf_strptr (elf2, shstrndx2, shdr2->sh_name); in main()
285 while (scn2 != NULL && shdr2 != NULL in main()
286 && ebl_section_strip_p (ebl2, shdr2, sname2, true, false)); in main()
288 if (scn1 == NULL || scn2 == NULL || shdr1 == NULL || shdr2 == NULL) in main()
317 if (shdr1->sh_type != shdr2->sh_type in main()
319 || shdr1->sh_flags != shdr2->sh_flags in main()
320 || shdr1->sh_addr != shdr2->sh_addr in main()
[all …]
Dunstrip.c751 compare_unalloc_sections (const GElf_Shdr *shdr1, const GElf_Shdr *shdr2, in compare_unalloc_sections() argument
756 if (shdr1->sh_flags < shdr2->sh_flags) in compare_unalloc_sections()
758 if (shdr1->sh_flags > shdr2->sh_flags) in compare_unalloc_sections()
762 if (shdr1->sh_size < shdr2->sh_size) in compare_unalloc_sections()
764 if (shdr1->sh_size > shdr2->sh_size) in compare_unalloc_sections()
DChangeLog391 * elfcmp.c (main): Check shdr1 and shdr2 are not NULL.