Lines Matching refs:reloc

636     bfd_reloc_code_real_type reloc;
688 return ptr->reloc;
824 bfd_reloc_code_real_type reloc;
895 bfd_reloc_code_real_type reloc;
915 reloc = BFD_RELOC_UNUSED;
919 reloc = BFD_RELOC_390_GOT16;
921 reloc = BFD_RELOC_32_GOT_PCREL;
923 reloc = BFD_RELOC_390_GOT64;
928 reloc = BFD_RELOC_390_PLT32;
930 reloc = BFD_RELOC_390_PLT64;
933 if (suffix != ELF_SUFFIX_NONE && reloc == BFD_RELOC_UNUSED)
963 if (lpe->nbytes == nbytes && lpe->reloc == reloc
995 lpe->reloc = reloc;
1056 bfd_reloc_code_real_type reloc;
1079 reloc = tab2[suffix];
1099 reloc = tab4[suffix];
1119 reloc = tab8[suffix];
1122 reloc = BFD_RELOC_UNUSED;
1124 if (reloc != BFD_RELOC_UNUSED
1125 && (reloc_howto = bfd_reloc_type_lookup (stdoutput, reloc)))
1136 size, &exp, FALSE, reloc);
1158 bfd_reloc_code_real_type reloc;
1176 bfd_reloc_code_real_type reloc;
1234 fixups[fc].reloc = BFD_RELOC_UNUSED;
1254 reloc = BFD_RELOC_UNUSED;
1260 reloc = BFD_RELOC_390_GOT12;
1263 reloc = BFD_RELOC_390_GOT20;
1266 reloc = BFD_RELOC_390_GOT16;
1269 reloc = BFD_RELOC_390_GOTENT;
1275 reloc = BFD_RELOC_390_PLT16DBL;
1278 reloc = BFD_RELOC_390_PLT32DBL;
1284 reloc = BFD_RELOC_390_GOTENT;
1290 reloc = BFD_RELOC_16_GOTOFF;
1296 reloc = BFD_RELOC_390_PLTOFF16;
1302 reloc = BFD_RELOC_390_GOTPLT12;
1305 reloc = BFD_RELOC_390_GOTPLT16;
1308 reloc = BFD_RELOC_390_GOTPLTENT;
1314 reloc = BFD_RELOC_390_TLS_GOTIE12;
1317 reloc = BFD_RELOC_390_TLS_GOTIE20;
1323 reloc = BFD_RELOC_390_TLS_IEENT;
1326 if (suffix != ELF_SUFFIX_NONE && reloc == BFD_RELOC_UNUSED)
1328 /* We need to generate a fixup of type 'reloc' for this
1334 fixups[fc].reloc = reloc;
1454 reloc = s390_tls_suffix (&str, &ex);
1455 if (reloc != BFD_RELOC_UNUSED)
1457 /* We need to generate a fixup of type 'reloc' for this
1463 fixups[fc].reloc = reloc;
1487 not a very exciting feature. We pick a BFD reloc type in
1496 &fixups[i].exp, 0, fixups[i].reloc);
1502 if (fixups[i].reloc != BFD_RELOC_UNUSED)
1508 reloc_howto = bfd_reloc_type_lookup (stdoutput, fixups[i].reloc);
1520 fixups[i].reloc);
1524 if ( fixups[i].reloc == BFD_RELOC_390_GOT12
1525 || fixups[i].reloc == BFD_RELOC_390_GOT20
1526 || fixups[i].reloc == BFD_RELOC_390_GOT16)
1735 if (lpe->reloc != BFD_RELOC_UNUSED)
1738 bfd_reloc_type_lookup (stdoutput, lpe->reloc);
1748 size, &lpe->ex, reloc_howto->pc_relative, lpe->reloc);
1874 given a PC relative reloc. */
1945 /* Return true if we must always emit a reloc for a type and false if
1988 above we used a reloc code which was the largest legal reloc code
1991 and we attempt to completely resolve the reloc. If we can not do
1992 that, we determine the correct reloc code and put it back in the
2036 /* Determine a BFD reloc value based on the operand information.
2268 fprintf (stderr, "Gas failure, reloc type %s\n", reloc_name);
2270 fprintf (stderr, "Gas failure, reloc type #%i\n", fixP->fx_r_type);
2280 /* Generate a reloc for a fixup. */
2288 arelent *reloc;
2300 reloc = (arelent *) xmalloc (sizeof (arelent));
2301 reloc->sym_ptr_ptr = (asymbol **) xmalloc (sizeof (asymbol *));
2302 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
2303 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
2304 reloc->howto = bfd_reloc_type_lookup (stdoutput, code);
2305 if (reloc->howto == NULL)
2311 reloc->howto = bfd_reloc_type_lookup (stdoutput, BFD_RELOC_32);
2312 assert (reloc->howto != NULL);
2314 reloc->addend = fixp->fx_offset;
2316 return reloc;