/netbsd/external/gpl3/gdb/dist/libiberty/ |
H A D | simple-object-elf.c | 576 size_t shdr_size; in simple_object_elf_find_sections() local 586 shdr_size = (ei_class == ELFCLASS32 in simple_object_elf_find_sections() 599 shdr_size * (shnum - 1), in simple_object_elf_find_sections() 859 size_t shdr_size; in simple_object_elf_write_shdr() local 865 shdr_size = (cl == ELFCLASS32 in simple_object_elf_write_shdr() 902 size_t shdr_size; in simple_object_elf_write_to_file() local 954 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1034 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1097 size_t shdr_size; in simple_object_elf_copy_lto_debug_sections() local 1127 shdr_size * (shnum - 1), in simple_object_elf_copy_lto_debug_sections() [all …]
|
/netbsd/external/gpl3/binutils.old/dist/libiberty/ |
H A D | simple-object-elf.c | 576 size_t shdr_size; in simple_object_elf_find_sections() local 586 shdr_size = (ei_class == ELFCLASS32 in simple_object_elf_find_sections() 599 shdr_size * (shnum - 1), in simple_object_elf_find_sections() 859 size_t shdr_size; in simple_object_elf_write_shdr() local 865 shdr_size = (cl == ELFCLASS32 in simple_object_elf_write_shdr() 902 size_t shdr_size; in simple_object_elf_write_to_file() local 954 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1034 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1097 size_t shdr_size; in simple_object_elf_copy_lto_debug_sections() local 1127 shdr_size * (shnum - 1), in simple_object_elf_copy_lto_debug_sections() [all …]
|
/netbsd/external/gpl3/binutils/dist/libiberty/ |
H A D | simple-object-elf.c | 576 size_t shdr_size; in simple_object_elf_find_sections() local 586 shdr_size = (ei_class == ELFCLASS32 in simple_object_elf_find_sections() 599 shdr_size * (shnum - 1), in simple_object_elf_find_sections() 859 size_t shdr_size; in simple_object_elf_write_shdr() local 865 shdr_size = (cl == ELFCLASS32 in simple_object_elf_write_shdr() 902 size_t shdr_size; in simple_object_elf_write_to_file() local 954 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1034 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1097 size_t shdr_size; in simple_object_elf_copy_lto_debug_sections() local 1127 shdr_size * (shnum - 1), in simple_object_elf_copy_lto_debug_sections() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libiberty/ |
H A D | simple-object-elf.c | 576 size_t shdr_size; in simple_object_elf_find_sections() local 586 shdr_size = (ei_class == ELFCLASS32 in simple_object_elf_find_sections() 599 shdr_size * (shnum - 1), in simple_object_elf_find_sections() 859 size_t shdr_size; in simple_object_elf_write_shdr() local 865 shdr_size = (cl == ELFCLASS32 in simple_object_elf_write_shdr() 902 size_t shdr_size; in simple_object_elf_write_to_file() local 954 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1034 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1097 size_t shdr_size; in simple_object_elf_copy_lto_debug_sections() local 1127 shdr_size * (shnum - 1), in simple_object_elf_copy_lto_debug_sections() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/libiberty/ |
H A D | simple-object-elf.c | 576 size_t shdr_size; in simple_object_elf_find_sections() local 586 shdr_size = (ei_class == ELFCLASS32 in simple_object_elf_find_sections() 599 shdr_size * (shnum - 1), in simple_object_elf_find_sections() 859 size_t shdr_size; in simple_object_elf_write_shdr() local 865 shdr_size = (cl == ELFCLASS32 in simple_object_elf_write_shdr() 902 size_t shdr_size; in simple_object_elf_write_to_file() local 954 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1034 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1097 size_t shdr_size; in simple_object_elf_copy_lto_debug_sections() local 1127 shdr_size * (shnum - 1), in simple_object_elf_copy_lto_debug_sections() [all …]
|
/netbsd/external/gpl3/gcc/dist/libiberty/ |
H A D | simple-object-elf.c | 576 size_t shdr_size; in simple_object_elf_find_sections() local 586 shdr_size = (ei_class == ELFCLASS32 in simple_object_elf_find_sections() 599 shdr_size * (shnum - 1), in simple_object_elf_find_sections() 859 size_t shdr_size; in simple_object_elf_write_shdr() local 865 shdr_size = (cl == ELFCLASS32 in simple_object_elf_write_shdr() 902 size_t shdr_size; in simple_object_elf_write_to_file() local 954 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1034 shdr_offset += shdr_size; in simple_object_elf_write_to_file() 1097 size_t shdr_size; in simple_object_elf_copy_lto_debug_sections() local 1127 shdr_size * (shnum - 1), in simple_object_elf_copy_lto_debug_sections() [all …]
|
/netbsd/external/gpl3/gdb/dist/elfcpp/ |
H A D | elfcpp_file.h | 111 static const int shdr_size = Elf_sizes<size>::shdr_size; variable 199 shdr_size); in section_header() 518 This::shdr_size)); in section_name() 566 This::shdr_size)); in section_contents() 584 This::shdr_size)); in section_size() 603 This::shdr_size)); in section_flags() 622 This::shdr_size)); in section_addr() 641 This::shdr_size)); in section_type() 660 This::shdr_size)); in section_link() 679 This::shdr_size)); in section_info() [all …]
|
/netbsd/external/gpl3/binutils.old/dist/elfcpp/ |
H A D | elfcpp_file.h | 111 static const int shdr_size = Elf_sizes<size>::shdr_size; variable 199 shdr_size); in section_header() 518 This::shdr_size)); in section_name() 566 This::shdr_size)); in section_contents() 584 This::shdr_size)); in section_size() 603 This::shdr_size)); in section_flags() 622 This::shdr_size)); in section_addr() 641 This::shdr_size)); in section_type() 660 This::shdr_size)); in section_link() 679 This::shdr_size)); in section_info() [all …]
|
/netbsd/external/gpl3/binutils/dist/elfcpp/ |
H A D | elfcpp_file.h | 111 static const int shdr_size = Elf_sizes<size>::shdr_size; variable 199 shdr_size); in section_header() 518 This::shdr_size)); in section_name() 566 This::shdr_size)); in section_contents() 584 This::shdr_size)); in section_size() 603 This::shdr_size)); in section_flags() 622 This::shdr_size)); in section_addr() 641 This::shdr_size)); in section_type() 660 This::shdr_size)); in section_link() 679 This::shdr_size)); in section_info() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/elfcpp/ |
H A D | elfcpp_file.h | 111 static const int shdr_size = Elf_sizes<size>::shdr_size; variable 199 shdr_size); in section_header() 518 This::shdr_size)); in section_name() 566 This::shdr_size)); in section_contents() 584 This::shdr_size)); in section_size() 603 This::shdr_size)); in section_flags() 622 This::shdr_size)); in section_addr() 641 This::shdr_size)); in section_type() 660 This::shdr_size)); in section_link() 679 This::shdr_size)); in section_info() [all …]
|
/netbsd/external/gpl3/gdb/dist/gold/ |
H A D | object.cc | 121 * elfcpp::Elf_sizes<size>::shdr_size)); in read_symtab_xindex() 193 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in read_section_data() local 525 p -= This::shdr_size; in find_symtab() 592 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in find_shdr() local 626 hdr += shdr_size; in find_shdr() 632 hdr += shdr_size; in find_shdr() 726 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in build_compressed_section_map() local 1520 pshdrs = shdrs + This::shdr_size; in do_layout() 1602 pshdrs = shdrs + This::shdr_size; in do_layout() 2709 + This::shdr_size * shndx; in do_section_flags() [all …]
|
H A D | reloc.cc | 275 shnum * This::shdr_size, in do_read_relocs() 278 const unsigned char* ps = pshdrs + This::shdr_size; in do_read_relocs() 279 for (unsigned int i = 1; i < shnum; ++i, ps += This::shdr_size) in do_read_relocs() 306 typename This::Shdr secshdr(pshdrs + shndx * This::shdr_size); in do_read_relocs() 369 + this->symtab_shndx_ * This::shdr_size); in do_read_relocs() 595 shnum * This::shdr_size, in do_relocate() 690 const unsigned char* p = pshdrs + This::shdr_size; in write_sections() 691 for (unsigned int i = 1; i < shnum; ++i, p += This::shdr_size) in write_sections() 909 const unsigned char* p = pshdrs + start_shndx * This::shdr_size; in relocate_section_range() 982 relinfo.data_shdr = pshdrs + index * This::shdr_size; in relocate_section_range() [all …]
|
H A D | binary.cc | 190 + 5 * elfcpp::Elf_sizes<size>::shdr_size); in sized_convert() 304 oehdr.put_e_shentsize(elfcpp::Elf_sizes<size>::shdr_size); in write_file_header() 341 *ppout += elfcpp::Elf_sizes<size>::shdr_size; in write_section_header()
|
H A D | dwp.cc | 776 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in setup() local 784 const unsigned char* const pshdrs = this->get_view(shoff, shnum * shdr_size, in setup() 789 pshdrs + this->elf_file_.shstrndx() * shdr_size; in setup() 2134 ehdr.put_e_shentsize(elfcpp::Elf_sizes<size>::shdr_size); in sized_write_ehdr() 2188 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in sized_write_shdr() local 2189 unsigned char buf[shdr_size]; in sized_write_shdr() 2202 if (::fwrite(buf, 1, shdr_size, this->fd_) < shdr_size) in sized_write_shdr()
|
/netbsd/external/gpl3/binutils/dist/gold/ |
H A D | object.cc | 121 * elfcpp::Elf_sizes<size>::shdr_size)); in read_symtab_xindex() 193 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in read_section_data() local 526 p -= This::shdr_size; in find_symtab() 593 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in find_shdr() local 627 hdr += shdr_size; in find_shdr() 633 hdr += shdr_size; in find_shdr() 727 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in build_compressed_section_map() local 1525 pshdrs = shdrs + This::shdr_size; in do_layout() 1607 pshdrs = shdrs + This::shdr_size; in do_layout() 2715 + This::shdr_size * shndx; in do_section_flags() [all …]
|
H A D | reloc.cc | 275 shnum * This::shdr_size, in do_read_relocs() 278 const unsigned char* ps = pshdrs + This::shdr_size; in do_read_relocs() 279 for (unsigned int i = 1; i < shnum; ++i, ps += This::shdr_size) in do_read_relocs() 306 typename This::Shdr secshdr(pshdrs + shndx * This::shdr_size); in do_read_relocs() 369 + this->symtab_shndx_ * This::shdr_size); in do_read_relocs() 595 shnum * This::shdr_size, in do_relocate() 690 const unsigned char* p = pshdrs + This::shdr_size; in write_sections() 691 for (unsigned int i = 1; i < shnum; ++i, p += This::shdr_size) in write_sections() 909 const unsigned char* p = pshdrs + start_shndx * This::shdr_size; in relocate_section_range() 982 relinfo.data_shdr = pshdrs + index * This::shdr_size; in relocate_section_range() [all …]
|
H A D | binary.cc | 190 + 5 * elfcpp::Elf_sizes<size>::shdr_size); in sized_convert() 304 oehdr.put_e_shentsize(elfcpp::Elf_sizes<size>::shdr_size); in write_file_header() 341 *ppout += elfcpp::Elf_sizes<size>::shdr_size; in write_section_header()
|
/netbsd/external/gpl3/binutils.old/dist/gold/ |
H A D | object.cc | 121 * elfcpp::Elf_sizes<size>::shdr_size)); in read_symtab_xindex() 193 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in read_section_data() local 525 p -= This::shdr_size; in find_symtab() 592 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in find_shdr() local 626 hdr += shdr_size; in find_shdr() 632 hdr += shdr_size; in find_shdr() 726 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in build_compressed_section_map() local 1520 pshdrs = shdrs + This::shdr_size; in do_layout() 1602 pshdrs = shdrs + This::shdr_size; in do_layout() 2709 + This::shdr_size * shndx; in do_section_flags() [all …]
|
H A D | reloc.cc | 275 shnum * This::shdr_size, in do_read_relocs() 278 const unsigned char* ps = pshdrs + This::shdr_size; in do_read_relocs() 279 for (unsigned int i = 1; i < shnum; ++i, ps += This::shdr_size) in do_read_relocs() 306 typename This::Shdr secshdr(pshdrs + shndx * This::shdr_size); in do_read_relocs() 369 + this->symtab_shndx_ * This::shdr_size); in do_read_relocs() 595 shnum * This::shdr_size, in do_relocate() 690 const unsigned char* p = pshdrs + This::shdr_size; in write_sections() 691 for (unsigned int i = 1; i < shnum; ++i, p += This::shdr_size) in write_sections() 909 const unsigned char* p = pshdrs + start_shndx * This::shdr_size; in relocate_section_range() 982 relinfo.data_shdr = pshdrs + index * This::shdr_size; in relocate_section_range() [all …]
|
H A D | binary.cc | 190 + 5 * elfcpp::Elf_sizes<size>::shdr_size); in sized_convert() 304 oehdr.put_e_shentsize(elfcpp::Elf_sizes<size>::shdr_size); in write_file_header() 341 *ppout += elfcpp::Elf_sizes<size>::shdr_size; in write_section_header()
|
/netbsd/external/gpl3/gdb.old/dist/gold/ |
H A D | object.cc | 121 * elfcpp::Elf_sizes<size>::shdr_size)); in read_symtab_xindex() 193 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in read_section_data() local 525 p -= This::shdr_size; in find_symtab() 592 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in find_shdr() local 626 hdr += shdr_size; in find_shdr() 632 hdr += shdr_size; in find_shdr() 726 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; in build_compressed_section_map() local 1520 pshdrs = shdrs + This::shdr_size; in do_layout() 1602 pshdrs = shdrs + This::shdr_size; in do_layout() 2709 + This::shdr_size * shndx; in do_section_flags() [all …]
|
H A D | reloc.cc | 275 shnum * This::shdr_size, in do_read_relocs() 278 const unsigned char* ps = pshdrs + This::shdr_size; in do_read_relocs() 279 for (unsigned int i = 1; i < shnum; ++i, ps += This::shdr_size) in do_read_relocs() 306 typename This::Shdr secshdr(pshdrs + shndx * This::shdr_size); in do_read_relocs() 369 + this->symtab_shndx_ * This::shdr_size); in do_read_relocs() 595 shnum * This::shdr_size, in do_relocate() 690 const unsigned char* p = pshdrs + This::shdr_size; in write_sections() 691 for (unsigned int i = 1; i < shnum; ++i, p += This::shdr_size) in write_sections() 909 const unsigned char* p = pshdrs + start_shndx * This::shdr_size; in relocate_section_range() 982 relinfo.data_shdr = pshdrs + index * This::shdr_size; in relocate_section_range() [all …]
|
H A D | binary.cc | 190 + 5 * elfcpp::Elf_sizes<size>::shdr_size); in sized_convert() 304 oehdr.put_e_shentsize(elfcpp::Elf_sizes<size>::shdr_size); in write_file_header() 341 *ppout += elfcpp::Elf_sizes<size>::shdr_size; in write_section_header()
|
/netbsd/lib/libc/gen/ |
H A D | nlist_elf32.c | 93 Elf_Word shdr_size; in ELFNAMEEND() local 242 shdr_size = ehdrp->e_shentsize * nshdr; in ELFNAMEEND() 244 if (check(shdr_off, shdr_size) || in ELFNAMEEND()
|
/netbsd/usr.sbin/kvm_mkdb/ |
H A D | nlist_elf32.c | 106 Elf_Word shdr_size; variable 208 shdr_size = ehdrp->e_shentsize * nshdr; 210 if (check(shdr_off, shdr_size) ||
|