Home | History | Annotate | Download | only in config

Lines Matching full:fixp

110 tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixp)
118 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
119 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
121 switch (fixp->fx_r_type)
138 code = fixp->fx_r_type;
141 as_bad_where (fixp->fx_file, fixp->fx_line,
143 fixp->fx_r_type,
144 bfd_get_reloc_code_name (fixp->fx_r_type));
151 as_bad_where (fixp->fx_file, fixp->fx_line,
153 fixp->fx_r_type, bfd_get_reloc_code_name (code));
159 reloc->addend = fixp->fx_addnumber;
161 reloc->addend = fixp->fx_offset;
489 fixS *fixP;
507 fixP = fix_new_exp (fragP, fragP->fr_fix, 4, &exp, 1, BFD_RELOC_VISIUM_REL16);
508 fixP->fx_file = fragP->fr_file;
509 fixP->fx_line = fragP->fr_line;
517 visium_pcrel_from_section (fixS *fixP, segT sec)
519 if (fixP->fx_addsy != (symbolS *) NULL
520 && (!S_IS_DEFINED (fixP->fx_addsy)
521 || S_GET_SEGMENT (fixP->fx_addsy) != sec))
529 return fixP->fx_where + fixP->fx_frag->fr_address;
610 fixP, valueT * value, segT segment)
612 char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
618 gas_assert (fixP->fx_r_type < BFD_RELOC_UNUSED);
621 fixP->fx_addnumber = val;
626 if (fixP->fx_pcrel)
628 switch (fixP->fx_r_type)
631 fixP->fx_r_type = BFD_RELOC_8_PCREL;
634 fixP->fx_r_type = BFD_RELOC_16_PCREL;
637 fixP->fx_r_type = BFD_RELOC_32_PCREL;
640 fixP->fx_r_type = BFD_RELOC_VISIUM_HI16_PCREL;
643 fixP->fx_r_type = BFD_RELOC_VISIUM_LO16_PCREL;
646 fixP->fx_r_type = BFD_RELOC_VISIUM_IM16_PCREL;
654 switch (fixP->fx_r_type)
670 fixP->fx_done = 0;
676 switch (fixP->fx_r_type)
679 if (fixP->fx_addsy == NULL
680 || (S_IS_DEFINED (fixP->fx_addsy)
681 && S_GET_SEGMENT (fixP->fx_addsy) == segment))
685 (fixP->fx_file, fixP->fx_line,
696 if (fixP->fx_addsy == NULL)
702 if (fixP->fx_addsy == NULL)
708 if (fixP->fx_addsy == NULL)
711 as_bad_where (fixP->fx_file, fixP->fx_line,
721 as_bad_where (fixP->fx_file, fixP->fx_line,
723 fixP->fx_r_type);
733 if (fixP->fx_addsy == NULL)
734 fixP->fx_done = 1;