Home
last modified time | relevance | path

Searched refs:reloc_count (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dreloc16.c151 long reloc_count; in bfd_coff_reloc16_relax_section() local
169 reloc_count = in bfd_coff_reloc16_relax_section()
172 if (reloc_count < 0) in bfd_coff_reloc16_relax_section()
193 if (reloc_count > 0) in bfd_coff_reloc16_relax_section()
200 amt = reloc_count + 1; in bfd_coff_reloc16_relax_section()
225 for (j = i + 1; j <= reloc_count; j++) in bfd_coff_reloc16_relax_section()
232 shrink = shrinks[reloc_count]; in bfd_coff_reloc16_relax_section()
256 long reloc_count; in bfd_coff_reloc16_get_relocated_section_contents() local
278 reloc_count = bfd_canonicalize_reloc (input_bfd, in bfd_coff_reloc16_get_relocated_section_contents()
282 if (reloc_count < 0) in bfd_coff_reloc16_get_relocated_section_contents()
[all …]
H A Dcofflink.c659 o->reloc_count = 0; in _bfd_coff_final_link()
680 o->reloc_count += sec->reloc_count; in _bfd_coff_final_link()
688 if (sec->reloc_count > max_reloc_count) in _bfd_coff_final_link()
689 max_reloc_count = sec->reloc_count; in _bfd_coff_final_link()
694 ++o->reloc_count; in _bfd_coff_final_link()
696 if (o->reloc_count == 0) in _bfd_coff_final_link()
702 rel_filepos += o->reloc_count * relsz; in _bfd_coff_final_link()
705 if ((obj_pe (abfd) || obj_go32 (abfd)) && o->reloc_count >= 0xffff) in _bfd_coff_final_link()
759 if (o->reloc_count != 0) in _bfd_coff_final_link()
775 amt = o->reloc_count; in _bfd_coff_final_link()
[all …]
H A Di386lynx.c45 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \
47 execp->a_drsize = ((obj_datasec (abfd)->reloc_count) * \
451 asect->reloc_count = count; in NAME()
465 unsigned int count = section->reloc_count; in NAME()
521 for (count = 0; count < section->reloc_count; count++) in NAME()
531 for (count = 0; count++ < section->reloc_count;) in NAME()
538 return section->reloc_count; in NAME()
H A Dxcofflink.c704 && enclosing->reloc_count > 0) in xcoff_read_internal_relocs()
725 sec->reloc_count * sizeof (struct internal_reloc)); in xcoff_read_internal_relocs()
1388 amt = o->reloc_count; in xcoff_link_add_symbols()
1665 amt = enclosing->reloc_count; in xcoff_link_add_symbols()
1671 if (relindx < enclosing->reloc_count in xcoff_link_add_symbols()
1825 amt = enclosing->reloc_count; in xcoff_link_add_symbols()
1834 while (relindx < enclosing->reloc_count in xcoff_link_add_symbols()
1841 ++csect->reloc_count; in xcoff_link_add_symbols()
2236 for (i = 0; i < o->reloc_count; i++, rel++, rel_csect++) in xcoff_link_add_symbols()
2305 o->reloc_count = 0; in xcoff_link_add_symbols()
[all …]
H A Delf64-mips.c4001 bfd_size_type reloc_count, in mips_elf64_slurp_one_reloc_table() argument
4036 i < reloc_count; in mips_elf64_slurp_one_reloc_table()
4178 bfd_size_type reloc_count; in mips_elf64_slurp_reloc_table() local
4189 || asect->reloc_count == 0) in mips_elf64_slurp_reloc_table()
4193 reloc_count = rel_hdr ? NUM_SHDR_ENTRIES (rel_hdr) : 0; in mips_elf64_slurp_reloc_table()
4197 BFD_ASSERT (asect->reloc_count == 3 * (reloc_count + reloc_count2)); in mips_elf64_slurp_reloc_table()
4212 reloc_count = NUM_SHDR_ENTRIES (rel_hdr); in mips_elf64_slurp_reloc_table()
4218 amt = (reloc_count + reloc_count2) * 3 * sizeof (arelent); in mips_elf64_slurp_reloc_table()
4225 rel_hdr, reloc_count, in mips_elf64_slurp_reloc_table()
4232 relents + reloc_count * 3, in mips_elf64_slurp_reloc_table()
[all …]
H A Dreloc.c8457 long reloc_count; in bfd_generic_get_relocated_section_contents() local
8477 reloc_count = bfd_canonicalize_reloc (input_bfd, in bfd_generic_get_relocated_section_contents()
8481 if (reloc_count < 0) in bfd_generic_get_relocated_section_contents()
8484 if (reloc_count > 0) in bfd_generic_get_relocated_section_contents()
8546 os->orelocation[os->reloc_count] = *parent; in bfd_generic_get_relocated_section_contents()
8547 os->reloc_count++; in bfd_generic_get_relocated_section_contents()
8637 section->reloc_count = count; in _bfd_generic_set_reloc()
H A Dcoffcode.h1964 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()
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dreloc16.c151 long reloc_count; in bfd_coff_reloc16_relax_section() local
169 reloc_count = in bfd_coff_reloc16_relax_section()
172 if (reloc_count < 0) in bfd_coff_reloc16_relax_section()
193 if (reloc_count > 0) in bfd_coff_reloc16_relax_section()
200 amt = reloc_count + 1; in bfd_coff_reloc16_relax_section()
225 for (j = i + 1; j <= reloc_count; j++) in bfd_coff_reloc16_relax_section()
232 shrink = shrinks[reloc_count]; in bfd_coff_reloc16_relax_section()
256 long reloc_count; in bfd_coff_reloc16_get_relocated_section_contents() local
284 reloc_count = bfd_canonicalize_reloc (input_bfd, in bfd_coff_reloc16_get_relocated_section_contents()
288 if (reloc_count < 0) in bfd_coff_reloc16_get_relocated_section_contents()
[all …]
H A Dcofflink.c691 o->reloc_count = 0; in _bfd_coff_final_link()
712 o->reloc_count += sec->reloc_count; in _bfd_coff_final_link()
720 if (sec->reloc_count > max_reloc_count) in _bfd_coff_final_link()
721 max_reloc_count = sec->reloc_count; in _bfd_coff_final_link()
726 ++o->reloc_count; in _bfd_coff_final_link()
728 if (o->reloc_count == 0) in _bfd_coff_final_link()
734 rel_filepos += o->reloc_count * relsz; in _bfd_coff_final_link()
737 if ((obj_pe (abfd) || obj_go32 (abfd)) && o->reloc_count >= 0xffff) in _bfd_coff_final_link()
791 if (o->reloc_count != 0) in _bfd_coff_final_link()
807 amt = o->reloc_count; in _bfd_coff_final_link()
[all …]
H A Di386lynx.c45 execp->a_trsize = ((obj_textsec (abfd)->reloc_count) \
47 execp->a_drsize = ((obj_datasec (abfd)->reloc_count) \
451 asect->reloc_count = count; in NAME()
465 unsigned int count = section->reloc_count; in NAME()
521 for (count = 0; count < section->reloc_count; count++) in NAME()
531 for (count = 0; count++ < section->reloc_count;) in NAME()
538 return section->reloc_count; in NAME()
H A Dxcofflink.c702 && enclosing->reloc_count > 0) in xcoff_read_internal_relocs()
723 sec->reloc_count * sizeof (struct internal_reloc)); in xcoff_read_internal_relocs()
1383 amt = o->reloc_count; in xcoff_link_add_symbols()
1660 amt = enclosing->reloc_count; in xcoff_link_add_symbols()
1666 if (relindx < enclosing->reloc_count in xcoff_link_add_symbols()
1820 amt = enclosing->reloc_count; in xcoff_link_add_symbols()
1829 while (relindx < enclosing->reloc_count in xcoff_link_add_symbols()
1836 ++csect->reloc_count; in xcoff_link_add_symbols()
2230 for (i = 0; i < o->reloc_count; i++, rel++, rel_csect++) in xcoff_link_add_symbols()
2299 o->reloc_count = 0; in xcoff_link_add_symbols()
[all …]
H A Delf64-mips.c4010 bfd_size_type reloc_count, in mips_elf64_slurp_one_reloc_table() argument
4045 i < reloc_count; in mips_elf64_slurp_one_reloc_table()
4187 bfd_size_type reloc_count; in mips_elf64_slurp_reloc_table() local
4198 || asect->reloc_count == 0) in mips_elf64_slurp_reloc_table()
4202 reloc_count = rel_hdr ? NUM_SHDR_ENTRIES (rel_hdr) : 0; in mips_elf64_slurp_reloc_table()
4206 BFD_ASSERT (asect->reloc_count == 3 * (reloc_count + reloc_count2)); in mips_elf64_slurp_reloc_table()
4221 reloc_count = NUM_SHDR_ENTRIES (rel_hdr); in mips_elf64_slurp_reloc_table()
4227 amt = (reloc_count + reloc_count2) * 3 * sizeof (arelent); in mips_elf64_slurp_reloc_table()
4234 rel_hdr, reloc_count, in mips_elf64_slurp_reloc_table()
4241 relents + reloc_count * 3, in mips_elf64_slurp_reloc_table()
[all …]
H A Dreloc.c8571 long reloc_count; in bfd_generic_get_relocated_section_contents() local
8592 reloc_count = bfd_canonicalize_reloc (input_bfd, in bfd_generic_get_relocated_section_contents()
8596 if (reloc_count < 0) in bfd_generic_get_relocated_section_contents()
8599 if (reloc_count > 0) in bfd_generic_get_relocated_section_contents()
8661 os->orelocation[os->reloc_count] = *parent; in bfd_generic_get_relocated_section_contents()
8662 os->reloc_count++; in bfd_generic_get_relocated_section_contents()
8754 section->reloc_count = count; in _bfd_generic_set_reloc()
H A Dcoffcode.h1958 section->reloc_count = hdr->s_nreloc = n.r_vaddr - 1; in coff_set_alignment_hook()
1989 real_sec->reloc_count = hdr->s_paddr; in coff_set_alignment_hook()
2023 section->reloc_count = hdr->s_nreloc = n.r_vaddr - 1; in coff_set_alignment_hook()
2590 amt = s->reloc_count; in coff_write_relocs()
2595 if (s->reloc_count > 0) in coff_write_relocs()
2601 qsort (p, s->reloc_count, sizeof (arelent *), compare_arelent_ptr); in coff_write_relocs()
2610 if ((obj_pe (abfd) || obj_go32 (abfd)) && s->reloc_count >= 0xffff) in coff_write_relocs()
2617 n.r_vaddr = s->reloc_count + 1; in coff_write_relocs()
2625 for (i = 0; i < s->reloc_count; i++) in coff_write_relocs()
3070 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_compute_section_file_positions()
[all …]
H A Delf32-lm32.c121 fixup_offset = rofixup->reloc_count * 4; in _lm32fdpic_add_rofixup()
128 rofixup->reloc_count++; in _lm32fdpic_add_rofixup()
746 relend = relocs + input_section->reloc_count; in lm32_elf_relocate_section()
945 loc += srelgot->reloc_count * sizeof (Elf32_External_Rela); in lm32_elf_relocate_section()
947 ++srelgot->reloc_count; in lm32_elf_relocate_section()
1141 rel_end = relocs + sec->reloc_count; in lm32_elf_check_relocs()
1379 != (lm32fdpic_fixup32_section (info)->reloc_count * 4)) in lm32_elf_finish_dynamic_sections()
1385 lm32fdpic_fixup32_section (info)->reloc_count); in lm32_elf_finish_dynamic_sections()
1541 loc += srela->reloc_count * sizeof (Elf32_External_Rela); in lm32_elf_finish_dynamic_symbol()
1543 ++srela->reloc_count; in lm32_elf_finish_dynamic_symbol()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dreloc.cc341 size_t reloc_count = sh_size / reloc_size; in do_read_relocs() local
342 if (static_cast<off_t>(reloc_count * reloc_size) != sh_size) in do_read_relocs()
356 sr.reloc_count = reloc_count; in do_read_relocs()
411 p->contents->data(), p->reloc_count, in do_gc_process_relocs()
464 p->reloc_count, p->output_section, in do_scan_relocs()
477 rr->set_reloc_count(p->reloc_count); in do_scan_relocs()
481 p->reloc_count, in do_scan_relocs()
519 rr->set_reloc_count(p->reloc_count); in emit_relocs_scan()
527 p->reloc_count, in emit_relocs_scan()
563 size_t reloc_count = p->reloc_count; in incremental_relocs_scan_reltype() local
[all …]
H A Dtarget.h358 const unsigned char* prelocs, size_t reloc_count, in calls_non_split() argument
363 prelocs, reloc_count, view, view_size, in calls_non_split()
897 size_t reloc_count,
922 size_t reloc_count,
943 size_t reloc_count,
961 size_t reloc_count,
977 size_t reloc_count,
991 size_t reloc_count,
H A Dtarget-reloc.h52 size_t reloc_count, in scan_relocs() argument
63 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in scan_relocs()
313 size_t reloc_count, in relocate_section() argument
331 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in relocate_section()
709 size_t reloc_count, in scan_relocatable_relocs() argument
721 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in scan_relocatable_relocs()
783 size_t reloc_count, in relocate_relocs() argument
805 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in relocate_relocs()
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dreloc.cc341 size_t reloc_count = sh_size / reloc_size; in do_read_relocs() local
342 if (static_cast<off_t>(reloc_count * reloc_size) != sh_size) in do_read_relocs()
356 sr.reloc_count = reloc_count; in do_read_relocs()
411 p->contents->data(), p->reloc_count, in do_gc_process_relocs()
464 p->reloc_count, p->output_section, in do_scan_relocs()
477 rr->set_reloc_count(p->reloc_count); in do_scan_relocs()
481 p->reloc_count, in do_scan_relocs()
519 rr->set_reloc_count(p->reloc_count); in emit_relocs_scan()
527 p->reloc_count, in emit_relocs_scan()
563 size_t reloc_count = p->reloc_count; in incremental_relocs_scan_reltype() local
[all …]
H A Dtarget.h358 const unsigned char* prelocs, size_t reloc_count, in calls_non_split() argument
363 prelocs, reloc_count, view, view_size, in calls_non_split()
897 size_t reloc_count,
922 size_t reloc_count,
943 size_t reloc_count,
961 size_t reloc_count,
977 size_t reloc_count,
991 size_t reloc_count,
H A Dtarget-reloc.h52 size_t reloc_count, in scan_relocs() argument
63 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in scan_relocs()
313 size_t reloc_count, in relocate_section() argument
331 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in relocate_section()
709 size_t reloc_count, in scan_relocatable_relocs() argument
721 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in scan_relocatable_relocs()
783 size_t reloc_count, in relocate_relocs() argument
805 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in relocate_relocs()
/netbsd-src/external/gpl3/binutils/dist/ld/emultempl/
H A Dcr16elf.em66 /* Note that we assume that the reloc_count field has already
73 if (datasec != NULL && datasec->reloc_count > 0)
84 || !bfd_set_section_size (relsec, datasec->reloc_count * 8))
103 && sec->reloc_count == 0 )
149 if (datasec == NULL || datasec->reloc_count == 0)
H A Dm68kelf.em90 /* Note that we assume that the reloc_count field has already
97 if (datasec != NULL && datasec->reloc_count > 0)
108 || !bfd_set_section_size (relsec, datasec->reloc_count * 12))
129 && sec->reloc_count != 0)
160 if (datasec == NULL || datasec->reloc_count == 0)
/netbsd-src/external/gpl3/binutils.old/dist/ld/emultempl/
H A Dcr16elf.em66 /* Note that we assume that the reloc_count field has already
73 if (datasec != NULL && datasec->reloc_count > 0)
84 || !bfd_set_section_size (relsec, datasec->reloc_count * 8))
103 && sec->reloc_count == 0 )
149 if (datasec == NULL || datasec->reloc_count == 0)
H A Dm68kelf.em90 /* Note that we assume that the reloc_count field has already
97 if (datasec != NULL && datasec->reloc_count > 0)
108 || !bfd_set_section_size (relsec, datasec->reloc_count * 12))
129 && sec->reloc_count != 0)
160 if (datasec == NULL || datasec->reloc_count == 0)

12345678910>>...18