Lines Matching defs:relocs
303 /* std relocs. */
975 /* ?? Do we really need to check for relocs here? */
1958 /* XXX This relies on relocs coming from a.out files. */
1975 /* PR gas/3041 a.out relocs against weak symbols
2185 /* Base relative relocs are always against the symbol table,
2260 /* Base relative relocs are always against the symbol table,
2277 /* Read and swap the relocs for a section. */
2284 void * relocs;
2326 relocs = bfd_malloc (reloc_size);
2327 if (relocs == NULL)
2333 if (bfd_bread (relocs, reloc_size, abfd) != reloc_size)
2335 free (relocs);
2343 struct reloc_ext_external *rptr = (struct reloc_ext_external *) relocs;
2351 struct reloc_std_external *rptr = (struct reloc_std_external *) relocs;
2358 free (relocs);
3526 /* A buffer large enough to hold the relocs of any section. */
3527 void * relocs;
3815 standard a.out relocs are in place. It would be more
3900 /* Assert that the relocs have not run into the symbols, and that n
3901 the text relocs have not run into the data relocs. */
3927 /* Relocate an a.out section using standard a.out relocs. */
3933 struct reloc_std_external *relocs,
3965 rel = relocs;
4281 /* Relocate an a.out section using extended a.out relocs. */
4287 struct reloc_ext_external *relocs,
4319 rel = relocs;
4552 /* For base relative relocs, r_index is always an index
4711 void * relocs;
4720 /* Read in the relocs if we haven't already done it. */
4722 && aout_section_data (input_section)->relocs != NULL)
4723 relocs = aout_section_data (input_section)->relocs;
4726 relocs = flaginfo->relocs;
4730 || bfd_bread (relocs, rel_size, input_bfd) != rel_size)
4739 (struct reloc_std_external *) relocs,
4746 (struct reloc_ext_external *) relocs,
4759 /* If we are producing relocatable output, the relocs were
4765 if (bfd_bwrite (relocs, rel_size, flaginfo->output_bfd) != rel_size)
4769 /* Assert that the relocs have not run into the symbols, and
4770 that if these are the text relocs they have not run into the
4771 data relocs. */
5353 aout_info.relocs = NULL;
5365 relocatable output, count the relocs. */
5386 work out the number of relocs needed, and then multiply
5464 /* Allocate buffers to hold section contents and relocs. */
5466 aout_info.relocs = bfd_malloc (max_relocs_size);
5471 || (aout_info.relocs == NULL && max_relocs_size != 0)
5495 it out, and then write out the relocs, and then write out the
5564 /* Now handle any relocs we were asked to create by the linker.
5591 if (aout_info.relocs != NULL)
5593 free (aout_info.relocs);
5594 aout_info.relocs = NULL;
5650 if (aout_info.relocs != NULL)
5651 free (aout_info.relocs);