Home | History | Annotate | Download | only in bfd

Lines Matching refs:irel

528      Elf_Internal_Rela *    irel,
540 r_type = ELF32_R_TYPE (irel->r_info);
546 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info)
552 isym = isymbuf + ELF32_R_SYM (irel->r_info);
567 indx = ELF32_R_SYM (irel->r_info) - symtab_hdr->sh_info;
591 insn = bfd_get_32 (abfd, contents + irel->r_offset);
592 insn |= ((symval + irel->r_addend) << howto->bitpos) & howto->dst_mask;
596 insn = bfd_get_32 (abfd, contents + irel->r_offset);
599 + sec->output_offset + irel->r_offset);
600 value = symval + irel->r_addend;
640 elf32_ft32_is_diff_reloc (Elf_Internal_Rela *irel)
642 return (ELF32_R_TYPE (irel->r_info) == R_FT32_DIFF32);
652 Elf_Internal_Rela *irel,
674 reloc_contents = isec_contents + irel->r_offset;
677 switch (ELF32_R_TYPE (irel->r_info))
691 sym2_address = symval + irel->r_addend;
708 irel->r_addend -= count;
710 switch (ELF32_R_TYPE (irel->r_info))
727 Elf_Internal_Rela *irel, bfd_vma symval,
733 if (elf32_ft32_is_diff_reloc (irel))
735 if (!elf32_ft32_adjust_diff_reloc_value (abfd, isec, irel,
743 bfd_vma reloc_value = symval + irel->r_addend;
754 irel->r_addend -= count;
771 Elf_Internal_Rela *irel, *irelend;
788 irel = elf_section_data (sec)->relocs;
789 irelend = irel + sec->reloc_count;
797 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++)
799 if ((irel->r_offset > addr && irel->r_offset < toaddr))
800 irel->r_offset -= count;
826 irel = elf_section_data (isec)->relocs;
828 if (irel == NULL)
829 irel = _bfd_elf_link_read_relocs (abfd, isec, NULL, NULL, true);
831 for (irelend = irel + isec->reloc_count; irel < irelend; irel++)
847 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info)
852 isym = isymbuf + ELF32_R_SYM (irel->r_info);
869 (unsigned int) (symval + irel->r_addend),
873 && (symval + irel->r_addend) > shrinked_insn_address)
886 irel, symval,
967 Elf_Internal_Rela *irel, *irelend;
983 irel = elf_section_data (isec)->relocs;
984 if (irel == NULL)
985 irel = _bfd_elf_link_read_relocs (abfd, isec, NULL, NULL, true);
987 irelend = irel + isec->reloc_count;
989 for (; irel < irelend; irel++)
1005 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info)
1010 isym = isymbuf + ELF32_R_SYM (irel->r_info);
1023 (unsigned int) irel->r_offset,
1025 (unsigned int) (symval + irel->r_addend));
1026 if ((irel->r_addend) == loc)
1085 Elf_Internal_Rela * irel;
1141 irel = internal_relocs;
1142 while (irel < irelend - 1)
1144 Elf_Internal_Rela * irel_next = irel + 1;
1148 pc = irel->r_offset;
1151 && ft32_reloc_shortable (abfd, sec, isymbuf, contents, pc, irel,
1166 irel_next->r_offset = irel->r_offset;
1170 if (ELF32_R_TYPE (irel->r_info) == R_FT32_18)
1172 irel->r_info = ELF32_R_INFO (ELF32_R_SYM (irel->r_info),
1177 irel->r_info = ELF32_R_INFO (ELF32_R_SYM (irel->r_info),
1188 irel_next->r_info = ELF32_R_INFO (ELF32_R_SYM (irel->r_info),
1193 bfd_put_32 (abfd, fused, contents + irel->r_offset);
1197 irel->r_offset + 4, 4))
1204 irel += 2;
1208 irel += 1;