Home | History | Annotate | Download | only in src

Lines Matching defs:s2

659 compare_alloc_sections (const struct section *s1, const struct section *s2,
665 if (s1->shdr.sh_addr < s2->shdr.sh_addr)
667 if (s1->shdr.sh_addr > s2->shdr.sh_addr)
672 return (ssize_t) elf_ndxscn (s1->scn) - (ssize_t) elf_ndxscn (s2->scn);
693 const struct section *s2 = b;
696 if ((s1->shdr.sh_flags ^ s2->shdr.sh_flags) & SHF_ALLOC)
700 ? compare_alloc_sections (s1, s2, rel)
701 : compare_unalloc_sections (&s1->shdr, &s2->shdr,
702 s1->name, s2->name));
808 if (s1->value < s2->value) \
810 if (s1->value > s2->value) \
819 const struct symbol *s2 = b;
825 return (s1->compare - s2->compare) ?: strcmp (s1->name, s2->name);
833 const struct symbol *s2 = b;
837 cmp = (s1->name == NULL) - (s2->name == NULL);
841 cmp = ((GELF_ST_BIND (s2->info.info) == STB_LOCAL)
846 cmp = ((GELF_ST_TYPE (s2->info.info) == STT_SECTION)
856 assert (s1 == s2);
862 assert (s1 == s2);