Lines Matching refs:fixP

3602 tc_i386_fix_adjustable (fixS *fixP)
3610 && (S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0
3611 && fixP->fx_pcrel)
3616 if (GOT_symbol && fixP->fx_subsy == GOT_symbol
3617 && fixP->fx_r_type == BFD_RELOC_32_PCREL)
3622 if (fixP->fx_r_type == BFD_RELOC_SIZE32
3623 || fixP->fx_r_type == BFD_RELOC_SIZE64
3624 || fixP->fx_r_type == BFD_RELOC_386_GOTOFF
3625 || fixP->fx_r_type == BFD_RELOC_386_GOT32
3626 || fixP->fx_r_type == BFD_RELOC_386_GOT32X
3627 || fixP->fx_r_type == BFD_RELOC_386_TLS_GD
3628 || fixP->fx_r_type == BFD_RELOC_386_TLS_LDM
3629 || fixP->fx_r_type == BFD_RELOC_386_TLS_LDO_32
3630 || fixP->fx_r_type == BFD_RELOC_386_TLS_IE_32
3631 || fixP->fx_r_type == BFD_RELOC_386_TLS_IE
3632 || fixP->fx_r_type == BFD_RELOC_386_TLS_GOTIE
3633 || fixP->fx_r_type == BFD_RELOC_386_TLS_LE_32
3634 || fixP->fx_r_type == BFD_RELOC_386_TLS_LE
3635 || fixP->fx_r_type == BFD_RELOC_386_TLS_GOTDESC
3636 || fixP->fx_r_type == BFD_RELOC_386_TLS_DESC_CALL
3637 || fixP->fx_r_type == BFD_RELOC_X86_64_GOT32
3638 || fixP->fx_r_type == BFD_RELOC_X86_64_GOTPCREL
3639 || fixP->fx_r_type == BFD_RELOC_X86_64_GOTPCRELX
3640 || fixP->fx_r_type == BFD_RELOC_X86_64_REX_GOTPCRELX
3641 || fixP->fx_r_type == BFD_RELOC_X86_64_CODE_4_GOTPCRELX
3642 || fixP->fx_r_type == BFD_RELOC_X86_64_TLSGD
3643 || fixP->fx_r_type == BFD_RELOC_X86_64_TLSLD
3644 || fixP->fx_r_type == BFD_RELOC_X86_64_DTPOFF32
3645 || fixP->fx_r_type == BFD_RELOC_X86_64_DTPOFF64
3646 || fixP->fx_r_type == BFD_RELOC_X86_64_GOTTPOFF
3647 || fixP->fx_r_type == BFD_RELOC_X86_64_CODE_4_GOTTPOFF
3648 || fixP->fx_r_type == BFD_RELOC_X86_64_TPOFF32
3649 || fixP->fx_r_type == BFD_RELOC_X86_64_TPOFF64
3650 || fixP->fx_r_type == BFD_RELOC_X86_64_GOTOFF64
3651 || fixP->fx_r_type == BFD_RELOC_X86_64_GOTPC32_TLSDESC
3652 || fixP->fx_r_type == BFD_RELOC_X86_64_CODE_4_GOTPC32_TLSDESC
3653 || fixP->fx_r_type == BFD_RELOC_X86_64_TLSDESC_CALL
3654 || fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT
3655 || fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
10753 fixS *fixP;
10837 fixP = fix_new_exp (frag_now, p - frag_now->fr_literal, size,
10847 fixP->fx_signed = 1;
10852 fixP->fx_signed = 1;
10857 fixP->fx_signed = 1;
11926 fixS *fixP;
12005 fixP = fix_new_exp (frag_now, p - frag_now->fr_literal,
12011 fixP->fx_signed = 1;
12015 fixP->fx_tcbit3 = 1;
12040 fixP->fx_tcbit = i.rex != 0;
12043 fixP->fx_tcbit2 = 1;
12046 fixP->fx_tcbit2 = 1;
15086 fixS *fixP = NULL;
15110 fixP = fix_new (fragP, old_fr_fix, size,
15141 fixP = fix_new (fragP, old_fr_fix, 1,
15145 fixP->fx_signed = 1;
15155 fixP = fix_new (fragP, old_fr_fix + 1, size,
15170 fixP->fx_signed = 1;
15394 /* Apply a fixup (fixP) to segment data, once it has been determined
15404 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
15406 char *p = fixP->fx_where + fixP->fx_frag->fr_literal;
15410 if (fixP->fx_pcrel)
15412 switch (fixP->fx_r_type)
15418 fixP->fx_r_type = BFD_RELOC_64_PCREL;
15422 fixP->fx_r_type = BFD_RELOC_32_PCREL;
15425 fixP->fx_r_type = BFD_RELOC_16_PCREL;
15428 fixP->fx_r_type = BFD_RELOC_8_PCREL;
15433 if (fixP->fx_addsy != NULL
15434 && (fixP->fx_r_type == BFD_RELOC_32_PCREL
15435 || fixP->fx_r_type == BFD_RELOC_64_PCREL
15436 || fixP->fx_r_type == BFD_RELOC_16_PCREL
15437 || fixP->fx_r_type == BFD_RELOC_8_PCREL)
15450 value += fixP->fx_where + fixP->fx_frag->fr_address;
15455 segT sym_seg = S_GET_SEGMENT (fixP->fx_addsy);
15458 || (symbol_section_p (fixP->fx_addsy)
15460 && !generic_force_reloc (fixP))
15466 value += fixP->fx_where + fixP->fx_frag->fr_address;
15473 if (S_GET_SEGMENT (fixP->fx_addsy) != seg
15474 || S_IS_WEAK (fixP->fx_addsy))
15475 value += md_pcrel_from (fixP);
15479 if (fixP->fx_addsy != NULL
15480 && S_IS_WEAK (fixP->fx_addsy)
15482 && ! fixP->fx_pcrel)
15489 if (S_GET_SEGMENT (fixP->fx_addsy) != NULL
15490 && S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_CODE)
15494 value -= S_GET_VALUE (fixP->fx_addsy);
15501 if (IS_ELF && fixP->fx_addsy)
15502 switch (fixP->fx_r_type)
15509 if (fixP->fx_pcrel)
15534 S_SET_THREAD_LOCAL (fixP->fx_addsy);
15540 S_SET_THREAD_LOCAL (fixP->fx_addsy);
15541 fixP->fx_done = 0;
15546 fixP->fx_done = 0;
15562 if (fixP->fx_addsy == NULL)
15564 fixP->fx_done = 1;
15565 switch (fixP->fx_r_type)
15568 fixP->fx_signed = 1;
15576 else if (fixP->fx_addsy != NULL && S_IS_WEAK (fixP->fx_addsy))
15578 fixP->fx_done = 0;
15580 fixP->fx_addnumber = value;
15587 if (!disallow_64bit_reloc || fixP->fx_r_type == NO_RELOC)
15588 fixP->fx_no_overflow = 1;
15590 fixP->fx_addnumber = value;
15594 md_number_to_chars (p, value, fixP->fx_size);
17051 md_pcrel_from (fixS *fixP)
17053 return fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;