| /dragonfly/contrib/binutils-2.27/gold/ |
| HD | reloc.cc | 341 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 …]
|
| HD | target.h | 343 const unsigned char* prelocs, size_t reloc_count, in calls_non_split() argument 348 prelocs, reloc_count, view, view_size, in calls_non_split() 861 size_t reloc_count, 886 size_t reloc_count, 907 size_t reloc_count, 925 size_t reloc_count, 941 size_t reloc_count, 955 size_t reloc_count,
|
| HD | target-reloc.h | 52 size_t reloc_count, in scan_relocs() argument 63 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in scan_relocs() 266 size_t reloc_count, in relocate_section() argument 284 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in relocate_section() 664 size_t reloc_count, in scan_relocatable_relocs() argument 676 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in scan_relocatable_relocs() 738 size_t reloc_count, in relocate_relocs() argument 760 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in relocate_relocs()
|
| HD | i386.cc | 375 size_t reloc_count, 389 size_t reloc_count, 409 size_t reloc_count, 425 size_t reloc_count, 440 size_t reloc_count, 452 size_t reloc_count, 510 const unsigned char* prelocs, size_t reloc_count, 2606 size_t reloc_count, in gc_process_relocs() argument 2619 reloc_count, in gc_process_relocs() 2635 size_t reloc_count, in scan_relocs() argument [all …]
|
| HD | incremental-dump.cc | 332 info.reloc_count(), in dump_incremental_inputs() 362 sym_info.reloc_count()); in dump_incremental_inputs() 368 for (unsigned int j = 0; j < sym_info.reloc_count(); j++) in dump_incremental_inputs()
|
| /dragonfly/contrib/binutils-2.34/gold/ |
| HD | reloc.cc | 341 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 …]
|
| HD | target.h | 353 const unsigned char* prelocs, size_t reloc_count, in calls_non_split() argument 358 prelocs, reloc_count, view, view_size, in calls_non_split() 889 size_t reloc_count, 914 size_t reloc_count, 935 size_t reloc_count, 953 size_t reloc_count, 969 size_t reloc_count, 983 size_t reloc_count,
|
| HD | target-reloc.h | 52 size_t reloc_count, in scan_relocs() argument 63 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in scan_relocs() 312 size_t reloc_count, in relocate_section() argument 330 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in relocate_section() 708 size_t reloc_count, in scan_relocatable_relocs() argument 720 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in scan_relocatable_relocs() 782 size_t reloc_count, in relocate_relocs() argument 804 for (size_t i = 0; i < reloc_count; ++i, prelocs += reloc_size) in relocate_relocs()
|
| HD | i386.cc | 375 size_t reloc_count, 389 size_t reloc_count, 409 size_t reloc_count, 425 size_t reloc_count, 440 size_t reloc_count, 452 size_t reloc_count, 510 const unsigned char* prelocs, size_t reloc_count, 2607 size_t reloc_count, in gc_process_relocs() argument 2620 reloc_count, in gc_process_relocs() 2636 size_t reloc_count, in scan_relocs() argument [all …]
|
| /dragonfly/contrib/binutils-2.34/bfd/ |
| HD | cofflink.c | 646 o->reloc_count = 0; in _bfd_coff_final_link() 667 o->reloc_count += sec->reloc_count; in _bfd_coff_final_link() 675 if (sec->reloc_count > max_reloc_count) in _bfd_coff_final_link() 676 max_reloc_count = sec->reloc_count; in _bfd_coff_final_link() 681 ++o->reloc_count; in _bfd_coff_final_link() 683 if (o->reloc_count == 0) in _bfd_coff_final_link() 689 rel_filepos += o->reloc_count * relsz; in _bfd_coff_final_link() 692 if (obj_pe (abfd) && o->reloc_count >= 0xffff) in _bfd_coff_final_link() 746 if (o->reloc_count != 0) in _bfd_coff_final_link() 762 amt = o->reloc_count; in _bfd_coff_final_link() [all …]
|
| HD | reloc.c | 8320 long reloc_count; in bfd_generic_get_relocated_section_contents() local 8340 reloc_count = bfd_canonicalize_reloc (input_bfd, in bfd_generic_get_relocated_section_contents() 8344 if (reloc_count < 0) in bfd_generic_get_relocated_section_contents() 8347 if (reloc_count > 0) in bfd_generic_get_relocated_section_contents() 8409 os->orelocation[os->reloc_count] = *parent; in bfd_generic_get_relocated_section_contents() 8410 os->reloc_count++; in bfd_generic_get_relocated_section_contents() 8500 section->reloc_count = count; in _bfd_generic_set_reloc()
|
| HD | elfcode.h | 889 if (sec->reloc_count == 0) in elf_write_relocs() 902 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs() 903 rela_hdr->contents = (unsigned char *) bfd_alloc2 (abfd, sec->reloc_count, in elf_write_relocs() 939 for (idx = 0; idx < sec->reloc_count; idx++, dst_rela += extsize) in elf_write_relocs() 1405 bfd_size_type reloc_count, in elf_slurp_reloc_table_from_section() argument 1439 i < reloc_count; in elf_slurp_reloc_table_from_section() 1515 bfd_size_type reloc_count; in elf_slurp_reloc_table() local 1525 || asect->reloc_count == 0) in elf_slurp_reloc_table() 1529 reloc_count = rel_hdr ? NUM_SHDR_ENTRIES (rel_hdr) : 0; in elf_slurp_reloc_table() 1534 if (asect->reloc_count != reloc_count + reloc_count2) in elf_slurp_reloc_table() [all …]
|
| HD | coffcode.h | 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 [all …]
|
| HD | elf-ifunc.c | 250 relplt->reloc_count++; in _bfd_elf_allocate_ifunc_dyn_relocs() 289 relplt->reloc_count += count; in _bfd_elf_allocate_ifunc_dyn_relocs() 354 relplt->reloc_count++; in _bfd_elf_allocate_ifunc_dyn_relocs()
|
| HD | linker.c | 1860 o->reloc_count = 0; in _bfd_generic_final_link() 1865 ++o->reloc_count; in _bfd_generic_final_link() 1873 long reloc_count; in _bfd_generic_final_link() local 1885 reloc_count = bfd_canonicalize_reloc (input_bfd, in _bfd_generic_final_link() 1890 if (reloc_count < 0) in _bfd_generic_final_link() 1892 BFD_ASSERT ((unsigned long) reloc_count in _bfd_generic_final_link() 1893 == input_section->reloc_count); in _bfd_generic_final_link() 1894 o->reloc_count += reloc_count; in _bfd_generic_final_link() 1897 if (o->reloc_count > 0) in _bfd_generic_final_link() 1901 amt = o->reloc_count; in _bfd_generic_final_link() [all …]
|
| /dragonfly/contrib/binutils-2.27/bfd/ |
| HD | cofflink.c | 636 o->reloc_count = 0; in _bfd_coff_final_link() 657 o->reloc_count += sec->reloc_count; in _bfd_coff_final_link() 665 if (sec->reloc_count > max_reloc_count) in _bfd_coff_final_link() 666 max_reloc_count = sec->reloc_count; in _bfd_coff_final_link() 671 ++o->reloc_count; in _bfd_coff_final_link() 673 if (o->reloc_count == 0) in _bfd_coff_final_link() 679 rel_filepos += o->reloc_count * relsz; in _bfd_coff_final_link() 682 if (obj_pe (abfd) && o->reloc_count >= 0xffff) in _bfd_coff_final_link() 736 if (o->reloc_count != 0) in _bfd_coff_final_link() 752 amt = o->reloc_count; in _bfd_coff_final_link() [all …]
|
| HD | coffcode.h | 1936 section->reloc_count = hdr->s_nreloc = n.r_vaddr - 1; in coff_set_alignment_hook() 1967 real_sec->reloc_count = hdr->s_paddr; in coff_set_alignment_hook() 2683 amt = s->reloc_count; in coff_write_relocs() 2688 if (s->reloc_count > 0) in coff_write_relocs() 2694 qsort (p, s->reloc_count, sizeof (arelent *), compare_arelent_ptr); in coff_write_relocs() 2703 if (obj_pe (abfd) && s->reloc_count >= 0xffff) in coff_write_relocs() 2710 n.r_vaddr = s->reloc_count + 1; in coff_write_relocs() 2718 for (i = 0; i < s->reloc_count; i++) in coff_write_relocs() 3255 if (current->reloc_count >= 0xffff || current->lineno_count >= 0xffff) in coff_compute_section_file_positions() 3624 unsigned long reloc_size = 0, reloc_count = 0; in coff_write_object_contents() local [all …]
|
| HD | elfcode.h | 877 if (sec->reloc_count == 0) in elf_write_relocs() 890 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs() 926 for (idx = 0; idx < sec->reloc_count; idx++, dst_rela += extsize) in elf_write_relocs() 1385 bfd_size_type reloc_count, in elf_slurp_reloc_table_from_section() argument 1419 i < reloc_count; in elf_slurp_reloc_table_from_section() 1488 bfd_size_type reloc_count; in elf_slurp_reloc_table() local 1499 || asect->reloc_count == 0) in elf_slurp_reloc_table() 1503 reloc_count = rel_hdr ? NUM_SHDR_ENTRIES (rel_hdr) : 0; in elf_slurp_reloc_table() 1508 if (asect->reloc_count != reloc_count + reloc_count2) in elf_slurp_reloc_table() 1524 reloc_count = NUM_SHDR_ENTRIES (rel_hdr); in elf_slurp_reloc_table() [all …]
|
| HD | reloc.c | 7927 long reloc_count; in bfd_generic_get_relocated_section_contents() local 7944 reloc_count = bfd_canonicalize_reloc (input_bfd, in bfd_generic_get_relocated_section_contents() 7948 if (reloc_count < 0) in bfd_generic_get_relocated_section_contents() 7951 if (reloc_count > 0) in bfd_generic_get_relocated_section_contents() 8000 os->orelocation[os->reloc_count] = *parent; in bfd_generic_get_relocated_section_contents() 8001 os->reloc_count++; in bfd_generic_get_relocated_section_contents()
|
| HD | linker.c | 1905 o->reloc_count = 0; in _bfd_generic_final_link() 1910 ++o->reloc_count; in _bfd_generic_final_link() 1918 long reloc_count; in _bfd_generic_final_link() local 1930 reloc_count = bfd_canonicalize_reloc (input_bfd, in _bfd_generic_final_link() 1935 if (reloc_count < 0) in _bfd_generic_final_link() 1937 BFD_ASSERT ((unsigned long) reloc_count in _bfd_generic_final_link() 1938 == input_section->reloc_count); in _bfd_generic_final_link() 1939 o->reloc_count += reloc_count; in _bfd_generic_final_link() 1942 if (o->reloc_count > 0) in _bfd_generic_final_link() 1946 amt = o->reloc_count; in _bfd_generic_final_link() [all …]
|
| HD | elf32-or1k.c | 826 relend = relocs + input_section->reloc_count; in or1k_elf_relocate_section() 980 loc += srelgot->reloc_count * sizeof (Elf32_External_Rela); in or1k_elf_relocate_section() 982 ++srelgot->reloc_count; in or1k_elf_relocate_section() 1085 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in or1k_elf_relocate_section() 1173 loc += sreloc->reloc_count++ * in or1k_elf_relocate_section() 1206 loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rela); in or1k_elf_relocate_section() 1327 relend = relocs + sec->reloc_count; in or1k_elf_gc_sweep_hook() 1433 rel_end = relocs + sec->reloc_count; in or1k_elf_check_relocs() 1993 loc += srela->reloc_count * sizeof (Elf32_External_Rela); in or1k_elf_finish_dynamic_symbol() 1995 ++srela->reloc_count; in or1k_elf_finish_dynamic_symbol() [all …]
|
| HD | elf-ifunc.c | 245 relplt->reloc_count++; in _bfd_elf_allocate_ifunc_dyn_relocs() 284 relplt->reloc_count += count; in _bfd_elf_allocate_ifunc_dyn_relocs() 349 relplt->reloc_count++; in _bfd_elf_allocate_ifunc_dyn_relocs()
|
| /dragonfly/contrib/gdb-7/bfd/ |
| HD | elfcode.h | 875 if (sec->reloc_count == 0) in elf_write_relocs() 888 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs() 924 for (idx = 0; idx < sec->reloc_count; idx++, dst_rela += extsize) in elf_write_relocs() 1383 bfd_size_type reloc_count, in elf_slurp_reloc_table_from_section() argument 1417 i < reloc_count; in elf_slurp_reloc_table_from_section() 1486 bfd_size_type reloc_count; in elf_slurp_reloc_table() local 1497 || asect->reloc_count == 0) in elf_slurp_reloc_table() 1501 reloc_count = rel_hdr ? NUM_SHDR_ENTRIES (rel_hdr) : 0; in elf_slurp_reloc_table() 1505 BFD_ASSERT (asect->reloc_count == reloc_count + reloc_count2); in elf_slurp_reloc_table() 1520 reloc_count = NUM_SHDR_ENTRIES (rel_hdr); in elf_slurp_reloc_table() [all …]
|
| HD | reloc.c | 7000 long reloc_count; in bfd_generic_get_relocated_section_contents() local 7017 reloc_count = bfd_canonicalize_reloc (input_bfd, in bfd_generic_get_relocated_section_contents() 7021 if (reloc_count < 0) in bfd_generic_get_relocated_section_contents() 7024 if (reloc_count > 0) in bfd_generic_get_relocated_section_contents() 7062 os->orelocation[os->reloc_count] = *parent; in bfd_generic_get_relocated_section_contents() 7063 os->reloc_count++; in bfd_generic_get_relocated_section_contents()
|
| HD | linker.c | 2040 o->reloc_count = 0; in _bfd_generic_final_link() 2045 ++o->reloc_count; in _bfd_generic_final_link() 2053 long reloc_count; in _bfd_generic_final_link() local 2065 reloc_count = bfd_canonicalize_reloc (input_bfd, in _bfd_generic_final_link() 2070 if (reloc_count < 0) in _bfd_generic_final_link() 2072 BFD_ASSERT ((unsigned long) reloc_count in _bfd_generic_final_link() 2073 == input_section->reloc_count); in _bfd_generic_final_link() 2074 o->reloc_count += reloc_count; in _bfd_generic_final_link() 2077 if (o->reloc_count > 0) in _bfd_generic_final_link() 2081 amt = o->reloc_count; in _bfd_generic_final_link() [all …]
|