Lines Matching refs:reloc_count
1964 section->reloc_count = hdr->s_nreloc = n.r_vaddr - 1; in coff_set_alignment_hook()
1995 real_sec->reloc_count = hdr->s_paddr; in coff_set_alignment_hook()
2029 section->reloc_count = hdr->s_nreloc = n.r_vaddr - 1; in coff_set_alignment_hook()
2579 amt = s->reloc_count; in coff_write_relocs()
2584 if (s->reloc_count > 0) in coff_write_relocs()
2590 qsort (p, s->reloc_count, sizeof (arelent *), compare_arelent_ptr); in coff_write_relocs()
2599 if ((obj_pe (abfd) || obj_go32 (abfd)) && s->reloc_count >= 0xffff) in coff_write_relocs()
2606 n.r_vaddr = s->reloc_count + 1; in coff_write_relocs()
2614 for (i = 0; i < s->reloc_count; i++) in coff_write_relocs()
3047 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_compute_section_file_positions()
3428 unsigned long reloc_size = 0, reloc_count = 0; in coff_write_object_contents() local
3465 if ((obj_pe (abfd) || obj_go32 (abfd)) && current->reloc_count >= 0xffff) in coff_write_object_contents()
3466 reloc_count ++; in coff_write_object_contents()
3468 reloc_count += current->reloc_count; in coff_write_object_contents()
3471 reloc_size = reloc_count * bfd_coff_relsz (abfd); in coff_write_object_contents()
3489 if (current->reloc_count) in coff_write_object_contents()
3492 reloc_base += current->reloc_count * bfd_coff_relsz (abfd); in coff_write_object_contents()
3495 if ((obj_pe (abfd) || obj_go32 (abfd)) && current->reloc_count >= 0xffff) in coff_write_object_contents()
3626 section.s_nreloc = current->reloc_count; in coff_write_object_contents()
3630 if (current->reloc_count != 0) in coff_write_object_contents()
3644 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_write_object_contents()
3811 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_write_object_contents()
3819 scnhdr.s_paddr = current->reloc_count; in coff_write_object_contents()
5106 if (asect->reloc_count == 0) in coff_slurp_reloc_table()
5114 asect->reloc_count, in coff_slurp_reloc_table()
5119 if (_bfd_mul_overflow (asect->reloc_count, sizeof (arelent), &amt)) in coff_slurp_reloc_table()
5131 for (idx = 0; idx < asect->reloc_count; idx++) in coff_slurp_reloc_table()
5258 for (count = 0; count < section->reloc_count; count++) in coff_canonicalize_reloc()
5271 for (; count++ < section->reloc_count;) in coff_canonicalize_reloc()
5275 return section->reloc_count; in coff_canonicalize_reloc()