Lines Matching full:fixp
145 /* Return the bfd reloc type for OPERAND of INSN at fixup FIXP.
147 *FIXP may be modified if desired. */
152 fixS *fixP)
158 fixP->fx_where += 1;
159 fixP->fx_pcrel = 1;
163 fixP->fx_size = 2;
164 fixP->fx_where += 2;
169 fixP->fx_where += 1;
170 fixP->fx_pcrel = 1;
175 fixP->fx_size = 2;
176 fixP->fx_where += 2;
180 fixP->fx_size = 2;
181 fixP->fx_where += 2;
185 fixP->fx_size = 2;
186 fixP->fx_where += 2;
191 fixP->fx_where += 1;
196 fixP->fx_size = 2;
197 fixP->fx_where += 2;
257 md_pcrel_from (fixS *fixP)
260 temp_val=fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;
266 md_pcrel_from_section (fixS *fixP, segT sec)
268 if (fixP->fx_addsy != (symbolS *) NULL
269 && (! S_IS_DEFINED (fixP->fx_addsy)
270 || S_GET_SEGMENT (fixP->fx_addsy) != sec
271 || S_IS_EXTERNAL (fixP->fx_addsy)
272 || S_IS_WEAK (fixP->fx_addsy)))
277 return md_pcrel_from (fixP);
281 tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp)
286 if (fixp->fx_addsy && fixp->fx_subsy)
288 if ((S_GET_SEGMENT (fixp->fx_addsy) != S_GET_SEGMENT (fixp->fx_subsy))
289 || S_GET_SEGMENT (fixp->fx_addsy) == undefined_section)
291 as_bad_where (fixp->fx_file, fixp->fx_line,
299 *rel->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
300 rel->address = fixp->fx_frag->fr_address + fixp->fx_where;
301 rel->addend = fixp->fx_offset;
303 r_type = fixp->fx_r_type;
314 as_bad_where (fixp->fx_file, fixp->fx_line,
324 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
338 gas_cgen_md_apply_fix (fixP, valP, seg);