Lines Matching refs:reloc
512 if (!tmp_insn->reloc || !tmp_insn->exp->symbol)
525 if (insn->reloc && insn->exp->symbol)
528 switch (insn->reloc)
543 if ((BFD_ARELOC_BFIN_PUSH <= insn->reloc
544 && BFD_ARELOC_BFIN_COMP >= insn->reloc)
545 || insn->reloc == BFD_RELOC_BFIN_16_IMM)
549 if (insn->reloc == BFD_ARELOC_BFIN_CONST
550 || insn->reloc == BFD_ARELOC_BFIN_PUSH)
556 insn->pcrel, insn->reloc);
565 printf (" reloc :");
810 /* If while processing a fixup, a reloc really needs to be created
818 arelent *reloc;
820 reloc = (arelent *) xmalloc (sizeof (arelent));
821 reloc->sym_ptr_ptr = (asymbol **) xmalloc (sizeof (asymbol *));
822 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
823 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
825 reloc->addend = fixp->fx_offset;
826 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type);
828 if (reloc->howto == (reloc_howto_type *) NULL)
832 _("reloc %d not supported by object file format"),
835 xfree (reloc);
840 return reloc;
844 given a PC relative reloc. */
910 note_reloc (INSTR_T code, Expr_Node * symbol, int reloc, int pcrel)
915 return note_reloc1 (code, symbol->value.s_value, reloc, pcrel);
920 note_reloc1 (INSTR_T code, const char *symbol, int reloc, int pcrel)
922 code->reloc = reloc;
929 note_reloc2 (INSTR_T code, const char *symbol, int reloc, int value, int pcrel)
931 code->reloc = reloc;
946 int reloc;
986 int pcrel = 1; /* Is the parent reloc pcrelative?
997 aligned value for the constant. Otherwise the reloc is