Home | History | Annotate | Download | only in config

Lines Matching full:fixp

3614    fixP	      The fix to be applied to the bit field starting at bufp.
3619 cris_number_to_imm (char *bufp, long val, int n, fixS *fixP, segT seg)
3624 know (fixP);
3630 if (fixP->fx_addsy
3631 && (sym_seg = S_GET_SEGMENT (fixP->fx_addsy)) != seg)
3634 if (fixP->fx_addsy != NULL || fixP->fx_pcrel)
3635 switch (fixP->fx_r_type)
3640 as_bad_where (fixP->fx_file, fixP->fx_line,
3650 && (fixP->fx_addsy != NULL || fixP->fx_pcrel))
3653 switch (fixP->fx_r_type)
3671 if (IS_ELF && fixP->fx_addsy != NULL)
3672 S_SET_THREAD_LOCAL (fixP->fx_addsy);
3691 if (fixP->fx_addsy != NULL || fixP->fx_pcrel)
3712 as_bad_where (fixP->fx_file, fixP->fx_line,
3720 as_bad_where (fixP->fx_file, fixP->fx_line,
3729 as_bad_where (fixP->fx_file, fixP->fx_line, _("Value not in 8 bit range: %ld"), val);
3735 as_bad_where (fixP->fx_file, fixP->fx_line,
3745 as_bad_where (fixP->fx_file, fixP->fx_line,
3752 as_bad_where (fixP->fx_file, fixP->fx_line,
3759 as_bad_where (fixP->fx_file, fixP->fx_line,
3766 as_bad_where (fixP->fx_file, fixP->fx_line,
3779 if (! fixP->fx_addsy)
3785 if (fixP->fx_addsy
3786 && !S_IS_DEFINED (fixP->fx_addsy)
3787 && !S_IS_WEAK (fixP->fx_addsy))
3788 S_SET_WEAK (fixP->fx_addsy);
3792 fixP->fx_done = 0;
3796 BAD_CASE (fixP->fx_r_type);
3913 tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixP)
3918 switch (fixP->fx_r_type)
3954 code = fixP->fx_r_type;
3957 as_bad_where (fixP->fx_file, fixP->fx_line,
3965 *relP->sym_ptr_ptr = symbol_get_bfdsym (fixP->fx_addsy);
3966 relP->address = fixP->fx_frag->fr_address + fixP->fx_where;
3968 relP->addend = fixP->fx_offset;
3993 && fixP->fx_addsy && S_IS_WEAK (fixP->fx_addsy)
3994 && ! bfd_is_und_section (S_GET_SEGMENT (fixP->fx_addsy)))
3996 relP->addend -= S_GET_VALUE (fixP->fx_addsy);
4004 name = S_GET_NAME (fixP->fx_addsy);
4046 md_apply_fix (fixS *fixP, valueT *valP, segT seg)
4052 char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
4054 if (fixP->fx_addsy == 0 && !fixP->fx_pcrel)
4055 fixP->fx_done = 1;
4057 if (fixP->fx_bit_fixP || fixP->fx_im_disp != 0)
4059 as_bad_where (fixP->fx_file, fixP->fx_line, _("Invalid relocation"));
4060 fixP->fx_done = 1;
4065 if (fixP->fx_subsy != (symbolS *) NULL)
4066 as_bad_where (fixP->fx_file, fixP->fx_line,
4070 if (fixP->fx_r_type == BFD_RELOC_CRIS_LAPCQ_OFFSET)
4072 cris_number_to_imm (buf, val, fixP->fx_size, fixP, seg);
4080 md_pcrel_from (fixS *fixP)
4082 valueT addr = fixP->fx_where + fixP->fx_frag->fr_address;
4091 || (fixP->fx_r_type != BFD_RELOC_8_PCREL
4092 && fixP->fx_r_type != BFD_RELOC_16_PCREL
4093 && fixP->fx_r_type != BFD_RELOC_32_PCREL
4094 && fixP->fx_r_type != BFD_RELOC_CRIS_LAPCQ_OFFSET))
4095 as_bad_where (fixP->fx_file, fixP->fx_line,
4097 return fixP->fx_size + addr;
4108 against symbol(s) in the FIXP from being replaced with relocations
4112 md_cris_force_relocation (struct fix *fixp)
4114 switch (fixp->fx_r_type)
4128 return generic_force_reloc (fixp);