Lines Matching refs:elf_numsections
277 || shindex >= elf_numsections (abfd) in bfd_elf_get_str_section()
319 if (elf_elfsections (abfd) == NULL || shindex >= elf_numsections (abfd)) in bfd_elf_string_from_elf_section()
424 if (entry->hdr.sh_link >= elf_numsections (ibfd)) in bfd_elf_get_elf_syms()
547 && isym->st_shndx < elf_numsections (abfd)) in bfd_elf_sym_name()
584 if (ghdr->sh_link >= elf_numsections (abfd)) in group_signature()
615 shnum = elf_numsections (abfd); in setup_group()
874 if (elfsec < elf_numsections (abfd)) in _bfd_elf_setup_sections()
1364 if (hint < elf_numsections (obfd) in find_link()
1369 for (i = 1; i < elf_numsections (obfd); i++) in find_link()
1438 if (iheader->sh_link >= elf_numsections (ibfd)) in copy_special_section_fields()
1533 for (i = 1; i < elf_numsections (obfd); i++) in _bfd_elf_copy_private_bfd_data()
1555 for (j = 1; j < elf_numsections (ibfd); j++) in _bfd_elf_copy_private_bfd_data()
1574 j = elf_numsections (ibfd); in _bfd_elf_copy_private_bfd_data()
1579 if (j < elf_numsections (ibfd)) in _bfd_elf_copy_private_bfd_data()
1585 for (j = 1; j < elf_numsections (ibfd); j++) in _bfd_elf_copy_private_bfd_data()
1612 if (j == elf_numsections (ibfd) && oheader->sh_type >= SHT_LOOS) in _bfd_elf_copy_private_bfd_data()
2607 if (shindex >= elf_numsections (abfd)) in bfd_section_from_shdr()
2651 if (hdr->sh_link > elf_numsections (abfd)) in bfd_section_from_shdr()
2685 num_sec = elf_numsections (abfd); in bfd_section_from_shdr()
2756 num_sec = elf_numsections (abfd); in bfd_section_from_shdr()
2881 num_sec = elf_numsections (abfd); in bfd_section_from_shdr()
2909 unsigned int num_sec = elf_numsections (abfd); in bfd_section_from_shdr()
3160 if (sec_index >= elf_numsections (abfd)) in bfd_section_from_elf_index()
4318 elf_numsections (abfd) = section_number; in assign_section_numbers()
4342 if (elf_numsections (abfd) > (SHN_LORESERVE & 0xFFFF)) in assign_section_numbers()
6671 Elf_Internal_Shdr **end_headers = start_headers + elf_numsections (abfd); in is_debuginfo_file()
6711 end_hdrpp = i_shdrpp + elf_numsections (abfd); in assign_file_positions_for_non_load_sections()
6968 unsigned int num_sec = elf_numsections (abfd); in assign_file_positions_except_relocs()
7225 end_shdrpp = shdrpp + elf_numsections (abfd); in _bfd_elf_assign_file_positions_for_non_load()
7342 num_sec = elf_numsections (abfd); in _bfd_elf_write_object_contents()
14124 || isection->sh_info >= elf_numsections (ibfd)) in _bfd_elf_copy_special_section_fields()