Lines Matching refs:reloc
1354 /* Generate a machine dependent reloc from a fixup. */
1360 arelent *reloc;
1362 reloc = xmalloc (sizeof (*reloc));
1363 reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *));
1364 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
1365 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
1366 reloc->addend = fixp->fx_offset;
1367 reloc->howto = bfd_reloc_type_lookup (stdoutput, fixp->fx_r_type);
1369 if (! reloc->howto)
1376 return reloc;
1390 we will have to generate a reloc entry. */