Home | History | Annotate | Download | only in config

Lines Matching full:fixp

1125 md_apply_fix (fixS *fixP,
1132 debug ("Values in fixP\n");
1133 debug ("fx_size = %d\n", fixP->fx_size);
1134 debug ("fx_pcrel = %d\n", fixP->fx_pcrel);
1135 debug ("fx_where = %ld\n", fixP->fx_where);
1136 debug ("fx_offset = %d\n", (int) fixP->fx_offset);
1138 char *buf = fixP->fx_frag->fr_literal + fixP->fx_where;
1141 if (fixP->fx_size == 1)
1146 md_number_to_chars (buf, value, fixP->fx_size);
1149 if (fixP->fx_addsy == NULL && fixP->fx_pcrel == 0)
1150 fixP->fx_done = 1;
1186 md_pcrel_from (fixS *fixP)
1191 debug ("fx_where = %ld\n", fixP->fx_where);
1192 debug ("fx_size = %d\n", fixP->fx_size);
1197 if (fixP->fx_frag->fr_literal[fixP->fx_where - fixP->fx_size + 1] & 0x20)
1207 return fixP->fx_where - fixP->fx_size + (INSN_SIZE * offset);
1363 tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixP)
1369 debug ("fixP.size = %d\n", fixP->fx_size);
1370 debug ("fixP.pcrel = %d\n", fixP->fx_pcrel);
1371 debug ("addsy.name = %s\n", S_GET_NAME (fixP->fx_addsy));
1373 switch (F (fixP->fx_size, fixP->fx_pcrel))
1381 as_bad (_("Can not do %d byte %srelocation"), fixP->fx_size,
1382 fixP->fx_pcrel ? _("pc-relative ") : "");
1390 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixP->fx_addsy);
1391 rel->address = fixP->fx_frag->fr_address + fixP->fx_where;
1398 name = S_GET_NAME (fixP->fx_addsy);