Lines Matching refs:reloc_count

1915       section->reloc_count = hdr->s_nreloc = n.r_vaddr - 1;  in coff_set_alignment_hook()
1946 real_sec->reloc_count = hdr->s_paddr; in coff_set_alignment_hook()
2507 amt = s->reloc_count; in coff_write_relocs()
2512 if (s->reloc_count > 0) in coff_write_relocs()
2518 qsort (p, s->reloc_count, sizeof (arelent *), compare_arelent_ptr); in coff_write_relocs()
2527 if (obj_pe (abfd) && s->reloc_count >= 0xffff) in coff_write_relocs()
2534 n.r_vaddr = s->reloc_count + 1; in coff_write_relocs()
2542 for (i = 0; i < s->reloc_count; i++) in coff_write_relocs()
2987 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_compute_section_file_positions()
3355 unsigned long reloc_size = 0, reloc_count = 0; in coff_write_object_contents() local
3388 if (obj_pe (abfd) && current->reloc_count >= 0xffff) in coff_write_object_contents()
3389 reloc_count ++; in coff_write_object_contents()
3391 reloc_count += current->reloc_count; in coff_write_object_contents()
3394 reloc_size = reloc_count * bfd_coff_relsz (abfd); in coff_write_object_contents()
3412 if (current->reloc_count) in coff_write_object_contents()
3415 reloc_base += current->reloc_count * bfd_coff_relsz (abfd); in coff_write_object_contents()
3418 if (obj_pe (abfd) && current->reloc_count >= 0xffff) in coff_write_object_contents()
3549 section.s_nreloc = current->reloc_count; in coff_write_object_contents()
3553 if (current->reloc_count != 0) in coff_write_object_contents()
3567 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_write_object_contents()
3727 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_write_object_contents()
3735 scnhdr.s_paddr = current->reloc_count; in coff_write_object_contents()
4967 if (asect->reloc_count == 0) in coff_slurp_reloc_table()
4975 asect->reloc_count, in coff_slurp_reloc_table()
4977 reloc_cache = (arelent *) bfd_alloc2 (abfd, asect->reloc_count, in coff_slurp_reloc_table()
4983 for (idx = 0; idx < asect->reloc_count; idx++) in coff_slurp_reloc_table()
5108 for (count = 0; count < section->reloc_count; count++) in coff_canonicalize_reloc()
5121 for (; count++ < section->reloc_count;) in coff_canonicalize_reloc()
5125 return section->reloc_count; in coff_canonicalize_reloc()