Lines Matching full:relocs
236 /* A buffer large enough to hold the relocs of any section. */
237 void * relocs;
885 /* ?? Do we really need to check for relocs here? */
1819 /* Read and swap the relocs for a section. */
1827 void * relocs;
1856 relocs = bfd_malloc (reloc_size);
1857 if (relocs == NULL && reloc_size != 0)
1860 if (bfd_bread (relocs, reloc_size, abfd) != reloc_size)
1862 free (relocs);
1868 /* Count the number of NON-ZERO relocs, this is the count we want. */
1876 x = GET_WORD (abfd, (char *) relocs + each_size * counter);
1890 rptr = relocs;
1898 if ((char *) rptr >= (char *) relocs + reloc_size)
1903 (bfd_size_type) ((char *) rptr - (char *) relocs),
1908 /* Just in case, if rptr >= relocs + reloc_size should happen
1912 free (relocs);
3151 standard a.out relocs are in place. It would be more
3206 /* Assert that the relocs have not run into the symbols, and that n
3207 the text relocs have not run into the data relocs. */
3236 bfd_byte *relocs,
3266 rel = relocs;
3291 r_addr = (char *) rel - (char *) relocs;
3537 void * relocs;
3546 /* Read in the relocs if we haven't already done it. */
3548 && aout_section_data (input_section)->relocs != NULL)
3549 relocs = aout_section_data (input_section)->relocs;
3552 relocs = flaginfo->relocs;
3556 || bfd_bread (relocs, rel_size, input_bfd) != rel_size)
3563 (bfd_byte *) relocs,
3575 /* If we are producing relocatable output, the relocs were
3581 if (bfd_bwrite (relocs, rel_size, flaginfo->output_bfd) != rel_size)
3585 /* Assert that the relocs have not run into the symbols, and
3586 that if these are the text relocs they have not run into the
3587 data relocs. */
3684 aout_info.relocs = NULL;
3696 relocatable output, count the relocs. */
3717 work out the number of relocs needed, and then multiply
3794 /* Allocate buffers to hold section contents and relocs. */
3796 aout_info.relocs = bfd_malloc (max_relocs_size);
3801 || (aout_info.relocs == NULL && max_relocs_size != 0)
3825 it out, and then write out the relocs, and then write out the
3892 /* Now handle any relocs we were asked to create by the linker.
3919 if (aout_info.relocs != NULL)
3921 free (aout_info.relocs);
3922 aout_info.relocs = NULL;
3983 if (aout_info.relocs != NULL)
3984 free (aout_info.relocs);