Lines Matching refs:irel
1477 Elf_Internal_Rela * irel; in elf32_rl78_relax_delete_bytes() local
1499 irel = elf_section_data (sec)->relocs; in elf32_rl78_relax_delete_bytes()
1500 if (irel == NULL) in elf32_rl78_relax_delete_bytes()
1503 irel = elf_section_data (sec)->relocs; in elf32_rl78_relax_delete_bytes()
1506 irelend = irel + sec->reloc_count; in elf32_rl78_relax_delete_bytes()
1521 for (; irel && irel < irelend; irel++) in elf32_rl78_relax_delete_bytes()
1524 if (irel->r_offset > addr in elf32_rl78_relax_delete_bytes()
1525 && (irel->r_offset < toaddr in elf32_rl78_relax_delete_bytes()
1526 || (force_snip && irel->r_offset == toaddr))) in elf32_rl78_relax_delete_bytes()
1527 irel->r_offset -= count; in elf32_rl78_relax_delete_bytes()
1532 if (irel->r_offset == toaddr in elf32_rl78_relax_delete_bytes()
1533 && ELF32_R_TYPE (irel->r_info) == R_RL78_RH_RELAX in elf32_rl78_relax_delete_bytes()
1534 && irel->r_addend & RL78_RELAXA_ALIGN) in elf32_rl78_relax_delete_bytes()
1535 irel->r_offset -= count; in elf32_rl78_relax_delete_bytes()
1964 Elf_Internal_Rela * irel; in rl78_elf_relax_section() local
2063 for (irel = internal_relocs; irel < irelend; irel++) in rl78_elf_relax_section()
2064 if (ELF32_R_TYPE (irel->r_info) == R_RL78_RH_RELAX in rl78_elf_relax_section()
2065 && irel->r_addend & RL78_RELAXA_ALIGN) in rl78_elf_relax_section()
2067 int this_glue = 1 << (irel->r_addend & RL78_RELAXA_ANUM); in rl78_elf_relax_section()
2076 for (irel = internal_relocs; irel < irelend; irel++) in rl78_elf_relax_section()
2082 if (ELF32_R_TYPE (irel->r_info) != R_RL78_RH_RELAX) in rl78_elf_relax_section()
2085 if (irel->r_addend & RL78_RELAXA_ALIGN in rl78_elf_relax_section()
2107 if (irel->r_addend & RL78_RELAXA_ALIGN) in rl78_elf_relax_section()
2111 Elf_Internal_Rela *erel = irel + 1; in rl78_elf_relax_section()
2119 alignment = 1 << (irel->r_addend & RL78_RELAXA_ANUM); in rl78_elf_relax_section()
2121 if (erel->r_offset - irel->r_offset < alignment) in rl78_elf_relax_section()
2124 nbytes = erel->r_offset - irel->r_offset; in rl78_elf_relax_section()
2135 if (irel->r_addend & RL78_RELAXA_ELIGN) in rl78_elf_relax_section()
2138 insn = contents + irel->r_offset; in rl78_elf_relax_section()
2140 nrelocs = irel->r_addend & RL78_RELAXA_RNUM; in rl78_elf_relax_section()
2157 srel = irel; in rl78_elf_relax_section()
2202 if ((irel->r_addend & RL78_RELAXA_MASK) == RL78_RELAXA_BRA) in rl78_elf_relax_section()
2207 if (irel->r_addend & RL78_RELAXA_RNUM) in rl78_elf_relax_section()
2337 if ((irel->r_addend & RL78_RELAXA_MASK) == RL78_RELAXA_ADDR16) in rl78_elf_relax_section()