Lines Matching refs:fix

4755 ppc_pe_fix_adjustable (fixS *fix)
4757 return fix->fx_r_type != BFD_RELOC_PPC_TOC16;
5375 ppc_fix_adjustable (fixS *fix)
5377 valueT val = resolve_symbol_value (fix->fx_addsy);
5378 segT symseg = S_GET_SEGMENT (fix->fx_addsy);
5385 && fix->fx_addsy != ppc_toc_csect
5405 fix->fx_addsy = sy;
5406 fix->fx_addnumber = val - ppc_toc_frag->fr_address;
5411 as_bad_where (fix->fx_file, fix->fx_line,
5416 tc = symbol_get_tc (fix->fx_addsy);
5461 if (scan == fix->fx_addsy)
5467 if (scan == fix->fx_addsy)
5474 fix->fx_offset += val - symbol_get_frag (csect)->fr_address;
5475 fix->fx_addsy = csect;
5483 && ! S_IS_EXTERNAL (fix->fx_addsy))
5485 symbolS *sy = symbol_get_frag (fix->fx_addsy)->fr_symbol;
5487 fix->fx_offset += val - resolve_symbol_value (sy);
5488 fix->fx_addsy = sy;
5500 ppc_force_relocation (fixS *fix)
5502 /* At this point fix->fx_addsy should already have been converted to
5505 if (fix->fx_pcrel
5506 && fix->fx_addsy != NULL
5507 && symbol_get_tc (fix->fx_addsy)->subseg != 0
5508 && ((symbol_get_frag (fix->fx_addsy)->fr_address
5509 > fix->fx_frag->fr_address)
5510 || (symbol_get_tc (fix->fx_addsy)->next != NULL
5511 && (symbol_get_frag (symbol_get_tc (fix->fx_addsy)->next)->fr_address
5512 <= fix->fx_frag->fr_address))))
5515 return generic_force_reloc (fix);
5525 ppc_force_relocation (fixS *fix)
5529 switch (fix->fx_r_type)
5542 if (fix->fx_r_type >= BFD_RELOC_PPC_TLS
5543 && fix->fx_r_type <= BFD_RELOC_PPC64_DTPREL16_HIGHESTA)
5546 return generic_force_reloc (fix);
5550 ppc_fix_adjustable (fixS *fix)
5552 return (fix->fx_r_type != BFD_RELOC_16_GOTOFF
5553 && fix->fx_r_type != BFD_RELOC_LO16_GOTOFF
5554 && fix->fx_r_type != BFD_RELOC_HI16_GOTOFF
5555 && fix->fx_r_type != BFD_RELOC_HI16_S_GOTOFF
5556 && fix->fx_r_type != BFD_RELOC_GPREL16
5557 && fix->fx_r_type != BFD_RELOC_VTABLE_INHERIT
5558 && fix->fx_r_type != BFD_RELOC_VTABLE_ENTRY
5559 && !(fix->fx_r_type >= BFD_RELOC_PPC_TLS
5560 && fix->fx_r_type <= BFD_RELOC_PPC64_DTPREL16_HIGHESTA));