Lines Matching full:fixp
2041 tic6x_init_fix_data (fixS *fixP)
2043 fixP->tc_fix_data.fix_adda = FALSE;
2044 fixP->tc_fix_data.fix_subsy = NULL;
2051 tic6x_fix_adjustable (fixS *fixP)
2053 switch (fixP->fx_r_type)
3779 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
3782 char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
3787 fixP->fx_offset = SEXT (fixP->fx_offset);
3789 if (fixP->fx_addsy == NULL && fixP->fx_pcrel == 0)
3790 fixP->fx_done = 1;
3793 fixP->fx_no_overflow = 1;
3795 switch (fixP->fx_r_type)
3800 fixP->fx_done = 0;
3804 if (fixP->fx_done || !seg->use_rela_p)
3809 if (fixP->fx_done || !seg->use_rela_p)
3812 as_bad_where (fixP->fx_file, fixP->fx_line,
3819 if (fixP->fx_done || !seg->use_rela_p)
3822 as_bad_where (fixP->fx_file, fixP->fx_line,
3835 if (fixP->fx_done || !seg->use_rela_p)
3840 switch (fixP->fx_r_type)
3858 && (fixP->fx_r_type == BFD_RELOC_C6000_ABS_S16
3859 || fixP->fx_r_type == BFD_RELOC_C6000_SBR_S16))
3860 as_bad_where (fixP->fx_file, fixP->fx_line,
3865 if (fixP->fx_done
3866 && fixP->fx_r_type != BFD_RELOC_C6000_ABS_S16
3867 && fixP->fx_r_type != BFD_RELOC_C6000_ABS_L16)
3876 if (fixP->fx_done || !seg->use_rela_p)
3881 switch (fixP->fx_r_type)
3901 if (fixP->fx_done && fixP->fx_r_type != BFD_RELOC_C6000_ABS_H16)
3907 if (fixP->fx_done || !seg->use_rela_p)
3910 int shift = fixP->fx_r_type == BFD_RELOC_C6000_PCR_H16 ? 16 : 0;
3919 if (fixP->fx_done || !seg->use_rela_p)
3925 as_bad_where (fixP->fx_file, fixP->fx_line,
3933 if (fixP->fx_done || !seg->use_rela_p)
3944 if (fixP->tc_fix_data.fix_adda && fixP->fx_done)
3949 as_bad_where (fixP->fx_file, fixP->fx_line,
3952 as_bad_where (fixP->fx_file, fixP->fx_line,
3961 if (fixP->fx_done || !seg->use_rela_p)
3972 if (fixP->tc_fix_data.fix_adda && fixP->fx_done)
3977 as_bad_where (fixP->fx_file, fixP->fx_line,
3980 as_bad_where (fixP->fx_file, fixP->fx_line,
3985 if (fixP->fx_done && fixP->fx_r_type != BFD_RELOC_C6000_SBR_U15_W)
3991 as_bad_where (fixP->fx_file, fixP->fx_line,
3993 if (fixP->fx_done)
3998 if (fixP->fx_done || !seg->use_rela_p)
4005 as_bad_where (fixP->fx_file, fixP->fx_line,
4008 as_bad_where (fixP->fx_file, fixP->fx_line,
4016 if (fixP->fx_done || !seg->use_rela_p)
4023 as_bad_where (fixP->fx_file, fixP->fx_line,
4026 as_bad_where (fixP->fx_file, fixP->fx_line,
4034 if (fixP->fx_done || !seg->use_rela_p)
4041 as_bad_where (fixP->fx_file, fixP->fx_line,
4044 as_bad_where (fixP->fx_file, fixP->fx_line,
4052 if (fixP->fx_done || !seg->use_rela_p)
4059 as_bad_where (fixP->fx_file, fixP->fx_line,
4062 as_bad_where (fixP->fx_file, fixP->fx_line,
4071 fixP->fx_done = 0;
4469 tic6x_pcrel_from_section (fixS *fixp, segT sec)
4471 fixp->fx_addsy != NULL
4472 && (!S_IS_DEFINED (fixp->fx_addsy)
4473 || S_GET_SEGMENT (fixp->fx_addsy) != sec))
4475 return (fixp->fx_where + fixp->fx_frag->fr_address) & ~(long) 0x1f;
4502 tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp)
4510 symbol = symbol_get_bfdsym (fixp->fx_addsy);
4512 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
4513 reloc->addend = (tic6x_generate_rela ? fixp->fx_offset : 0);
4514 r_type = fixp->fx_r_type;
4519 as_bad_where (fixp->fx_file, fixp->fx_line,
4535 symbolS *t = fixp->tc_fix_data.fix_subsy;
4541 as_bad_where (fixp->fx_file, fixp->fx_line,