Lines Matching defs:insn_rel
11868 Elf_Internal_Rela *insn_rel = NULL, *label_rel = NULL, *irel;
11886 for (label_rel = internal_relocs, insn_rel = internal_relocs;
11893 while (insn_rel < irelend && insn_rel->r_offset < label_rel->r_offset)
11894 insn_rel++;
11896 for (;insn_rel < irelend && insn_rel->r_offset == label_rel->r_offset;
11897 insn_rel++)
11900 if (ELF32_R_TYPE (insn_rel->r_info) == R_NDS32_INSN16)
11903 if (insn_rel < irelend && insn_rel->r_offset == label_rel->r_offset
11904 && insn_rel < label_rel)
11908 memcpy (&rel_temp, insn_rel, sizeof (Elf_Internal_Rela));
11909 memcpy (insn_rel, label_rel, sizeof (Elf_Internal_Rela));
11915 insn_rel = NULL;
11959 insn_rel = NULL;
11979 if (insn_rel)
11983 if (is_convert_32_to_16 (abfd, sec, insn_rel, internal_relocs,
11986 nds32_elf_write_16 (abfd, contents, insn_rel,
11990 (relax_blank_list, insn_rel->r_offset + 2, 2))
11993 else if (is_16bit_NOP (abfd, sec, insn_rel))
11996 (relax_blank_list, insn_rel->r_offset, 2))
11999 insn_rel->r_info =
12000 ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info), R_NDS32_NONE);
12003 insn_rel = irel;
12028 if (!insn_rel)
12041 Label_rel always seats before insn_rel after
12067 if (is_convert_32_to_16 (abfd, sec, insn_rel,
12070 nds32_elf_write_16 (abfd, contents, insn_rel,
12074 (relax_blank_list, insn_rel->r_offset + 2, 2))
12077 else if (is_16bit_NOP (abfd, sec, insn_rel))
12080 (relax_blank_list, insn_rel->r_offset, 2))
12086 insn_rel = NULL;
12092 if (insn_rel && (address & 0x2 || opt_size))
12094 if (is_convert_32_to_16 (abfd, sec, insn_rel, internal_relocs,
12097 nds32_elf_write_16 (abfd, contents, insn_rel, internal_relocs,
12100 (relax_blank_list, insn_rel->r_offset + 2, 2))
12102 insn_rel->r_info = ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info),
12105 else if (is_16bit_NOP (abfd, sec, insn_rel))
12108 (relax_blank_list, insn_rel->r_offset, 2))
12110 insn_rel->r_info = ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info),
12114 insn_rel = NULL;