• Home
  • Raw
  • Download

Lines Matching refs:cookie

3611 				     struct elf_reloc_cookie *cookie,  in elf_xtensa_discard_info_for_section()  argument
3636 cookie->rels = retrieve_internal_relocs (abfd, sec, info->keep_memory); in elf_xtensa_discard_info_for_section()
3637 if (!cookie->rels) in elf_xtensa_discard_info_for_section()
3645 qsort (cookie->rels, sec->reloc_count, sizeof (Elf_Internal_Rela), in elf_xtensa_discard_info_for_section()
3648 cookie->rel = cookie->rels; in elf_xtensa_discard_info_for_section()
3649 cookie->relend = cookie->rels + sec->reloc_count; in elf_xtensa_discard_info_for_section()
3657 while (cookie->rel < cookie->relend in elf_xtensa_discard_info_for_section()
3658 && cookie->rel->r_offset < offset) in elf_xtensa_discard_info_for_section()
3660 cookie->rel->r_offset -= removed_bytes; in elf_xtensa_discard_info_for_section()
3661 cookie->rel++; in elf_xtensa_discard_info_for_section()
3664 while (cookie->rel < cookie->relend in elf_xtensa_discard_info_for_section()
3665 && cookie->rel->r_offset == offset) in elf_xtensa_discard_info_for_section()
3667 if (bfd_elf_reloc_symbol_deleted_p (offset, cookie)) in elf_xtensa_discard_info_for_section()
3672 if (ELF32_R_TYPE (cookie->rel->r_info) != R_XTENSA_NONE) in elf_xtensa_discard_info_for_section()
3683 cookie->rel->r_info = ELF32_R_INFO (0, R_XTENSA_NONE); in elf_xtensa_discard_info_for_section()
3691 if (cookie->rel->r_offset >= removed_bytes) in elf_xtensa_discard_info_for_section()
3692 cookie->rel->r_offset -= removed_bytes; in elf_xtensa_discard_info_for_section()
3694 cookie->rel->r_offset = 0; in elf_xtensa_discard_info_for_section()
3696 cookie->rel++; in elf_xtensa_discard_info_for_section()
3703 for (; cookie->rel < cookie->relend; cookie->rel++) in elf_xtensa_discard_info_for_section()
3705 if (cookie->rel->r_offset >= removed_bytes) in elf_xtensa_discard_info_for_section()
3706 cookie->rel->r_offset -= removed_bytes; in elf_xtensa_discard_info_for_section()
3708 cookie->rel->r_offset = 0; in elf_xtensa_discard_info_for_section()
3715 pin_internal_relocs (sec, cookie->rels); in elf_xtensa_discard_info_for_section()
3732 release_internal_relocs (sec, cookie->rels); in elf_xtensa_discard_info_for_section()
3741 struct elf_reloc_cookie *cookie, in elf_xtensa_discard_info() argument
3751 if (elf_xtensa_discard_info_for_section (abfd, cookie, info, sec)) in elf_xtensa_discard_info()