Lines Matching defs:insn_rel
11866 Elf_Internal_Rela *insn_rel = NULL, *label_rel = NULL, *irel;
11884 for (label_rel = internal_relocs, insn_rel = internal_relocs;
11891 while (insn_rel < irelend && insn_rel->r_offset < label_rel->r_offset)
11892 insn_rel++;
11894 for (;insn_rel < irelend && insn_rel->r_offset == label_rel->r_offset;
11895 insn_rel++)
11898 if (ELF32_R_TYPE (insn_rel->r_info) == R_NDS32_INSN16)
11901 if (insn_rel < irelend && insn_rel->r_offset == label_rel->r_offset
11902 && insn_rel < label_rel)
11906 memcpy (&rel_temp, insn_rel, sizeof (Elf_Internal_Rela));
11907 memcpy (insn_rel, label_rel, sizeof (Elf_Internal_Rela));
11913 insn_rel = NULL;
11957 insn_rel = NULL;
11977 if (insn_rel)
11981 if (is_convert_32_to_16 (abfd, sec, insn_rel, internal_relocs,
11984 nds32_elf_write_16 (abfd, contents, insn_rel,
11988 (relax_blank_list, insn_rel->r_offset + 2, 2))
11991 else if (is_16bit_NOP (abfd, sec, insn_rel))
11994 (relax_blank_list, insn_rel->r_offset, 2))
11997 insn_rel->r_info =
11998 ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info), R_NDS32_NONE);
12001 insn_rel = irel;
12026 if (!insn_rel)
12039 Label_rel always seats before insn_rel after
12065 if (is_convert_32_to_16 (abfd, sec, insn_rel,
12068 nds32_elf_write_16 (abfd, contents, insn_rel,
12072 (relax_blank_list, insn_rel->r_offset + 2, 2))
12075 else if (is_16bit_NOP (abfd, sec, insn_rel))
12078 (relax_blank_list, insn_rel->r_offset, 2))
12084 insn_rel = NULL;
12090 if (insn_rel && (address & 0x2 || opt_size))
12092 if (is_convert_32_to_16 (abfd, sec, insn_rel, internal_relocs,
12095 nds32_elf_write_16 (abfd, contents, insn_rel, internal_relocs,
12098 (relax_blank_list, insn_rel->r_offset + 2, 2))
12100 insn_rel->r_info = ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info),
12103 else if (is_16bit_NOP (abfd, sec, insn_rel))
12106 (relax_blank_list, insn_rel->r_offset, 2))
12108 insn_rel->r_info = ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info),
12112 insn_rel = NULL;