Lines Matching refs:int_rel
862 struct internal_reloc int_rel; in mips_relocate_section() local
872 mips_ecoff_swap_reloc_in (input_bfd, ext_rel, &int_rel); in mips_relocate_section()
875 int_rel = lo_int_rel; in mips_relocate_section()
879 BFD_ASSERT (int_rel.r_type in mips_relocate_section()
884 if (int_rel.r_type == MIPS_R_REFHI) in mips_relocate_section()
897 if (lo_int_rel.r_type != int_rel.r_type) in mips_relocate_section()
903 && int_rel.r_extern == lo_int_rel.r_extern in mips_relocate_section()
904 && int_rel.r_symndx == lo_int_rel.r_symndx) in mips_relocate_section()
912 howto = &mips_howto_table[int_rel.r_type]; in mips_relocate_section()
914 if (int_rel.r_extern) in mips_relocate_section()
916 h = sym_hashes[int_rel.r_symndx]; in mips_relocate_section()
925 if (int_rel.r_symndx < 0 || int_rel.r_symndx >= NUM_RELOC_SECTIONS) in mips_relocate_section()
928 s = symndx_to_section[int_rel.r_symndx]; in mips_relocate_section()
936 if (int_rel.r_type != MIPS_R_GPREL in mips_relocate_section()
937 && int_rel.r_type != MIPS_R_LITERAL) in mips_relocate_section()
946 int_rel.r_vaddr - input_section->vma))) in mips_relocate_section()
953 if (! int_rel.r_extern) in mips_relocate_section()
993 if (int_rel.r_extern) in mips_relocate_section()
1006 int_rel.r_extern = 0; in mips_relocate_section()
1013 int_rel.r_symndx = -1; in mips_relocate_section()
1018 int_rel.r_symndx = RELOC_SECTION_BSS; in mips_relocate_section()
1022 int_rel.r_symndx = RELOC_SECTION_DATA; in mips_relocate_section()
1026 int_rel.r_symndx = RELOC_SECTION_FINI; in mips_relocate_section()
1030 int_rel.r_symndx = RELOC_SECTION_INIT; in mips_relocate_section()
1034 int_rel.r_symndx = RELOC_SECTION_LIT8; in mips_relocate_section()
1036 int_rel.r_symndx = RELOC_SECTION_LIT4; in mips_relocate_section()
1040 int_rel.r_symndx = RELOC_SECTION_RDATA; in mips_relocate_section()
1044 int_rel.r_symndx = RELOC_SECTION_SDATA; in mips_relocate_section()
1046 int_rel.r_symndx = RELOC_SECTION_SBSS; in mips_relocate_section()
1050 int_rel.r_symndx = RELOC_SECTION_TEXT; in mips_relocate_section()
1054 if (int_rel.r_symndx == -1) in mips_relocate_section()
1066 relocation -= int_rel.r_vaddr - input_section->vma; in mips_relocate_section()
1074 int_rel.r_symndx = h->indx; in mips_relocate_section()
1075 if (int_rel.r_symndx == -1) in mips_relocate_section()
1081 int_rel.r_vaddr - input_section->vma))) in mips_relocate_section()
1083 int_rel.r_symndx = 0; in mips_relocate_section()
1113 if (int_rel.r_type != MIPS_R_REFHI) in mips_relocate_section()
1116 + int_rel.r_vaddr in mips_relocate_section()
1120 mips_relocate_hi (&int_rel, in mips_relocate_section()
1129 int_rel.r_vaddr += (input_section->output_section->vma in mips_relocate_section()
1134 mips_ecoff_swap_reloc_out (input_bfd, &int_rel, ext_rel); in mips_relocate_section()
1139 if (int_rel.r_extern) in mips_relocate_section()
1157 int_rel.r_vaddr - input_section->vma, TRUE))) in mips_relocate_section()
1173 relocation += int_rel.r_vaddr; in mips_relocate_section()
1176 if (int_rel.r_type != MIPS_R_REFHI) in mips_relocate_section()
1181 (int_rel.r_vaddr in mips_relocate_section()
1187 mips_relocate_hi (&int_rel, in mips_relocate_section()
1200 && int_rel.r_type == MIPS_R_JMPADDR in mips_relocate_section()
1203 + (int_rel.r_extern ? 0 : s->vma)) in mips_relocate_section()
1207 + (int_rel.r_vaddr - input_section->vma)) in mips_relocate_section()
1222 if (int_rel.r_extern) in mips_relocate_section()
1229 int_rel.r_vaddr - input_section->vma))) in mips_relocate_section()