Lines Matching refs:toc_relocs
8862 Elf_Internal_Rela *relstart, *rel, *toc_relocs; in ppc64_elf_edit_toc() local
8877 toc_relocs = NULL; in ppc64_elf_edit_toc()
8973 toc_relocs = _bfd_elf_link_read_relocs (ibfd, toc, NULL, NULL, in ppc64_elf_edit_toc()
8975 if (toc_relocs == NULL) in ppc64_elf_edit_toc()
8978 for (rel = toc_relocs; rel < toc_relocs + toc->reloc_count; ++rel) in ppc64_elf_edit_toc()
9039 |= can_optimize | ((rel - toc_relocs) << 2); in ppc64_elf_edit_toc()
9057 if (toc_relocs != NULL in ppc64_elf_edit_toc()
9058 && elf_section_data (toc)->relocs != toc_relocs) in ppc64_elf_edit_toc()
9059 free (toc_relocs); in ppc64_elf_edit_toc()
9367 = toc_relocs + (skip[val >> 3] >> 2); in ppc64_elf_edit_toc()
9456 if (toc_relocs == NULL) in ppc64_elf_edit_toc()
9457 toc_relocs = _bfd_elf_link_read_relocs (ibfd, toc, NULL, NULL, in ppc64_elf_edit_toc()
9459 if (toc_relocs == NULL) in ppc64_elf_edit_toc()
9462 wrel = toc_relocs; in ppc64_elf_edit_toc()
9463 for (rel = toc_relocs; rel < toc_relocs + toc->reloc_count; ++rel) in ppc64_elf_edit_toc()
9476 elf_section_data (toc)->relocs = toc_relocs; in ppc64_elf_edit_toc()
9477 toc->reloc_count = wrel - toc_relocs; in ppc64_elf_edit_toc()
9483 else if (toc_relocs != NULL in ppc64_elf_edit_toc()
9484 && elf_section_data (toc)->relocs != toc_relocs) in ppc64_elf_edit_toc()
9485 free (toc_relocs); in ppc64_elf_edit_toc()