Lines Matching defs:insn_rel
11869 Elf_Internal_Rela *insn_rel = NULL, *label_rel = NULL, *irel;
11887 for (label_rel = internal_relocs, insn_rel = internal_relocs;
11894 while (insn_rel < irelend && insn_rel->r_offset < label_rel->r_offset)
11895 insn_rel++;
11897 for (;insn_rel < irelend && insn_rel->r_offset == label_rel->r_offset;
11898 insn_rel++)
11901 if (ELF32_R_TYPE (insn_rel->r_info) == R_NDS32_INSN16)
11904 if (insn_rel < irelend && insn_rel->r_offset == label_rel->r_offset
11905 && insn_rel < label_rel)
11909 memcpy (&rel_temp, insn_rel, sizeof (Elf_Internal_Rela));
11910 memcpy (insn_rel, label_rel, sizeof (Elf_Internal_Rela));
11916 insn_rel = NULL;
11960 insn_rel = NULL;
11980 if (insn_rel)
11984 if (is_convert_32_to_16 (abfd, sec, insn_rel, internal_relocs,
11987 nds32_elf_write_16 (abfd, contents, insn_rel,
11991 (relax_blank_list, insn_rel->r_offset + 2, 2))
11994 else if (is_16bit_NOP (abfd, sec, insn_rel))
11997 (relax_blank_list, insn_rel->r_offset, 2))
12000 insn_rel->r_info =
12001 ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info), R_NDS32_NONE);
12004 insn_rel = irel;
12029 if (!insn_rel)
12042 Label_rel always seats before insn_rel after
12068 if (is_convert_32_to_16 (abfd, sec, insn_rel,
12071 nds32_elf_write_16 (abfd, contents, insn_rel,
12075 (relax_blank_list, insn_rel->r_offset + 2, 2))
12078 else if (is_16bit_NOP (abfd, sec, insn_rel))
12081 (relax_blank_list, insn_rel->r_offset, 2))
12087 insn_rel = NULL;
12093 if (insn_rel && (address & 0x2 || opt_size))
12095 if (is_convert_32_to_16 (abfd, sec, insn_rel, internal_relocs,
12098 nds32_elf_write_16 (abfd, contents, insn_rel, internal_relocs,
12101 (relax_blank_list, insn_rel->r_offset + 2, 2))
12103 insn_rel->r_info = ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info),
12106 else if (is_16bit_NOP (abfd, sec, insn_rel))
12109 (relax_blank_list, insn_rel->r_offset, 2))
12111 insn_rel->r_info = ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info),
12115 insn_rel = NULL;