Lines Matching refs:reloc_count
831 qsort (internal_relocs, table_section->reloc_count, in xtensa_read_table_entries()
839 rel_end = internal_relocs + table_section->reloc_count; in xtensa_read_table_entries()
981 rel_end = relocs + sec->reloc_count; in elf_xtensa_check_relocs()
1295 relend = relocs + sec->reloc_count; in elf_xtensa_gc_sweep_hook()
1742 s->reloc_count = 0; in elf_xtensa_size_dynamic_sections()
1794 + srelgot->reloc_count * sizeof (Elf32_External_Rela)); in elf_xtensa_size_dynamic_sections()
1798 srelgot->reloc_count += 2; in elf_xtensa_size_dynamic_sections()
2582 relend = relocs + input_section->reloc_count; in elf_xtensa_relocate_section()
2880 srel->reloc_count); in elf_xtensa_relocate_section()
2893 + srel->reloc_count++ * sizeof (Elf32_External_Rela)); in elf_xtensa_relocate_section()
2895 BFD_ASSERT (sizeof (Elf32_External_Rela) * srel->reloc_count in elf_xtensa_relocate_section()
2993 + srel->reloc_count++ * sizeof (Elf32_External_Rela)); in elf_xtensa_relocate_section()
2995 BFD_ASSERT (sizeof (Elf32_External_Rela) * srel->reloc_count in elf_xtensa_relocate_section()
3306 for (rtld_reloc = 0; rtld_reloc < srelgot->reloc_count; rtld_reloc++) in elf_xtensa_finish_dynamic_sections()
3313 BFD_ASSERT (rtld_reloc < srelgot->reloc_count); in elf_xtensa_finish_dynamic_sections()
3337 BFD_ASSERT (rtld_reloc <= srelgot->reloc_count); in elf_xtensa_finish_dynamic_sections()
3349 BFD_ASSERT (rtld_reloc <= srelgot->reloc_count); in elf_xtensa_finish_dynamic_sections()
3369 * srelgot->reloc_count) in elf_xtensa_finish_dynamic_sections()
3371 * srelplt->reloc_count)) in elf_xtensa_finish_dynamic_sections()
3645 qsort (cookie->rels, sec->reloc_count, sizeof (Elf_Internal_Rela), in elf_xtensa_discard_info_for_section()
3649 cookie->relend = cookie->rels + sec->reloc_count; in elf_xtensa_discard_info_for_section()
6055 unsigned reloc_count; member
6122 sec_cache->reloc_count = sec->reloc_count; in section_cache_section()
6161 unsigned reloc_count; member
6264 unsigned reloc_count) in init_ebb() argument
6273 ebb->reloc_count = reloc_count; in init_ebb()
6279 ebb->end_reloc_idx = reloc_count; in init_ebb()
6339 while (ebb->end_reloc_idx + 1 < ebb->reloc_count in extend_ebb_bounds_forward()
6840 for (i = 0; i < sec->reloc_count; i++) in find_relaxable_sections()
6934 for (i = 0; i < sec->reloc_count; i++) in collect_source_relocs()
6992 for (i = 0; i < sec->reloc_count; i++) in collect_source_relocs()
7185 for (i = 0; i < sec->reloc_count; i++) in find_associated_l32r_irel()
7209 (xtensa_opcode *) bfd_malloc (sizeof (xtensa_opcode) * sec->reloc_count); in build_reloc_opcodes()
7210 for (i = 0; i < sec->reloc_count; i++) in build_reloc_opcodes()
7257 qsort (internal_relocs, sec->reloc_count, sizeof (Elf_Internal_Rela), in compute_text_actions()
7276 for (i = 0; i < sec->reloc_count; i++) in compute_text_actions()
7331 internal_relocs, sec->reloc_count); in compute_text_actions()
7984 if (relax_info && sec->reloc_count > 100) in check_section_ebb_pcrels_fit()
7991 for (i = 0; i < sec->reloc_count; i++) in check_section_ebb_pcrels_fit()
8228 qsort (internal_relocs, sec->reloc_count, sizeof (Elf_Internal_Rela), in compute_removed_literals()
8328 irel = bsearch (&key, internal_relocs, sec->reloc_count, in get_irel_at_offset()
8342 for ( ; i < sec->reloc_count; i++) in get_irel_at_offset()
8766 target_sec_cache->relocs, target_sec_cache->reloc_count); in move_shared_literal()
8903 for (i = 0; i < sec->reloc_count; i++) in relax_section()
9632 srelgot->reloc_count -= 2; in shrink_dynamic_reloc_sections()
9711 insert_at = sec->reloc_count; in move_literal()
9712 for (i = 0; i < sec->reloc_count; ++i) in move_literal()
9722 || sec->reloc_count + 1 > relax_info->allocated_relocs_count) in move_literal()
9725 || sec->reloc_count == relax_info->relocs_count); in move_literal()
9728 new_relocs_count = (sec->reloc_count + 2) * 2; in move_literal()
9744 if (insert_at != sec->reloc_count) in move_literal()
9747 (sec->reloc_count - insert_at) in move_literal()
9763 sec->reloc_count++; in move_literal()
9764 relax_info->relocs_count = sec->reloc_count; in move_literal()
9769 if (insert_at != sec->reloc_count) in move_literal()
9772 for (idx = sec->reloc_count; idx > insert_at; idx--) in move_literal()
9776 sec->reloc_count++; in move_literal()
9778 relax_info->relocs_count = sec->reloc_count; in move_literal()
9823 for (i = 0; i < sec->reloc_count; i++) in relax_property_section()
9942 qsort (internal_relocs, sec->reloc_count, sizeof (Elf_Internal_Rela), in relax_property_section()
9949 rel_end = internal_relocs + sec->reloc_count; in relax_property_section()
10739 || sec->reloc_count == 0) in xtensa_callback_required_dependence()
10753 for (i = 0; i < sec->reloc_count; i++) in xtensa_callback_required_dependence()