Lines Matching refs:reloc

101   bfd_reloc_code_real_type reloc;  member
987 fixup->reloc = BFD_RELOC_32_GOT_PCREL; in mn10300_check_fixup()
994 fixup->reloc = BFD_RELOC_32_GOT_PCREL; in mn10300_check_fixup()
998 fixup->reloc = exp->X_md; in mn10300_check_fixup()
1000 if (fixup->reloc == BFD_RELOC_32_PLT_PCREL in mn10300_check_fixup()
1023 fixup.reloc = BFD_RELOC_UNUSED; in mn10300_cons_fix_new()
1027 if (fixup.reloc == BFD_RELOC_MN10300_GOT32) in mn10300_cons_fix_new()
1031 fixup.reloc = BFD_RELOC_MN10300_GOT16; in mn10300_cons_fix_new()
1035 fixup.reloc = BFD_RELOC_MN10300_GOT24; in mn10300_cons_fix_new()
1044 else if (fixup.reloc == BFD_RELOC_UNUSED) in mn10300_cons_fix_new()
1048 fixup.reloc = BFD_RELOC_8; in mn10300_cons_fix_new()
1052 fixup.reloc = BFD_RELOC_16; in mn10300_cons_fix_new()
1056 fixup.reloc = BFD_RELOC_24; in mn10300_cons_fix_new()
1060 fixup.reloc = BFD_RELOC_32; in mn10300_cons_fix_new()
1070 fixup.reloc = BFD_RELOC_UNUSED; in mn10300_cons_fix_new()
1073 fix_new_exp (frag, off, size, &fixup.exp, 0, fixup.reloc); in mn10300_cons_fix_new()
1755 fixups[fc].reloc = BFD_RELOC_UNUSED; in md_assemble()
2063 if (fixups[i].reloc != BFD_RELOC_UNUSED in md_assemble()
2064 && fixups[i].reloc != BFD_RELOC_32_GOT_PCREL in md_assemble()
2065 && fixups[i].reloc != BFD_RELOC_32_GOTOFF in md_assemble()
2066 && fixups[i].reloc != BFD_RELOC_32_PLT_PCREL in md_assemble()
2067 && fixups[i].reloc != BFD_RELOC_MN10300_TLS_GD in md_assemble()
2068 && fixups[i].reloc != BFD_RELOC_MN10300_TLS_LD in md_assemble()
2069 && fixups[i].reloc != BFD_RELOC_MN10300_TLS_LDO in md_assemble()
2070 && fixups[i].reloc != BFD_RELOC_MN10300_TLS_GOTIE in md_assemble()
2071 && fixups[i].reloc != BFD_RELOC_MN10300_TLS_IE in md_assemble()
2072 && fixups[i].reloc != BFD_RELOC_MN10300_TLS_LE in md_assemble()
2073 && fixups[i].reloc != BFD_RELOC_MN10300_GOT32) in md_assemble()
2079 fixups[i].reloc); in md_assemble()
2093 fixups[i].reloc); in md_assemble()
2097 int reloc, pcrel, offset; in md_assemble() local
2100 reloc = BFD_RELOC_NONE; in md_assemble()
2101 if (fixups[i].reloc != BFD_RELOC_UNUSED) in md_assemble()
2102 reloc = fixups[i].reloc; in md_assemble()
2114 if (reloc != BFD_RELOC_NONE) in md_assemble()
2115 pcrel = bfd_reloc_type_lookup (stdoutput, reloc)->pc_relative; in md_assemble()
2120 if (reloc != BFD_RELOC_NONE) in md_assemble()
2125 reloc = BFD_RELOC_32_PCREL; in md_assemble()
2127 reloc = BFD_RELOC_16_PCREL; in md_assemble()
2129 reloc = BFD_RELOC_8_PCREL; in md_assemble()
2136 reloc = BFD_RELOC_32; in md_assemble()
2138 reloc = BFD_RELOC_16; in md_assemble()
2140 reloc = BFD_RELOC_8; in md_assemble()
2147 ((bfd_reloc_code_real_type) reloc)); in md_assemble()
2169 arelent *reloc; in tc_gen_reloc() local
2171 reloc = XNEW (arelent); in tc_gen_reloc()
2173 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type); in tc_gen_reloc()
2174 if (reloc->howto == NULL) in tc_gen_reloc()
2179 free (reloc); in tc_gen_reloc()
2183 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
2184 relocs[0] = reloc; in tc_gen_reloc()
2210 relocs[1] = reloc; in tc_gen_reloc()
2212 reloc2->address = reloc->address; in tc_gen_reloc()
2218 reloc->addend = fixp->fx_offset; in tc_gen_reloc()
2221 reloc->addend += S_GET_VALUE (fixp->fx_addsy); in tc_gen_reloc()
2222 reloc->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; in tc_gen_reloc()
2226 reloc->sym_ptr_ptr = XNEW (asymbol *); in tc_gen_reloc()
2227 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc()
2238 reloc->addend = (S_GET_VALUE (fixp->fx_addsy) in tc_gen_reloc()
2244 md_number_to_chars (fixpos, reloc->addend, 1); in tc_gen_reloc()
2248 md_number_to_chars (fixpos, reloc->addend, 2); in tc_gen_reloc()
2252 md_number_to_chars (fixpos, reloc->addend, 3); in tc_gen_reloc()
2256 md_number_to_chars (fixpos, reloc->addend, 4); in tc_gen_reloc()
2260 reloc->sym_ptr_ptr in tc_gen_reloc()
2265 free (reloc); in tc_gen_reloc()
2271 reloc->sym_ptr_ptr = XNEW (asymbol *); in tc_gen_reloc()
2272 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc()
2273 reloc->addend = fixp->fx_offset; in tc_gen_reloc()