Home
last modified time | relevance | path

Searched refs:max_reloc_count (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dcoff-ppc.c2052 bfd_size_type max_reloc_count; local
2105 max_reloc_count = 0;
2139 if (sec->reloc_count > max_reloc_count)
2140 max_reloc_count = sec->reloc_count;
2261 finfo.external_relocs = (bfd_byte *) bfd_malloc (max_reloc_count * relsz);
2264 amt = max_reloc_count * sizeof (struct internal_reloc);
2273 || (finfo.external_relocs == NULL && max_reloc_count > 0)
2276 && max_reloc_count > 0))
H A Dcofflink.c637 bfd_size_type max_reloc_count; in _bfd_coff_final_link() local
691 max_reloc_count = 0; in _bfd_coff_final_link()
725 if (sec->reloc_count > max_reloc_count) in _bfd_coff_final_link()
726 max_reloc_count = sec->reloc_count; in _bfd_coff_final_link()
859 amt = max_reloc_count * relsz; in _bfd_coff_final_link()
863 amt = max_reloc_count * sizeof (struct internal_reloc); in _bfd_coff_final_link()
872 || (finfo.external_relocs == NULL && max_reloc_count > 0) in _bfd_coff_final_link()
875 && max_reloc_count > 0)) in _bfd_coff_final_link()
H A Dxcofflink.c5332 bfd_size_type max_reloc_count; in _bfd_xcoff_bfd_final_link() local
5379 max_reloc_count = 0; in _bfd_xcoff_bfd_final_link()
5416 if (sec->reloc_count > max_reloc_count) in _bfd_xcoff_bfd_final_link()
5417 max_reloc_count = sec->reloc_count; in _bfd_xcoff_bfd_final_link()
5652 amt = max_reloc_count * relsz; in _bfd_xcoff_bfd_final_link()
5660 || (finfo.external_relocs == NULL && max_reloc_count > 0)) in _bfd_xcoff_bfd_final_link()
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dcoff-ppc.c2250 bfd_size_type max_reloc_count; local
2303 max_reloc_count = 0;
2335 if (sec->reloc_count > max_reloc_count)
2336 max_reloc_count = sec->reloc_count;
2457 finfo.external_relocs = (bfd_byte *) bfd_malloc (max_reloc_count * relsz);
2460 amt = max_reloc_count * sizeof (struct internal_reloc);
2469 || (finfo.external_relocs == NULL && max_reloc_count > 0)
2472 && max_reloc_count > 0))
H A Dcofflink.c635 bfd_size_type max_reloc_count; in _bfd_coff_final_link() local
689 max_reloc_count = 0; in _bfd_coff_final_link()
721 if (sec->reloc_count > max_reloc_count) in _bfd_coff_final_link()
722 max_reloc_count = sec->reloc_count; in _bfd_coff_final_link()
855 amt = max_reloc_count * relsz; in _bfd_coff_final_link()
859 amt = max_reloc_count * sizeof (struct internal_reloc); in _bfd_coff_final_link()
868 || (finfo.external_relocs == NULL && max_reloc_count > 0) in _bfd_coff_final_link()
871 && max_reloc_count > 0)) in _bfd_coff_final_link()
H A Dxcofflink.c3549 bfd_size_type max_reloc_count; local
3596 max_reloc_count = 0;
3631 if (sec->reloc_count > max_reloc_count)
3632 max_reloc_count = sec->reloc_count;
3874 amt = max_reloc_count * relsz;
3882 || (finfo.external_relocs == NULL && max_reloc_count > 0))