Lines Matching refs:fixP

1767       fixS *fixP;
1808 fixP = fix_new_exp (frag_now, f - frag_now->fr_literal, size,
1828 fixP->fx_no_overflow = 1;
1832 fixP->fx_no_overflow = 1;
1833 fixP->fx_addsy = section_symbol (now_seg);
1834 fixP->fx_offset = 0;
1842 fixP->tc_fix_data.info = info;
1846 fixP->fx_no_overflow = 1;
1854 fixP->tc_fix_data.info = info;
1855 info->slaves = fixP;
1860 fixP->fx_no_overflow = 1;
1865 info->master = fixP;
1869 fixP->tc_fix_data.info = info;
1874 fixP->fx_offset = LITUSE_ALPHA_ADDR;
1877 fixP->fx_offset = LITUSE_ALPHA_BASE;
1880 fixP->fx_offset = LITUSE_ALPHA_BYTOFF;
1883 fixP->fx_offset = LITUSE_ALPHA_JSR;
1886 fixP->fx_offset = LITUSE_ALPHA_TLSGD;
1889 fixP->fx_offset = LITUSE_ALPHA_TLSLDM;
1892 fixP->fx_offset = LITUSE_ALPHA_JSRDIRECT;
1895 fixP->fx_addsy = section_symbol (now_seg);
1896 fixP->fx_r_type = BFD_RELOC_ALPHA_LITUSE;
1912 fixP->tc_fix_data.info = info;
1913 fixP->tc_fix_data.next_reloc = info->slaves;
1914 info->slaves = fixP;
1920 fixP->fx_no_overflow = 1;
1932 fixP->tc_fix_data.info = info;
1936 fixP->fx_no_overflow = 1;
1948 fixP->tc_fix_data.info = info;
1957 fixP->tc_fix_data.info = info;
1958 fixP->tc_fix_data.info->sym = fixup->xtrasym;
1959 fixP->tc_fix_data.info->psym = fixup->procsym;
1967 fixP->fx_no_overflow = 1;
5711 md_pcrel_from (fixS *fixP)
5713 valueT addr = fixP->fx_where + fixP->fx_frag->fr_address;
5715 switch (fixP->fx_r_type)
5728 To indicate that a fixup has been eliminated, set fixP->fx_done.
5737 md_apply_fix (fixS *fixP, valueT * valP, segT seg)
5739 char * const fixpos = fixP->fx_frag->fr_literal + fixP->fx_where;
5743 switch (fixP->fx_r_type)
5751 fixS *next = fixP->fx_next;
5757 fixP->fx_offset = (next->fx_frag->fr_address + next->fx_where
5758 - fixP->fx_frag->fr_address - fixP->fx_where);
5763 fixP->fx_r_type = BFD_RELOC_ALPHA_GPDISP;
5769 fixP->fx_offset = 0;
5771 fixP->fx_done = 1;
5775 fixP->fx_addsy = section_symbol (seg);
5780 if (fixP->fx_pcrel)
5781 fixP->fx_r_type = BFD_RELOC_8_PCREL;
5786 if (fixP->fx_pcrel)
5787 fixP->fx_r_type = BFD_RELOC_16_PCREL;
5792 if (fixP->fx_pcrel)
5793 fixP->fx_r_type = BFD_RELOC_32_PCREL;
5798 if (fixP->fx_pcrel)
5799 fixP->fx_r_type = BFD_RELOC_64_PCREL;
5803 if (fixP->fx_pcrel == 0 && fixP->fx_addsy == 0)
5812 gas_assert (fixP->fx_subsy == alpha_gp_symbol);
5813 fixP->fx_subsy = 0;
5826 if (fixP->fx_pcrel == 0 && fixP->fx_addsy == 0)
5835 if (fixP->fx_pcrel == 0 && fixP->fx_addsy == 0)
5857 if (fixP->fx_addsy)
5858 S_SET_THREAD_LOCAL (fixP->fx_addsy);
5881 if (S_GET_SEGMENT (fixP->fx_addsy) == undefined_section)
5883 fixP->fx_addnumber = -value;
5897 /* fixup_segment sets fixP->fx_addsy to NULL when it can pre-compute
5899 if (fixP->fx_addsy
5900 && S_GET_SEGMENT (fixP->fx_addsy) == undefined_section)
5902 fixP->fx_addnumber = symbol_get_bfdsym (fixP->fx_subsy)->value;
5920 if (S_GET_SEGMENT (fixP->fx_addsy) == undefined_section)
5922 fixP->fx_addnumber = -value;
5929 if (fixP->fx_r_type == BFD_RELOC_ALPHA_BOH)
5954 if ((int) fixP->fx_r_type >= 0)
5956 bfd_get_reloc_code_name (fixP->fx_r_type));
5958 gas_assert (-(int) fixP->fx_r_type < (int) alpha_num_operands);
5959 operand = &alpha_operands[-(int) fixP->fx_r_type];
5965 if (fixP->fx_addsy != 0
5966 && S_GET_SEGMENT (fixP->fx_addsy) != absolute_section)
5967 as_bad_where (fixP->fx_file, fixP->fx_line,
5972 fixP->fx_file, fixP->fx_line);
5977 if (fixP->fx_addsy != 0 || fixP->fx_pcrel != 0)
5981 as_warn_where (fixP->fx_file, fixP->fx_line,
5982 _("type %d reloc done?\n"), (int) fixP->fx_r_type);
5990 fixP->fx_done = 1;