Lines Matching defs:fixP

1263 md_pcrel_from (fixS *fixP)
1266 return fixP->fx_frag->fr_address + fixP->fx_where + fixP->fx_size;
1278 md_apply_fix (fixS *fixP, valueT * valP, segT seg)
1282 if (fixP->fx_addsy == (symbolS *) NULL)
1283 fixP->fx_done = 1;
1285 else if (fixP->fx_pcrel)
1288 if (S_GET_SEGMENT (fixP->fx_addsy) != seg)
1289 value += md_pcrel_from (fixP);
1293 if (fixP->fx_subsy != NULL)
1294 as_bad_where (fixP->fx_file, fixP->fx_line, _("expression too complex"));
1296 if ((int) fixP->fx_r_type >= (int) BFD_RELOC_UNUSED)
1303 opindex = (int) fixP->fx_r_type - (int) BFD_RELOC_UNUSED;
1309 where = fixP->fx_frag->fr_literal + fixP->fx_where;
1315 fixP->fx_file, fixP->fx_line);
1321 if (fixP->fx_done)
1336 fixP->fx_r_type = BFD_RELOC_ARC_B22_PCREL;
1343 fixP->fx_r_type = BFD_RELOC_ARC_B26;
1350 fixP->fx_r_type = BFD_RELOC_32;
1354 as_bad_where (fixP->fx_file, fixP->fx_line,
1356 fixP->fx_done = 1;
1362 switch (fixP->fx_r_type)
1365 md_number_to_chars (fixP->fx_frag->fr_literal + fixP->fx_where,
1369 md_number_to_chars (fixP->fx_frag->fr_literal + fixP->fx_where,
1373 md_number_to_chars (fixP->fx_frag->fr_literal + fixP->fx_where,
1377 /* If !fixP->fx_done then `value' is an implicit addend.
1382 md_number_to_chars (fixP->fx_frag->fr_literal + fixP->fx_where,
1396 fixS *fixP)
1403 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixP->fx_addsy);
1404 reloc->address = fixP->fx_frag->fr_address + fixP->fx_where;
1405 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixP->fx_r_type);
1408 as_bad_where (fixP->fx_file, fixP->fx_line,
1410 fixP->fx_r_type,
1411 bfd_get_reloc_code_name (fixP->fx_r_type));
1415 assert (!fixP->fx_pcrel == !reloc->howto->pc_relative);
1420 reloc->addend = (fixP->fx_pcrel ? -4 : 0);