Lines Matching defs:fixP

2935       fixS *fixP =  fix_new_exp (frag_now,	/* Which frag.  */
2945 fixP->fx_no_overflow = 1;
2947 fixP->tc_fix_data = the_insn->exp2.X_add_number;
3063 md_apply_fix (fixP, valP, segment)
3064 fixS *fixP;
3068 char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
3072 assert (fixP->fx_r_type < BFD_RELOC_UNUSED);
3074 fixP->fx_addnumber = val; /* Remember value for emit_reloc. */
3078 if (fixP->fx_addsy != NULL)
3080 switch (fixP->fx_r_type)
3106 S_SET_THREAD_LOCAL (fixP->fx_addsy);
3119 if (fixP->fx_r_type == BFD_RELOC_32_PCREL_S2 && fixP->fx_addsy)
3120 val += fixP->fx_where + fixP->fx_frag->fr_address;
3130 if (fixP->fx_addsy != NULL
3131 && fixP->fx_r_type != BFD_RELOC_32_PCREL_S2)
3139 && fixP->fx_r_type != BFD_RELOC_32_PCREL_S2
3140 && fixP->fx_addsy != NULL
3141 && ! S_IS_COMMON (fixP->fx_addsy)
3142 && symbol_section_p (fixP->fx_addsy))
3143 fixP->fx_addnumber -= 2 * S_GET_VALUE (fixP->fx_addsy);
3149 && fixP->fx_r_type == BFD_RELOC_32_PCREL_S2
3150 && fixP->fx_addsy != NULL
3151 && (S_IS_EXTERNAL (fixP->fx_addsy)
3152 || S_IS_WEAK (fixP->fx_addsy))
3153 && S_IS_DEFINED (fixP->fx_addsy)
3154 && ! S_IS_COMMON (fixP->fx_addsy))
3157 fixP->fx_addnumber -= 2 * S_GET_VALUE (fixP->fx_addsy);
3163 if (fixP->fx_r_type == BFD_RELOC_16
3164 || fixP->fx_r_type == BFD_RELOC_SPARC_UA16)
3168 else if (fixP->fx_r_type == BFD_RELOC_32
3169 || fixP->fx_r_type == BFD_RELOC_SPARC_UA32
3170 || fixP->fx_r_type == BFD_RELOC_SPARC_REV32)
3174 else if (fixP->fx_r_type == BFD_RELOC_64
3175 || fixP->fx_r_type == BFD_RELOC_SPARC_UA64)
3179 else if (fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT
3180 || fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
3182 fixP->fx_done = 0;
3194 switch (fixP->fx_r_type)
3201 || fixP->fx_addsy == NULL
3202 || symbol_section_p (fixP->fx_addsy))
3208 if (sparc_relax && fixP->fx_where + 8 <= fixP->fx_frag->fr_fix)
3257 if (fixP->fx_where >= 4
3293 as_bad_where (fixP->fx_file, fixP->fx_line,
3300 as_bad_where (fixP->fx_file, fixP->fx_line,
3307 as_bad_where (fixP->fx_file, fixP->fx_line,
3314 as_bad_where (fixP->fx_file, fixP->fx_line,
3321 as_bad_where (fixP->fx_file, fixP->fx_line,
3330 as_bad_where (fixP->fx_file, fixP->fx_line,
3341 as_bad_where (fixP->fx_file, fixP->fx_line,
3354 if (!fixP->fx_addsy)
3363 as_bad_where (fixP->fx_file, fixP->fx_line,
3373 if (!fixP->fx_addsy)
3382 val += fixP->tc_fix_data;
3387 as_bad_where (fixP->fx_file, fixP->fx_line,
3400 if (!fixP->fx_addsy)
3409 if (!fixP->fx_addsy)
3414 if (!fixP->fx_addsy)
3419 if (!fixP->fx_addsy)
3427 if (!fixP->fx_addsy)
3433 as_bad_where (fixP->fx_file, fixP->fx_line,
3435 fixP->fx_r_type);
3446 if (fixP->fx_addsy == 0 && !fixP->fx_pcrel)
3447 fixP->fx_done = 1;
3714 md_pcrel_from (fixP)
3715 fixS *fixP;
3719 ret = fixP->fx_where + fixP->fx_frag->fr_address;
3721 || fixP->fx_addsy == NULL
3722 || symbol_section_p (fixP->fx_addsy))
3723 ret += fixP->fx_size;