Lines Matching defs:reloc

77   bfd_reloc_code_real_type reloc;
414 bfd_reloc_code_real_type reloc; /* Relocation before frob. */
457 fixS *master; /* The literal reloc. */
1179 a LITUSE reloc if otherwise appropriate; the return value is the
1238 insn.fixups[0].reloc = BFD_RELOC_ALPHA_LITERAL;
1274 insn.fixups[0].reloc = BFD_RELOC_ALPHA_ELF_LITERAL;
1424 insn.fixups[0].reloc = BFD_RELOC_ALPHA_LITERAL;
1427 insn.fixups[0].reloc = BFD_RELOC_ALPHA_ELF_LITERAL;
1441 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
1590 in a reloc for the linker to see. */
1626 if ((int) fixup->reloc < 0)
1628 operand = &alpha_operands[-(int) fixup->reloc];
1632 else if (fixup->reloc > BFD_RELOC_UNUSED
1633 || fixup->reloc == BFD_RELOC_ALPHA_GPDISP_HI16
1634 || fixup->reloc == BFD_RELOC_ALPHA_GPDISP_LO16)
1642 = bfd_reloc_type_lookup (stdoutput, fixup->reloc);
1652 &fixup->exp, pcrel, fixup->reloc);
1656 switch (fixup->reloc)
1742 if (fixup->reloc == DUMMY_RELOC_LITUSE_TLSGD)
1744 else if (fixup->reloc == DUMMY_RELOC_LITUSE_TLSLDM)
1795 if ((int) fixup->reloc < 0)
1855 bfd_reloc_code_real_type reloc)
1926 relocations, and thus the user-supplied reloc does not
1927 override the operand reloc. */
1937 fixup->reloc = BFD_RELOC_ALPHA_HINT;
1941 if (reloc == BFD_RELOC_UNUSED)
1942 reloc = operand->default_reloc;
1952 if (reloc != BFD_RELOC_UNUSED)
1962 if (reloc == BFD_RELOC_ALPHA_GPDISP)
1965 reloc = BFD_RELOC_ALPHA_GPDISP_HI16;
1967 reloc = BFD_RELOC_ALPHA_GPDISP_LO16;
1974 else if (reloc < BFD_RELOC_UNUSED)
1977 = bfd_reloc_type_lookup (stdoutput, reloc);
1990 fixup->reloc = reloc;
2026 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
2074 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
2120 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
2136 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BYTOFF;
2272 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
2289 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BYTOFF;
2305 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BYTOFF;
2325 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
2691 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_JSR;
2774 insn.fixups[0].reloc = BFD_RELOC_ALPHA_GPDISP_HI16;
2789 insn.fixups[0].reloc = BFD_RELOC_ALPHA_GPDISP_LO16;
3096 bfd_reloc_code_real_type reloc = BFD_RELOC_UNUSED;
3102 reloc = ALPHA_RELOC_TABLE (tok[ntok - 1].X_op)->reloc;
3132 assemble_insn (opcode, tok, ntok, &insn, reloc);
3134 /* Copy the sequence number for the reloc from the reloc token. */
3135 if (reloc != BFD_RELOC_UNUSED)
5213 For ELF, here it is that we transform the GPDISP_HI16 reloc we used
5214 internally into the GPDISP reloc used externally. We had to do
5215 this so that we'd have the GPDISP_LO16 reloc as a tag to compute
5237 the matching LO16 reloc. We will have already issued an
5386 _("type %d reloc done?\n"), (int) fixP->fx_r_type);
5485 /* Return true if we must always emit a reloc for a type and false if
5534 reloc but we can adjust the values contained within it? */
5579 /* If we have a BRSGP reloc to a local symbol, adjust it to BRADDR and
5602 _("!samegp reloc against symbol without .prologue: %s"),
5617 /* Generate the BFD reloc to be stuck in the object file from the
5624 arelent *reloc;
5626 reloc = xmalloc (sizeof (* reloc));
5627 reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *));
5628 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
5629 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
5635 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type);
5636 if (reloc->howto == NULL)
5644 if (!fixp->fx_pcrel != !reloc->howto->pc_relative)
5648 assert (!fixp->fx_pcrel == !reloc->howto->pc_relative);
5653 reloc->addend = -alpha_gp_value;
5657 reloc->addend = fixp->fx_offset;
5667 reloc->addend -= symbol_get_bfdsym (fixp->fx_addsy)->value;
5671 return reloc;