Lines Matching defs:fix

4707 ppc_pe_fix_adjustable (fixS *fix)
4709 return fix->fx_r_type != BFD_RELOC_PPC_TOC16;
5327 ppc_fix_adjustable (fixS *fix)
5329 valueT val = resolve_symbol_value (fix->fx_addsy);
5330 segT symseg = S_GET_SEGMENT (fix->fx_addsy);
5337 && fix->fx_addsy != ppc_toc_csect
5357 fix->fx_addsy = sy;
5358 fix->fx_addnumber = val - ppc_toc_frag->fr_address;
5363 as_bad_where (fix->fx_file, fix->fx_line,
5368 tc = symbol_get_tc (fix->fx_addsy);
5413 if (scan == fix->fx_addsy)
5419 if (scan == fix->fx_addsy)
5426 fix->fx_offset += val - symbol_get_frag (csect)->fr_address;
5427 fix->fx_addsy = csect;
5435 && ! S_IS_EXTERNAL (fix->fx_addsy))
5437 symbolS *sy = symbol_get_frag (fix->fx_addsy)->fr_symbol;
5439 fix->fx_offset += val - resolve_symbol_value (sy);
5440 fix->fx_addsy = sy;
5452 ppc_force_relocation (fixS *fix)
5454 /* At this point fix->fx_addsy should already have been converted to
5457 if (fix->fx_pcrel
5458 && fix->fx_addsy != NULL
5459 && symbol_get_tc (fix->fx_addsy)->subseg != 0
5460 && ((symbol_get_frag (fix->fx_addsy)->fr_address
5461 > fix->fx_frag->fr_address)
5462 || (symbol_get_tc (fix->fx_addsy)->next != NULL
5463 && (symbol_get_frag (symbol_get_tc (fix->fx_addsy)->next)->fr_address
5464 <= fix->fx_frag->fr_address))))
5467 return generic_force_reloc (fix);
5477 ppc_force_relocation (fixS *fix)
5481 switch (fix->fx_r_type)
5494 if (fix->fx_r_type >= BFD_RELOC_PPC_TLS
5495 && fix->fx_r_type <= BFD_RELOC_PPC64_DTPREL16_HIGHESTA)
5498 return generic_force_reloc (fix);
5502 ppc_fix_adjustable (fixS *fix)
5504 return (fix->fx_r_type != BFD_RELOC_16_GOTOFF
5505 && fix->fx_r_type != BFD_RELOC_LO16_GOTOFF
5506 && fix->fx_r_type != BFD_RELOC_HI16_GOTOFF
5507 && fix->fx_r_type != BFD_RELOC_HI16_S_GOTOFF
5508 && fix->fx_r_type != BFD_RELOC_GPREL16
5509 && fix->fx_r_type != BFD_RELOC_VTABLE_INHERIT
5510 && fix->fx_r_type != BFD_RELOC_VTABLE_ENTRY
5511 && !(fix->fx_r_type >= BFD_RELOC_PPC_TLS
5512 && fix->fx_r_type <= BFD_RELOC_PPC64_DTPREL16_HIGHESTA));