Home | History | Annotate | Download | only in config

Lines Matching full:fixp

42 #define SHMEDIA_MD_PCREL_FROM_FIX(FIXP) \
43 ((FIXP)->fx_size + (FIXP)->fx_where + (FIXP)->fx_frag->fr_address - 4)
510 shmedia_init_reloc (arelent *rel, fixS *fixP)
512 /* Adjust parts of *relp according to *fixp, and tell that it has been
514 switch (fixP->fx_r_type)
560 rel->addend = fixP->fx_addnumber + fixP->fx_offset;
566 as_bad_where (fixP->fx_file, fixP->fx_line,
582 shmedia_md_apply_fix (fixS *fixP, valueT *valp)
585 char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
588 bfd_reloc_code_real_type orig_fx_r_type = fixP->fx_r_type;
592 if (fixP->fx_pcrel)
608 fixP->fx_offset
609 = *valp + SHMEDIA_MD_PCREL_FROM_FIX (fixP);
632 fixP->fx_r_type = BFD_RELOC_64_PCREL;
636 fixP->fx_r_type = BFD_RELOC_SH_IMM_LOW16_PCREL;
640 fixP->fx_r_type = BFD_RELOC_SH_IMM_MEDLOW16_PCREL;
644 fixP->fx_r_type = BFD_RELOC_SH_IMM_MEDHI16_PCREL;
648 fixP->fx_r_type = BFD_RELOC_SH_IMM_HI16_PCREL;
656 fixP->fx_r_type = BFD_RELOC_SH_PT_16;
679 as_bad_where (fixP->fx_file, fixP->fx_line,
690 if (fixP->fx_addsy == NULL && fixP->fx_pcrel == 0)
693 shmedia_check_limits ((offsetT *) valp, fixP->fx_r_type, fixP);
695 switch (fixP->fx_r_type)
771 as_bad_where (fixP->fx_file, fixP->fx_line,
774 as_bad_where (fixP->fx_file, fixP->fx_line,
790 as_bad_where (fixP->fx_file, fixP->fx_line,
793 fixP->fx_done = 1;
1472 fixS *fixp)
1570 if (fixp)
1571 as_bad_where (fixp->fx_file, fixp->fx_line, msg, val);
3035 shmedia_md_pcrel_from_section (struct fix *fixP, segT sec ATTRIBUTE_UNUSED)
3039 switch (fixP->fx_r_type)
3062 return SHMEDIA_MD_PCREL_FROM_FIX (fixP);
3070 return (valueT) md_pcrel_from_section (fixP, sec);