Lines Matching full:fixp
2044 tic6x_init_fix_data (fixS *fixP)
2046 fixP->tc_fix_data.fix_adda = FALSE;
2047 fixP->tc_fix_data.fix_subsy = NULL;
2054 tic6x_fix_adjustable (fixS *fixP)
2056 switch (fixP->fx_r_type)
3782 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
3785 char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
3790 fixP->fx_offset = SEXT (fixP->fx_offset);
3792 if (fixP->fx_addsy == NULL && fixP->fx_pcrel == 0)
3793 fixP->fx_done = 1;
3796 fixP->fx_no_overflow = 1;
3798 switch (fixP->fx_r_type)
3803 fixP->fx_done = 0;
3807 if (fixP->fx_done || !seg->use_rela_p)
3812 if (fixP->fx_done || !seg->use_rela_p)
3815 as_bad_where (fixP->fx_file, fixP->fx_line,
3822 if (fixP->fx_done || !seg->use_rela_p)
3825 as_bad_where (fixP->fx_file, fixP->fx_line,
3838 if (fixP->fx_done || !seg->use_rela_p)
3843 switch (fixP->fx_r_type)
3861 && (fixP->fx_r_type == BFD_RELOC_C6000_ABS_S16
3862 || fixP->fx_r_type == BFD_RELOC_C6000_SBR_S16))
3863 as_bad_where (fixP->fx_file, fixP->fx_line,
3868 if (fixP->fx_done
3869 && fixP->fx_r_type != BFD_RELOC_C6000_ABS_S16
3870 && fixP->fx_r_type != BFD_RELOC_C6000_ABS_L16)
3879 if (fixP->fx_done || !seg->use_rela_p)
3884 switch (fixP->fx_r_type)
3904 if (fixP->fx_done && fixP->fx_r_type != BFD_RELOC_C6000_ABS_H16)
3910 if (fixP->fx_done || !seg->use_rela_p)
3913 int shift = fixP->fx_r_type == BFD_RELOC_C6000_PCR_H16 ? 16 : 0;
3922 if (fixP->fx_done || !seg->use_rela_p)
3928 as_bad_where (fixP->fx_file, fixP->fx_line,
3936 if (fixP->fx_done || !seg->use_rela_p)
3947 if (fixP->tc_fix_data.fix_adda && fixP->fx_done)
3952 as_bad_where (fixP->fx_file, fixP->fx_line,
3955 as_bad_where (fixP->fx_file, fixP->fx_line,
3964 if (fixP->fx_done || !seg->use_rela_p)
3975 if (fixP->tc_fix_data.fix_adda && fixP->fx_done)
3980 as_bad_where (fixP->fx_file, fixP->fx_line,
3983 as_bad_where (fixP->fx_file, fixP->fx_line,
3988 if (fixP->fx_done && fixP->fx_r_type != BFD_RELOC_C6000_SBR_U15_W)
3994 as_bad_where (fixP->fx_file, fixP->fx_line,
3996 if (fixP->fx_done)
4001 if (fixP->fx_done || !seg->use_rela_p)
4008 as_bad_where (fixP->fx_file, fixP->fx_line,
4011 as_bad_where (fixP->fx_file, fixP->fx_line,
4019 if (fixP->fx_done || !seg->use_rela_p)
4026 as_bad_where (fixP->fx_file, fixP->fx_line,
4029 as_bad_where (fixP->fx_file, fixP->fx_line,
4037 if (fixP->fx_done || !seg->use_rela_p)
4044 as_bad_where (fixP->fx_file, fixP->fx_line,
4047 as_bad_where (fixP->fx_file, fixP->fx_line,
4055 if (fixP->fx_done || !seg->use_rela_p)
4062 as_bad_where (fixP->fx_file, fixP->fx_line,
4065 as_bad_where (fixP->fx_file, fixP->fx_line,
4074 fixP->fx_done = 0;
4472 tic6x_pcrel_from_section (fixS *fixp, segT sec)
4474 if (fixp->fx_addsy != NULL
4475 && (!S_IS_DEFINED (fixp->fx_addsy)
4476 || S_GET_SEGMENT (fixp->fx_addsy) != sec))
4478 return (fixp->fx_where + fixp->fx_frag->fr_address) & ~(long) 0x1f;
4505 tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp)
4513 symbol = symbol_get_bfdsym (fixp->fx_addsy);
4515 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
4516 reloc->addend = (tic6x_generate_rela ? fixp->fx_offset : 0);
4517 r_type = fixp->fx_r_type;
4522 as_bad_where (fixp->fx_file, fixp->fx_line,
4538 symbolS *t = fixp->tc_fix_data.fix_subsy;
4544 as_bad_where (fixp->fx_file, fixp->fx_line,