Lines Matching defs:fixP
358 fixS *fixP;
366 fixP = fix_new_exp (frag_now,
372 fixP->tc_fix_data.arg_format = insn.reloc_arg[i];
373 fixP->tc_fix_data.insn_tag = insn.tag;
859 tc_gen_reloc (asection *seg ATTRIBUTE_UNUSED, fixS *fixp)
864 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
865 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
866 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type);
869 as_bad_where (fixp->fx_file, fixp->fx_line,
871 (int) fixp->fx_r_type);
874 reloc->addend = fixp->fx_addnumber;
893 md_pcrel_from (fixS *fixp)
895 return fixp->fx_frag->fr_address + fixp->fx_where;
938 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
943 char *place = fixP->fx_where + fixP->fx_frag->fr_literal;
945 if (fixP->fx_subsy != NULL)
948 as_bad_subtract (fixP);
951 if (fixP->fx_addsy != NULL)
953 if (fixP->fx_pcrel)
956 val += fixP->fx_frag->fr_address + fixP->fx_where;
958 switch (fixP->fx_r_type)
961 fixP->fx_r_type = BFD_RELOC_32_PCREL;
971 as_bad_where (fixP->fx_file, fixP->fx_line,
978 fixP->fx_addnumber = val;
980 if (fixP->fx_r_type == BFD_RELOC_SPU_PPU32
981 || fixP->fx_r_type == BFD_RELOC_SPU_PPU64
982 || fixP->fx_r_type == BFD_RELOC_SPU_ADD_PIC)
985 if (fixP->fx_addsy == NULL && fixP->fx_pcrel == 0)
987 fixP->fx_done = 1;
990 if (fixP->tc_fix_data.arg_format > A_P)
992 int hi = arg_encode[fixP->tc_fix_data.arg_format].hi;
993 int lo = arg_encode[fixP->tc_fix_data.arg_format].lo;
995 as_bad_where (fixP->fx_file, fixP->fx_line,
1000 switch (fixP->fx_r_type)
1080 as_bad_where (fixP->fx_file, fixP->fx_line,
1082 (int) fixP->fx_r_type);