Lines Matching full:fixp
375 md_pcrel_from_section (fixS *fixP, segT sec)
377 if (fixP->fx_addsy != (symbolS *) NULL
378 && (!S_IS_DEFINED (fixP->fx_addsy)
379 || S_GET_SEGMENT (fixP->fx_addsy) != sec))
387 return fixP->fx_where + fixP->fx_frag->fr_address;
391 /* Return the bfd reloc type for OPERAND of INSN at fixup FIXP.
393 *FIXP may be modified if desired. */
398 fixS * fixP ATTRIBUTE_UNUSED)
408 fixP->fx_pcrel = 1;
409 /* fixP->fx_no_overflow = 1; */
414 if (fixP->fx_cgen.opinfo != 0)
415 result = fixP->fx_cgen.opinfo;
416 fixP->fx_no_overflow = 1;
420 fixP->fx_pcrel = 1;
422 fixP->fx_offset -= 8;
449 mt_force_relocation (fixS * fixp ATTRIBUTE_UNUSED)
455 mt_apply_fix (fixS *fixP, valueT *valueP, segT seg)
457 if ((fixP->fx_pcrel != 0) && (fixP->fx_r_type == BFD_RELOC_32))
458 fixP->fx_r_type = BFD_RELOC_32_PCREL;
460 gas_cgen_md_apply_fix (fixP, valueP, seg);
464 mt_fix_adjustable (fixS * fixP)
466 if ((int) fixP->fx_r_type >= (int) BFD_RELOC_UNUSED)
469 int opindex = (int) fixP->fx_r_type - (int) BFD_RELOC_UNUSED;
473 md_cgen_lookup_reloc (insn, operand, fixP);
476 if (fixP->fx_addsy == NULL)
480 if (S_IS_EXTERNAL (fixP->fx_addsy))
483 if (S_IS_WEAK (fixP->fx_addsy))