Home | History | Annotate | Download | only in bfd

Lines Matching refs:irel

529      Elf_Internal_Rela *    irel,
541 r_type = ELF32_R_TYPE (irel->r_info);
547 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info)
553 isym = isymbuf + ELF32_R_SYM (irel->r_info);
568 indx = ELF32_R_SYM (irel->r_info) - symtab_hdr->sh_info;
592 insn = bfd_get_32 (abfd, contents + irel->r_offset);
593 insn |= ((symval + irel->r_addend) << howto->bitpos) & howto->dst_mask;
597 insn = bfd_get_32 (abfd, contents + irel->r_offset);
600 + sec->output_offset + irel->r_offset);
601 value = symval + irel->r_addend;
641 elf32_ft32_is_diff_reloc (Elf_Internal_Rela *irel)
643 return (ELF32_R_TYPE (irel->r_info) == R_FT32_DIFF32);
653 Elf_Internal_Rela *irel,
675 reloc_contents = isec_contents + irel->r_offset;
678 switch (ELF32_R_TYPE (irel->r_info))
692 sym2_address = symval + irel->r_addend;
709 irel->r_addend -= count;
711 switch (ELF32_R_TYPE (irel->r_info))
728 Elf_Internal_Rela *irel, bfd_vma symval,
734 if (elf32_ft32_is_diff_reloc (irel))
736 if (!elf32_ft32_adjust_diff_reloc_value (abfd, isec, irel,
744 bfd_vma reloc_value = symval + irel->r_addend;
755 irel->r_addend -= count;
772 Elf_Internal_Rela *irel, *irelend;
789 irel = elf_section_data (sec)->relocs;
790 irelend = irel + sec->reloc_count;
798 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++)
800 if ((irel->r_offset > addr && irel->r_offset < toaddr))
801 irel->r_offset -= count;
827 irel = elf_section_data (isec)->relocs;
829 if (irel == NULL)
830 irel = _bfd_elf_link_read_relocs (abfd, isec, NULL, NULL, true);
832 for (irelend = irel + isec->reloc_count; irel < irelend; irel++)
848 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info)
853 isym = isymbuf + ELF32_R_SYM (irel->r_info);
870 (unsigned int) (symval + irel->r_addend),
874 && (symval + irel->r_addend) > shrinked_insn_address)
887 irel, symval,
968 Elf_Internal_Rela *irel, *irelend;
984 irel = elf_section_data (isec)->relocs;
985 if (irel == NULL)
986 irel = _bfd_elf_link_read_relocs (abfd, isec, NULL, NULL, true);
988 irelend = irel + isec->reloc_count;
990 for (; irel < irelend; irel++)
1006 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info)
1011 isym = isymbuf + ELF32_R_SYM (irel->r_info);
1024 (unsigned int) irel->r_offset,
1026 (unsigned int) (symval + irel->r_addend));
1027 if ((irel->r_addend) == loc)
1086 Elf_Internal_Rela * irel;
1142 irel = internal_relocs;
1143 while (irel < irelend - 1)
1145 Elf_Internal_Rela * irel_next = irel + 1;
1149 pc = irel->r_offset;
1152 && ft32_reloc_shortable (abfd, sec, isymbuf, contents, pc, irel,
1167 irel_next->r_offset = irel->r_offset;
1171 if (ELF32_R_TYPE (irel->r_info) == R_FT32_18)
1173 irel->r_info = ELF32_R_INFO (ELF32_R_SYM (irel->r_info),
1178 irel->r_info = ELF32_R_INFO (ELF32_R_SYM (irel->r_info),
1189 irel_next->r_info = ELF32_R_INFO (ELF32_R_SYM (irel->r_info),
1194 bfd_put_32 (abfd, fused, contents + irel->r_offset);
1198 irel->r_offset + 4, 4))
1205 irel += 2;
1209 irel += 1;