Lines Matching defs:fixP

1593 tc_i386_fix_adjustable (fixS *fixP ATTRIBUTE_UNUSED)
1602 && (S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0
1603 && fixP->fx_pcrel)
1608 if (GOT_symbol && fixP->fx_subsy == GOT_symbol
1609 && fixP->fx_r_type == BFD_RELOC_32_PCREL)
1613 if (fixP->fx_r_type == BFD_RELOC_386_GOTOFF
1614 || fixP->fx_r_type == BFD_RELOC_386_PLT32
1615 || fixP->fx_r_type == BFD_RELOC_386_GOT32
1616 || fixP->fx_r_type == BFD_RELOC_386_TLS_GD
1617 || fixP->fx_r_type == BFD_RELOC_386_TLS_LDM
1618 || fixP->fx_r_type == BFD_RELOC_386_TLS_LDO_32
1619 || fixP->fx_r_type == BFD_RELOC_386_TLS_IE_32
1620 || fixP->fx_r_type == BFD_RELOC_386_TLS_IE
1621 || fixP->fx_r_type == BFD_RELOC_386_TLS_GOTIE
1622 || fixP->fx_r_type == BFD_RELOC_386_TLS_LE_32
1623 || fixP->fx_r_type == BFD_RELOC_386_TLS_LE
1624 || fixP->fx_r_type == BFD_RELOC_386_TLS_GOTDESC
1625 || fixP->fx_r_type == BFD_RELOC_386_TLS_DESC_CALL
1626 || fixP->fx_r_type == BFD_RELOC_X86_64_PLT32
1627 || fixP->fx_r_type == BFD_RELOC_X86_64_GOT32
1628 || fixP->fx_r_type == BFD_RELOC_X86_64_GOTPCREL
1629 || fixP->fx_r_type == BFD_RELOC_X86_64_TLSGD
1630 || fixP->fx_r_type == BFD_RELOC_X86_64_TLSLD
1631 || fixP->fx_r_type == BFD_RELOC_X86_64_DTPOFF32
1632 || fixP->fx_r_type == BFD_RELOC_X86_64_DTPOFF64
1633 || fixP->fx_r_type == BFD_RELOC_X86_64_GOTTPOFF
1634 || fixP->fx_r_type == BFD_RELOC_X86_64_TPOFF32
1635 || fixP->fx_r_type == BFD_RELOC_X86_64_TPOFF64
1636 || fixP->fx_r_type == BFD_RELOC_X86_64_GOTOFF64
1637 || fixP->fx_r_type == BFD_RELOC_X86_64_GOTPC32_TLSDESC
1638 || fixP->fx_r_type == BFD_RELOC_X86_64_TLSDESC_CALL
1639 || fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT
1640 || fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
3831 fixS *fixP;
3882 fixP = fix_new_exp (frag_now, p - frag_now->fr_literal, size,
3889 fixP->fx_signed = 1;
5399 fixS *fixP;
5402 fixP = fix_new (fragP, old_fr_fix, 1,
5406 fixP->fx_signed = 1;
5594 md_apply_fix (fixP, valP, seg)
5596 fixS *fixP;
5602 char *p = fixP->fx_where + fixP->fx_frag->fr_literal;
5606 if (fixP->fx_pcrel)
5608 switch (fixP->fx_r_type)
5614 fixP->fx_r_type = BFD_RELOC_64_PCREL;
5618 fixP->fx_r_type = BFD_RELOC_32_PCREL;
5621 fixP->fx_r_type = BFD_RELOC_16_PCREL;
5624 fixP->fx_r_type = BFD_RELOC_8_PCREL;
5629 if (fixP->fx_addsy != NULL
5630 && (fixP->fx_r_type == BFD_RELOC_32_PCREL
5631 || fixP->fx_r_type == BFD_RELOC_64_PCREL
5632 || fixP->fx_r_type == BFD_RELOC_16_PCREL
5633 || fixP->fx_r_type == BFD_RELOC_8_PCREL)
5646 value += fixP->fx_where + fixP->fx_frag->fr_address;
5651 segT sym_seg = S_GET_SEGMENT (fixP->fx_addsy);
5654 || (symbol_section_p (fixP->fx_addsy)
5656 && !generic_force_reloc (fixP))
5662 value += fixP->fx_where + fixP->fx_frag->fr_address;
5669 if (S_GET_SEGMENT (fixP->fx_addsy) != seg
5670 || S_IS_WEAK (fixP->fx_addsy))
5671 value += md_pcrel_from (fixP);
5678 if (IS_ELF && fixP->fx_addsy)
5679 switch (fixP->fx_r_type)
5707 S_SET_THREAD_LOCAL (fixP->fx_addsy);
5713 S_SET_THREAD_LOCAL (fixP->fx_addsy);
5714 fixP->fx_done = 0;
5724 fixP->fx_done = 0;
5735 if (fixP->fx_addsy == NULL)
5736 fixP->fx_done = 1;
5739 fixP->fx_no_overflow = 1;
5741 fixP->fx_addnumber = value;
5745 md_number_to_chars (p, value, fixP->fx_size);
6322 md_pcrel_from (fixS *fixP)
6324 return fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;