Lines Matching refs:sec2
3588 const asection *sec2 = *(const asection **) arg2; in elf_sort_sections() local
3593 if (sec1->lma < sec2->lma) in elf_sort_sections()
3595 else if (sec1->lma > sec2->lma) in elf_sort_sections()
3600 if (sec1->vma < sec2->vma) in elf_sort_sections()
3602 else if (sec1->vma > sec2->vma) in elf_sort_sections()
3611 if (TOEND (sec2)) in elf_sort_sections()
3615 if (sec1->target_index - sec2->target_index != 0) in elf_sort_sections()
3616 return sec1->target_index - sec2->target_index; in elf_sort_sections()
3621 else if (TOEND (sec2)) in elf_sort_sections()
3630 size2 = (sec2->flags & SEC_LOAD) ? sec2->_raw_size : 0; in elf_sort_sections()
3637 return sec1->target_index - sec2->target_index; in elf_sort_sections()
5551 asection *sec2; in swap_out_syms() local
5560 sec2 = bfd_get_section_by_name (abfd, sec->name); in swap_out_syms()
5561 if (sec2 == NULL) in swap_out_syms()
5572 shndx = _bfd_elf_section_from_bfd_section (abfd, sec2); in swap_out_syms()