Home | History | Annotate | Download | only in config

Lines Matching refs:reloc

2994        that expression.  The reloc entries are BFD_RELOC_UNUSED if no
4083 mips16_reloc_p (bfd_reloc_code_real_type reloc)
4085 switch (reloc)
4102 micromips_reloc_p (bfd_reloc_code_real_type reloc)
4104 switch (reloc)
4137 jmp_reloc_p (bfd_reloc_code_real_type reloc)
4139 return reloc == BFD_RELOC_MIPS_JMP || reloc == BFD_RELOC_MICROMIPS_JMP;
4143 got16_reloc_p (bfd_reloc_code_real_type reloc)
4145 return (reloc == BFD_RELOC_MIPS_GOT16 || reloc == BFD_RELOC_MIPS16_GOT16
4146 || reloc == BFD_RELOC_MICROMIPS_GOT16);
4150 hi16_reloc_p (bfd_reloc_code_real_type reloc)
4152 return (reloc == BFD_RELOC_HI16_S || reloc == BFD_RELOC_MIPS16_HI16_S
4153 || reloc == BFD_RELOC_MICROMIPS_HI16_S);
4157 lo16_reloc_p (bfd_reloc_code_real_type reloc)
4159 return (reloc == BFD_RELOC_LO16 || reloc == BFD_RELOC_MIPS16_LO16
4160 || reloc == BFD_RELOC_MICROMIPS_LO16);
4164 jalr_reloc_p (bfd_reloc_code_real_type reloc)
4166 return reloc == BFD_RELOC_MIPS_JALR || reloc == BFD_RELOC_MICROMIPS_JALR;
4170 gprel16_reloc_p (bfd_reloc_code_real_type reloc)
4172 return (reloc == BFD_RELOC_GPREL16 || reloc == BFD_RELOC_MIPS16_GPREL
4173 || reloc == BFD_RELOC_MICROMIPS_GPREL16);
4176 /* Return true if RELOC is a PC-relative relocation that does not have
4180 limited_pcrel_reloc_p (bfd_reloc_code_real_type reloc)
4182 switch (reloc)
4209 reloc_needs_lo_p (bfd_reloc_code_real_type reloc)
4212 && (hi16_reloc_p (reloc)
4215 || (got16_reloc_p (reloc) && mips_pic != VXWORKS_PIC)));
4218 /* Return the type of %lo() reloc needed by RELOC, given that
4222 matching_lo_reloc (bfd_reloc_code_real_type reloc)
4224 return (mips16_reloc_p (reloc) ? BFD_RELOC_MIPS16_LO16
4225 : (micromips_reloc_p (reloc) ? BFD_RELOC_MICROMIPS_LO16
4310 in a link-once section, since we'll be emitting symbol reloc
7035 /* If assembling microMIPS code, then return the microMIPS reloc
7037 the reloc unchanged. */
7040 micromips_map_reloc (bfd_reloc_code_real_type reloc)
7077 return reloc;
7081 if (r > reloc)
7082 return reloc;
7083 if (r == reloc)
7086 return reloc;
7089 /* Try to resolve relocation RELOC against constant OPERAND at assembly time.
7093 calculate_reloc (bfd_reloc_code_real_type reloc, offsetT operand,
7096 switch (reloc)
10634 reloc on the
10644 sequence, but we output a BFD_RELOC_LO16 reloc on the
13904 /* Return true if SVAL fits OPERAND. RELOC is as for mips16_immed. */
13908 bfd_reloc_code_real_type reloc, offsetT sval)
13914 if (reloc != BFD_RELOC_UNUSED)
13931 RELOC is the relocation that produced VAL, or BFD_RELOC_UNUSED
13940 bfd_reloc_code_real_type reloc, offsetT val,
13947 if (!mips16_immed_in_range_p (operand, reloc, val))
13968 if (!mips16_immed_in_range_p (operand, reloc, val))
13983 bfd_reloc_code_real_type reloc;
14033 move *STR over the operator and store its relocation code in *RELOC.
14034 Leave both *STR and *RELOC alone when returning false. */
14037 parse_relocation (char **str, bfd_reloc_code_real_type *reloc)
14062 *reloc = percent_op[i].reloc;
14066 if (!bfd_reloc_type_lookup (stdoutput, percent_op[i].reloc))
14070 *reloc = BFD_RELOC_UNUSED;
14080 at RELOC. Return the number of relocation operators used.
14085 my_getSmallExpression (expressionS *ep, bfd_reloc_code_real_type *reloc,
14132 reloc[i] = reversed_reloc[reloc_index - 1 - i];
14777 the corresponding LO16 reloc. This is called before md_apply_fix and
14928 /* Read the instruction associated with RELOC from BUF. */
14931 read_reloc_insn (char *buf, bfd_reloc_code_real_type reloc)
14933 if (mips16_reloc_p (reloc) || micromips_reloc_p (reloc))
14940 by RELOC. */
14943 write_reloc_insn (char *buf, bfd_reloc_code_real_type reloc,
14946 if (mips16_reloc_p (reloc) || micromips_reloc_p (reloc))
15160 /* If we are deleting this reloc entry, we must fill in the
16361 code. It generates a 32 bit GP relative reloc. */
16444 tables. It generates a R_MIPS_EH reloc. */
17205 /* This is called to see whether a reloc against a defined symbol
17206 should be converted into a reloc against a section. */
17310 arelent *reloc;
17314 reloc = retval[0] = (arelent *) xcalloc (1, sizeof (arelent));
17315 reloc->sym_ptr_ptr = (asymbol **) xmalloc (sizeof (asymbol *));
17316 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
17317 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
17335 reloc->addend = fixp->fx_addnumber + reloc->address;
17338 reloc->addend = fixp->fx_addnumber;
17344 reloc->address = reloc->addend;
17345 reloc->addend = 0;
17350 reloc->howto = bfd_reloc_type_lookup (stdoutput, code);
17351 if (reloc->howto == NULL)
17862 /* The rules for the base address of a PC relative reloc are