Lines Matching defs:fixP

261   fixS *fixP;
265 fixP = fix_new (frag, where, length / 8, symbol, offset,
270 fixP->fx_cgen.insn = insn;
271 fixP->fx_cgen.opinfo = opinfo;
272 fixP->fx_cgen.field = NULL;
273 fixP->fx_cgen.msb_field_p = 0;
275 return fixP;
301 fixS *fixP;
305 fixP = fix_new_exp (frag, where, length / 8, exp,
310 fixP->fx_cgen.insn = insn;
311 fixP->fx_cgen.opinfo = opinfo;
312 fixP->fx_cgen.field = NULL;
313 fixP->fx_cgen.msb_field_p = 0;
315 return fixP;
662 fixS *fixP;
678 fixP = md_cgen_record_fixup_exp (frag_now, f - frag_now->fr_literal,
682 fixP->fx_cgen.field = fixups[i].field;
683 fixP->fx_cgen.msb_field_p = fixups[i].msb_field_p;
685 result->fixups[i] = fixP;
869 gas_cgen_md_apply_fix (fixP, valP, seg)
870 fixS * fixP;
874 char *where = fixP->fx_frag->fr_literal + fixP->fx_where;
879 if (fixP->fx_addsy == (symbolS *) NULL)
880 fixP->fx_done = 1;
883 if (fixP->fx_subsy != (symbolS *) NULL)
884 as_bad_where (fixP->fx_file, fixP->fx_line, _("expression too complex"));
886 if ((int) fixP->fx_r_type >= (int) BFD_RELOC_UNUSED)
888 int opindex = (int) fixP->fx_r_type - (int) BFD_RELOC_UNUSED;
893 const CGEN_INSN *insn = fixP->fx_cgen.insn;
898 if (fixP->fx_cgen.field)
902 start = fixP->fx_cgen.field->val.leaf->start;
903 length = fixP->fx_cgen.field->val.leaf->length;
921 if (fixP->fx_done
924 || fixP->fx_pcrel)
948 as_bad_where (fixP->fx_file, fixP->fx_line, "%s", errmsg);
951 if (fixP->fx_done)
959 reloc_type = md_cgen_lookup_reloc (insn, operand, fixP);
966 length, fixP->fx_size,
969 ! (fixP->fx_cgen.msb_field_p));
974 fixP->fx_r_type = reloc_type;
977 as_bad_where (fixP->fx_file, fixP->fx_line,
979 fixP->fx_done = 1;
983 else if (fixP->fx_done)
987 switch (fixP->fx_r_type)
1002 as_bad_where (fixP->fx_file, fixP->fx_line,
1004 fixP->fx_r_type, bfd_get_reloc_code_name (fixP->fx_r_type));
1014 fixP->fx_addnumber = value;
1022 gas_cgen_tc_gen_reloc (section, fixP)
1024 fixS * fixP;
1029 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixP->fx_r_type);
1032 as_bad_where (fixP->fx_file, fixP->fx_line,
1037 assert (!fixP->fx_pcrel == !reloc->howto->pc_relative);
1040 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixP->fx_addsy);
1043 if (fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY
1044 || fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT)
1045 reloc->addend = fixP->fx_offset;
1047 reloc->addend = fixP->fx_addnumber;
1049 reloc->address = fixP->fx_frag->fr_address + fixP->fx_where;