Lines Matching defs:insn_rel
11862 Elf_Internal_Rela *insn_rel = NULL, *label_rel = NULL, *irel;
11880 for (label_rel = internal_relocs, insn_rel = internal_relocs;
11887 while (insn_rel < irelend && insn_rel->r_offset < label_rel->r_offset)
11888 insn_rel++;
11890 for (;insn_rel < irelend && insn_rel->r_offset == label_rel->r_offset;
11891 insn_rel++)
11894 if (ELF32_R_TYPE (insn_rel->r_info) == R_NDS32_INSN16)
11897 if (insn_rel < irelend && insn_rel->r_offset == label_rel->r_offset
11898 && insn_rel < label_rel)
11902 memcpy (&rel_temp, insn_rel, sizeof (Elf_Internal_Rela));
11903 memcpy (insn_rel, label_rel, sizeof (Elf_Internal_Rela));
11909 insn_rel = NULL;
11953 insn_rel = NULL;
11973 if (insn_rel)
11977 if (is_convert_32_to_16 (abfd, sec, insn_rel, internal_relocs,
11980 nds32_elf_write_16 (abfd, contents, insn_rel,
11984 (relax_blank_list, insn_rel->r_offset + 2, 2))
11987 else if (is_16bit_NOP (abfd, sec, insn_rel))
11990 (relax_blank_list, insn_rel->r_offset, 2))
11993 insn_rel->r_info =
11994 ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info), R_NDS32_NONE);
11997 insn_rel = irel;
12022 if (!insn_rel)
12035 Label_rel always seats before insn_rel after
12061 if (is_convert_32_to_16 (abfd, sec, insn_rel,
12064 nds32_elf_write_16 (abfd, contents, insn_rel,
12068 (relax_blank_list, insn_rel->r_offset + 2, 2))
12071 else if (is_16bit_NOP (abfd, sec, insn_rel))
12074 (relax_blank_list, insn_rel->r_offset, 2))
12080 insn_rel = NULL;
12086 if (insn_rel && (address & 0x2 || opt_size))
12088 if (is_convert_32_to_16 (abfd, sec, insn_rel, internal_relocs,
12091 nds32_elf_write_16 (abfd, contents, insn_rel, internal_relocs,
12094 (relax_blank_list, insn_rel->r_offset + 2, 2))
12096 insn_rel->r_info = ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info),
12099 else if (is_16bit_NOP (abfd, sec, insn_rel))
12102 (relax_blank_list, insn_rel->r_offset, 2))
12104 insn_rel->r_info = ELF32_R_INFO (ELF32_R_SYM (insn_rel->r_info),
12108 insn_rel = NULL;