Lines Matching refs:reloc_count

1695       section->reloc_count = hdr->s_nreloc = n.r_vaddr - 1;  in coff_set_alignment_hook()
1726 real_sec->reloc_count = hdr->s_paddr; in coff_set_alignment_hook()
2449 amt = s->reloc_count; in coff_write_relocs()
2452 if (p == NULL && s->reloc_count > 0) in coff_write_relocs()
2455 qsort (p, s->reloc_count, sizeof (arelent *), compare_arelent_ptr); in coff_write_relocs()
2463 if (obj_pe (abfd) && s->reloc_count >= 0xffff) in coff_write_relocs()
2470 n.r_vaddr = s->reloc_count + 1; in coff_write_relocs()
2478 for (i = 0; i < s->reloc_count; i++) in coff_write_relocs()
3019 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_compute_section_file_positions()
3368 unsigned long reloc_size = 0, reloc_count = 0; in coff_write_object_contents() local
3401 if (obj_pe (abfd) && current->reloc_count >= 0xffff) in coff_write_object_contents()
3402 reloc_count ++; in coff_write_object_contents()
3404 reloc_count += current->reloc_count; in coff_write_object_contents()
3407 reloc_size = reloc_count * bfd_coff_relsz (abfd); in coff_write_object_contents()
3425 if (current->reloc_count) in coff_write_object_contents()
3428 reloc_base += current->reloc_count * bfd_coff_relsz (abfd); in coff_write_object_contents()
3431 if (obj_pe (abfd) && current->reloc_count >= 0xffff) in coff_write_object_contents()
3534 section.s_nreloc = current->reloc_count; in coff_write_object_contents()
3538 if (current->reloc_count != 0) in coff_write_object_contents()
3550 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_write_object_contents()
3700 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_write_object_contents()
3708 scnhdr.s_paddr = current->reloc_count; in coff_write_object_contents()
4839 if (asect->reloc_count == 0) in coff_slurp_reloc_table()
4846 amt = (bfd_size_type) bfd_coff_relsz (abfd) * asect->reloc_count; in coff_slurp_reloc_table()
4848 amt = (bfd_size_type) asect->reloc_count * sizeof (arelent); in coff_slurp_reloc_table()
4854 for (idx = 0; idx < asect->reloc_count; idx++) in coff_slurp_reloc_table()
4974 for (count = 0; count < section->reloc_count; count++) in coff_canonicalize_reloc()
4987 for (; count++ < section->reloc_count;) in coff_canonicalize_reloc()
4991 return section->reloc_count; in coff_canonicalize_reloc()