Lines Matching refs:fixp

2166 tc_gen_reloc (asection *seg ATTRIBUTE_UNUSED, fixS *fixp)  in tc_gen_reloc()  argument
2174 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type); in tc_gen_reloc()
2177 as_bad_where (fixp->fx_file, fixp->fx_line, in tc_gen_reloc()
2179 (int) fixp->fx_r_type); in tc_gen_reloc()
2184 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where; in tc_gen_reloc()
2188 if (fixp->fx_subsy in tc_gen_reloc()
2189 && S_GET_SEGMENT (fixp->fx_subsy) == absolute_section) in tc_gen_reloc()
2191 fixp->fx_offset -= S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc()
2192 fixp->fx_subsy = NULL; in tc_gen_reloc()
2195 if (fixp->fx_addsy && fixp->fx_subsy) in tc_gen_reloc()
2199 asec = S_GET_SEGMENT (fixp->fx_addsy); in tc_gen_reloc()
2200 ssec = S_GET_SEGMENT (fixp->fx_subsy); in tc_gen_reloc()
2215 reloc2->addend = - S_GET_VALUE (fixp->fx_subsy); in tc_gen_reloc()
2217 *reloc2->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_subsy); in tc_gen_reloc()
2219 reloc->addend = fixp->fx_offset; in tc_gen_reloc()
2222 reloc->addend += S_GET_VALUE (fixp->fx_addsy); in tc_gen_reloc()
2228 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc()
2231 fixp->fx_pcrel = 0; in tc_gen_reloc()
2232 fixp->fx_done = 1; in tc_gen_reloc()
2237 char *fixpos = fixp->fx_where + fixp->fx_frag->fr_literal; in tc_gen_reloc()
2239 reloc->addend = (S_GET_VALUE (fixp->fx_addsy) in tc_gen_reloc()
2240 - S_GET_VALUE (fixp->fx_subsy) + fixp->fx_offset); in tc_gen_reloc()
2242 switch (fixp->fx_r_type) in tc_gen_reloc()
2273 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy); in tc_gen_reloc()
2274 reloc->addend = fixp->fx_offset; in tc_gen_reloc()
2316 md_pcrel_from (fixS *fixp) in md_pcrel_from() argument
2318 if (fixp->fx_addsy != (symbolS *) NULL in md_pcrel_from()
2319 && (!S_IS_DEFINED (fixp->fx_addsy) || S_IS_WEAK (fixp->fx_addsy))) in md_pcrel_from()
2323 return fixp->fx_frag->fr_address + fixp->fx_where; in md_pcrel_from()
2405 mn10300_fix_adjustable (struct fix *fixp) in mn10300_fix_adjustable() argument
2407 if (fixp->fx_pcrel) in mn10300_fix_adjustable()
2409 if (TC_FORCE_RELOCATION_LOCAL (fixp)) in mn10300_fix_adjustable()
2414 else if (TC_FORCE_RELOCATION (fixp)) in mn10300_fix_adjustable()
2421 if (S_GET_SEGMENT (fixp->fx_addsy)->flags & SEC_CODE) in mn10300_fix_adjustable()
2428 if (! (S_GET_SEGMENT (fixp->fx_addsy)->flags & SEC_MERGE)) in mn10300_fix_adjustable()
2431 if (strncmp (S_GET_SEGMENT (fixp->fx_addsy)->name, ".debug", 6) == 0) in mn10300_fix_adjustable()
2631 mn10300_force_relocation (struct fix * fixp) in mn10300_force_relocation() argument
2634 && (fixp->fx_pcrel in mn10300_force_relocation()
2635 || fixp->fx_r_type == BFD_RELOC_MN10300_ALIGN)) in mn10300_force_relocation()
2638 return generic_force_reloc (fixp); in mn10300_force_relocation()