/openbsd/lib/libelf/ |
H A D | gelf_shdr.c | 80 d->sh_entsize = (Elf64_Xword) sh32->sh_entsize; in gelf_getshdr() 127 LIBELF_COPY_U32(sh32, s, sh_entsize); in gelf_update_shdr()
|
H A D | elf_update.c | 121 uint64_t sh_align, sh_entsize, sh_offset, sh_size; in _libelf_compute_section_extents() local 130 sh_entsize = (uint64_t) shdr32->sh_entsize; in _libelf_compute_section_extents() 136 sh_entsize = shdr64->sh_entsize; in _libelf_compute_section_extents() 304 if (sh_entsize == 0 && in _libelf_compute_section_extents() 305 (sh_entsize = _libelf_fsize(elftype, ec, e->e_version, in _libelf_compute_section_extents() 307 sh_entsize = 0; in _libelf_compute_section_extents() 323 shdr32->sh_entsize = (uint32_t) sh_entsize; in _libelf_compute_section_extents() 328 shdr64->sh_entsize = sh_entsize; in _libelf_compute_section_extents()
|
H A D | elf_types.m4 | 205 `sh_entsize, WORD', 218 `sh_entsize, XWORD',
|
/openbsd/gnu/usr.bin/binutils/include/elf/ |
H A D | external.h | 110 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member 123 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member
|
H A D | internal.h | 84 bfd_size_type sh_entsize; /* Entry size if section holds table */ member
|
/openbsd/gnu/usr.bin/binutils-2.17/include/elf/ |
H A D | external.h | 110 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member 123 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member
|
H A D | internal.h | 84 bfd_size_type sh_entsize; /* Entry size if section holds table */ member
|
/openbsd/usr.sbin/btrace/ |
H A D | ksyms.c | 95 shdr.sh_type == SHT_SYMTAB && shdr.sh_entsize != 0) { in kelf_open() 97 symtab_size = shdr.sh_size / shdr.sh_entsize; in kelf_open()
|
/openbsd/usr.sbin/rdsetroot/ |
H A D | rdsetroot.c | 127 shdr.sh_type == SHT_SYMTAB && shdr.sh_entsize != 0) { in main() 129 nsymb = shdr.sh_size / shdr.sh_entsize; in main()
|
/openbsd/gnu/llvm/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 160 Elf_Word sh_entsize; // Size of records contained within the section 175 Elf_Xword sh_entsize; // Size of records contained within the section 180 using Elf_Shdr_Base<ELFT>::sh_entsize; 185 if (sh_entsize == 0) 187 return sh_size / sh_entsize;
|
H A D | ELF.h | 489 if (Sec.sh_entsize != sizeof(T) && sizeof(T) != 1) in getSectionContentsAsArray() 492 ", but got " + Twine(Sec.sh_entsize)); in getSectionContentsAsArray() 501 Twine(Sec.sh_entsize) + ")"); in getSectionContentsAsArray() 704 if (Sec.sh_size % Sec.sh_entsize != 0) { in getDynSymtabSize() 708 Twine(Sec.sh_entsize) + ") that is not 0"); in getDynSymtabSize() 710 return Sec.sh_size / Sec.sh_entsize; in getDynSymtabSize()
|
/openbsd/usr.bin/ctfconv/ |
H A D | elf.c | 144 if (sh->sh_entsize == 0) in elf_getsymtab() 151 *nsymb = (sh->sh_size / sh->sh_entsize); in elf_getsymtab()
|
/openbsd/usr.bin/gprof/ |
H A D | elf.c | 89 symtabct = sh_symtab->sh_size / sh_symtab->sh_entsize; in getnfile()
|
/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | elfcode.h | 309 dst->sh_entsize = H_GET_WORD (abfd, src->sh_entsize); in elf_swap_shdr_in() 332 H_PUT_WORD (abfd, src->sh_entsize, dst->sh_entsize); in elf_swap_shdr_out() 837 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs() 1255 entsize = rel_hdr->sh_entsize; in elf_slurp_reloc_table_from_section() 1423 (long) hdr->sh_entsize); in elf_debug_section()
|
H A D | elf.c | 687 newsect->entsize = hdr->sh_entsize; in _bfd_elf_make_section_from_shdr() 2339 rel_hdr->sh_entsize = (use_rela_p in _bfd_elf_init_reloc_shdr() 2435 this_hdr->sh_entsize = bed->s->sizeof_rela; in elf_fake_sections() 2440 this_hdr->sh_entsize = bed->s->sizeof_rel; in elf_fake_sections() 2448 this_hdr->sh_entsize = 0; in elf_fake_sections() 2460 this_hdr->sh_entsize = 0; in elf_fake_sections() 2472 this_hdr->sh_entsize = 4; in elf_fake_sections() 2485 this_hdr->sh_entsize = asect->entsize; in elf_fake_sections() 3110 shstrtab_hdr->sh_entsize = 0; in _bfd_elf_compute_section_file_positions() 5298 ohdr->sh_entsize = ihdr->sh_entsize; in _bfd_elf_copy_private_section_data() [all …]
|
H A D | elf64-mips.c | 1987 count = s->_raw_size / elf_section_data (s)->this_hdr.sh_entsize * 3; in mips_elf64_canonicalize_dynamic_reloc() 2031 entsize = rel_hdr->sh_entsize; in mips_elf64_slurp_one_reloc_table() 2306 if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rel)) in mips_elf64_write_relocs() 2308 else if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rela)) in mips_elf64_write_relocs() 2325 rel_hdr->sh_size = rel_hdr->sh_entsize * *count; in mips_elf64_write_rel() 2421 rela_hdr->sh_size = rela_hdr->sh_entsize * *count; in mips_elf64_write_rela()
|
H A D | elflink.c | 1808 if (shdr->sh_entsize == bed->s->sizeof_rel) in elf_link_read_relocs_from_section() 1839 erela += shdr->sh_entsize; in elf_link_read_relocs_from_section() 2006 == input_rel_hdr->sh_entsize) in _bfd_elf_link_output_relocs() 2013 == input_rel_hdr->sh_entsize)) in _bfd_elf_link_output_relocs() 2038 erel += *rel_countp * input_rel_hdr->sh_entsize; in _bfd_elf_link_output_relocs() 2046 erel += input_rel_hdr->sh_entsize; in _bfd_elf_link_output_relocs() 5448 if (rel_hdr->sh_entsize == bed->s->sizeof_rel) in elf_link_adjust_relocs() 6678 && (input_rel_hdr->sh_entsize in elf_link_input_bfd() 7278 entsize1 = esdi->rel_hdr.sh_entsize; in bfd_elf_final_link() 7375 symtab_hdr->sh_entsize = bed->s->sizeof_sym; in bfd_elf_final_link() [all …]
|
H A D | elflink.h | 2795 if (shdr->sh_entsize == sizeof (Elf_External_Rel)) 2812 erela += shdr->sh_entsize; 4810 rel_hdr->sh_size = rel_hdr->sh_entsize * reloc_count; 5272 entsize1 = esdi->rel_hdr.sh_entsize; 5372 symtab_hdr->sh_entsize = sizeof (Elf_External_Sym); 5762 symstrtab_hdr->sh_entsize = 0; 6731 == input_rel_hdr->sh_entsize) 6738 == input_rel_hdr->sh_entsize)) 6763 erel += *rel_countp * input_rel_hdr->sh_entsize; 6771 erel += input_rel_hdr->sh_entsize; [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/binutils/ |
H A D | readelf.c | 3904 internal->sh_entsize = BYTE_GET (shdrs[i].sh_entsize); in get_32bit_section_headers() 3941 internal->sh_entsize = BYTE_GET (shdrs[i].sh_entsize); in get_64bit_section_headers() 3982 number = section->sh_size / section->sh_entsize; in get_32bit_elf_symbols() 4497 (unsigned long) section->sh_entsize); in process_section_headers() 4529 if ((unsigned long) section->sh_entsize == section->sh_entsize) in process_section_headers() 4534 print_vma (section->sh_entsize, LONG_HEX); in process_section_headers() 4569 print_vma (section->sh_entsize, LONG_HEX); in process_section_headers() 4589 print_vma (section->sh_entsize, LONG_HEX); in process_section_headers() 4991 nsyms = symsec->sh_size / symsec->sh_entsize; in process_relocs() 5307 aux.nsyms = sec->sh_size / sec->sh_entsize; in ia64_process_unwind() [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | elf.c | 798 newsect->entsize = hdr->sh_entsize; in _bfd_elf_make_section_from_shdr() 2030 if (hdr->sh_entsize in bfd_section_from_shdr() 2694 rel_hdr->sh_entsize = (use_rela_p in _bfd_elf_init_reloc_shdr() 2797 this_hdr->sh_entsize = bed->s->sizeof_rel; in elf_fake_sections() 2805 this_hdr->sh_entsize = 0; in elf_fake_sections() 2817 this_hdr->sh_entsize = 0; in elf_fake_sections() 2829 this_hdr->sh_entsize = 4; in elf_fake_sections() 3551 shstrtab_hdr->sh_entsize = 0; in _bfd_elf_compute_section_file_positions() 6143 ohdr->sh_entsize = ihdr->sh_entsize; in _bfd_elf_copy_private_section_data() 6506 symstrtab_hdr->sh_entsize = 0; in swap_out_syms() [all …]
|
H A D | elf64-sparc.c | 78 entsize = rel_hdr->sh_entsize; in elf64_sparc_slurp_one_reloc_table() 329 rela_hdr->sh_size = rela_hdr->sh_entsize * count; in elf64_sparc_write_relocs() 725 elf_section_data (sec)->this_hdr.sh_entsize = 12; in elf64_sparc_fake_sections()
|
H A D | elfcode.h | 311 dst->sh_entsize = H_GET_WORD (abfd, src->sh_entsize); in elf_swap_shdr_in() 334 H_PUT_WORD (abfd, src->sh_entsize, dst->sh_entsize); in elf_swap_shdr_out() 919 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs() 1338 entsize = rel_hdr->sh_entsize; in elf_slurp_reloc_table_from_section() 1501 (long) hdr->sh_entsize); in elf_debug_section()
|
H A D | elf64-mips.c | 2368 count = s->size / elf_section_data (s)->this_hdr.sh_entsize * 3; in mips_elf64_canonicalize_dynamic_reloc() 2412 entsize = rel_hdr->sh_entsize; in mips_elf64_slurp_one_reloc_table() 2687 if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rel)) in mips_elf64_write_relocs() 2689 else if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rela)) in mips_elf64_write_relocs() 2706 rel_hdr->sh_size = rel_hdr->sh_entsize * *count; in mips_elf64_write_rel() 2804 rela_hdr->sh_size = rela_hdr->sh_entsize * *count; in mips_elf64_write_rela()
|
/openbsd/gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 169 elf_xword sh_entsize; ///< Byte size of each section entry. member
|
/openbsd/sys/sys/ |
H A D | exec_elf.h | 220 Elf32_Word sh_entsize; /* section entry size */ member 233 Elf64_Xword sh_entsize; /* table entry size */ member
|