Home | History | Annotate | Download | only in config

Lines Matching defs:reloc

85   /* bfd_reloc_code_real_type reloc; */
86 extended_bfd_reloc_code_real_type reloc;
452 #define DEF(NAME, RELOC, REQ, ALLOW) \
453 { #NAME, sizeof(#NAME)-1, O_##NAME, RELOC, REQ, ALLOW}
460 extended_bfd_reloc_code_real_type reloc;
503 fixS *master; /* The literal reloc. */
1242 a LITUSE reloc if otherwise appropriate; the return value is the
1302 insn.fixups[0].reloc = BFD_RELOC_ALPHA_LITERAL;
1338 insn.fixups[0].reloc = BFD_RELOC_ALPHA_ELF_LITERAL;
1400 insn.fixups[insn.nfixups].reloc = BFD_RELOC_ALPHA_NOP;
1432 insn.fixups[insn.nfixups].reloc = BFD_RELOC_ALPHA_LDA;
1572 insn.fixups[0].reloc = BFD_RELOC_ALPHA_LITERAL;
1575 insn.fixups[0].reloc = BFD_RELOC_ALPHA_ELF_LITERAL;
1589 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
1738 in a reloc for the linker to see. */
1774 if ((int) fixup->reloc < 0)
1776 operand = &alpha_operands[-(int) fixup->reloc];
1780 else if (fixup->reloc > BFD_RELOC_UNUSED
1781 || fixup->reloc == BFD_RELOC_ALPHA_GPDISP_HI16
1782 || fixup->reloc == BFD_RELOC_ALPHA_GPDISP_LO16)
1791 (bfd_reloc_code_real_type) fixup->reloc);
1796 switch (fixup->reloc)
1813 &fixup->exp, pcrel, (bfd_reloc_code_real_type) fixup->reloc);
1817 switch (fixup->reloc)
1903 if (fixup->reloc == DUMMY_RELOC_LITUSE_TLSGD)
1905 else if (fixup->reloc == DUMMY_RELOC_LITUSE_TLSLDM)
1968 if ((int) fixup->reloc < 0)
2028 extended_bfd_reloc_code_real_type reloc)
2099 relocations, and thus the user-supplied reloc does not
2100 override the operand reloc. */
2110 fixup->reloc = BFD_RELOC_ALPHA_HINT;
2114 if (reloc == BFD_RELOC_UNUSED)
2115 reloc = operand->default_reloc;
2125 if (reloc != BFD_RELOC_UNUSED)
2135 if (reloc == BFD_RELOC_ALPHA_GPDISP)
2138 reloc = BFD_RELOC_ALPHA_GPDISP_HI16;
2140 reloc = BFD_RELOC_ALPHA_GPDISP_LO16;
2148 else if (reloc < BFD_RELOC_UNUSED && reloc > 0)
2152 (bfd_reloc_code_real_type) reloc);
2166 fixup->reloc = reloc;
2209 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
2258 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
2304 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
2320 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BYTOFF;
2456 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
2473 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BYTOFF;
2489 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BYTOFF;
2509 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_BASE;
2874 insn.fixups[insn.nfixups].reloc = DUMMY_RELOC_LITUSE_JSR;
2886 /* Create a BOH reloc for 'jsr $27,NAME'. */
2906 insn.fixups[0].reloc = BFD_RELOC_ALPHA_BOH;
2994 insn.fixups[0].reloc = BFD_RELOC_ALPHA_GPDISP_HI16;
3009 insn.fixups[0].reloc = BFD_RELOC_ALPHA_GPDISP_LO16;
3316 extended_bfd_reloc_code_real_type reloc = BFD_RELOC_UNUSED;
3322 reloc = ALPHA_RELOC_TABLE (tok[ntok - 1].X_op)->reloc;
3352 assemble_insn (opcode, tok, ntok, &insn, reloc);
3354 /* Copy the sequence number for the reloc from the reloc token. */
3355 if (reloc != BFD_RELOC_UNUSED)
5735 For ELF, here it is that we transform the GPDISP_HI16 reloc we used
5736 internally into the GPDISP reloc used externally. We had to do
5737 this so that we'd have the GPDISP_LO16 reloc as a tag to compute
5759 the matching LO16 reloc. We will have already issued an
5981 _("type %d reloc done?\n"), (int) fixP->fx_r_type);
6080 /* Return true if we must always emit a reloc for a type and false if
6135 reloc but we can adjust the values contained within it? */
6181 /* If we have a BRSGP reloc to a local symbol, adjust it to BRADDR and
6204 _("!samegp reloc against symbol without .prologue: %s"),
6226 /* Generate the BFD reloc to be stuck in the object file from the
6233 arelent *reloc;
6235 reloc = (arelent *) xmalloc (sizeof (* reloc));
6236 reloc->sym_ptr_ptr = (asymbol **) xmalloc (sizeof (asymbol *));
6237 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
6238 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
6244 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type);
6245 if (reloc->howto == NULL)
6253 if (!fixp->fx_pcrel != !reloc->howto->pc_relative)
6257 gas_assert (!fixp->fx_pcrel == !reloc->howto->pc_relative);
6259 reloc->addend = fixp->fx_offset;
6265 reloc->addend = -alpha_gp_value;
6277 reloc->addend = fixp->fx_addnumber;
6320 reloc->sym_ptr_ptr = (void *)udata;
6321 reloc->addend = fixp->fx_addnumber;
6328 return reloc;