Home
last modified time | relevance | path

Searched refs:sh_entsize (Results 1 – 25 of 51) sorted by relevance

123

/dragonfly/contrib/elftoolchain/libelf/
H A Dgelf_shdr.c80 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 Delf_update.c122 uint64_t sh_align, sh_entsize, sh_offset, sh_size; in _libelf_compute_section_extents() local
131 sh_entsize = (uint64_t) shdr32->sh_entsize; in _libelf_compute_section_extents()
137 sh_entsize = shdr64->sh_entsize; in _libelf_compute_section_extents()
299 if (sh_entsize == 0 && in _libelf_compute_section_extents()
300 (sh_entsize = _libelf_fsize(elftype, ec, e->e_version, in _libelf_compute_section_extents()
302 sh_entsize = 0; in _libelf_compute_section_extents()
318 shdr32->sh_entsize = (uint32_t) sh_entsize; in _libelf_compute_section_extents()
323 shdr64->sh_entsize = sh_entsize; in _libelf_compute_section_extents()
H A Delf_types.m4205 `sh_entsize, WORD',
218 `sh_entsize, XWORD',
/dragonfly/contrib/gdb-7/include/elf/
H A Dexternal.h123 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member
136 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member
H A Dinternal.h112 bfd_size_type sh_entsize; /* Entry size if section holds table */ member
/dragonfly/contrib/binutils-2.27/include/elf/
H A Dexternal.h122 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member
135 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dsimple-object-elf.c174 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member
189 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member
852 size_t sh_entsize, in simple_object_elf_write_shdr() argument
879 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_entsize, Elf_Addr, sh_entsize); in simple_object_elf_write_shdr()
970 size_t sh_entsize = 0; in simple_object_elf_write_to_file() local
991 sh_entsize = ELF_FETCH_FIELD (attrs->type_functions, attrs->ei_class, Shdr, in simple_object_elf_write_to_file()
993 sh_entsize, Elf_Addr); in simple_object_elf_write_to_file()
1030 sh_addralign, sh_entsize, in simple_object_elf_write_to_file()
1226 Shdr, shdr, sh_entsize, in simple_object_elf_copy_lto_debug_sections()
1374 shdr, sh_entsize, Elf_Addr); in simple_object_elf_copy_lto_debug_sections()
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dsimple-object-elf.c174 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member
189 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member
844 size_t sh_entsize, in simple_object_elf_write_shdr() argument
871 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_entsize, Elf_Addr, sh_entsize); in simple_object_elf_write_shdr()
962 size_t sh_entsize = 0; in simple_object_elf_write_to_file() local
983 sh_entsize = ELF_FETCH_FIELD (attrs->type_functions, attrs->ei_class, Shdr, in simple_object_elf_write_to_file()
985 sh_entsize, Elf_Addr); in simple_object_elf_write_to_file()
1022 sh_addralign, sh_entsize, in simple_object_elf_write_to_file()
1218 Shdr, shdr, sh_entsize, in simple_object_elf_copy_lto_debug_sections()
1367 shdr, sh_entsize, Elf_Addr); in simple_object_elf_copy_lto_debug_sections()
/dragonfly/contrib/binutils-2.34/include/elf/
H A Dexternal.h122 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member
135 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member
/dragonfly/contrib/binutils-2.34/libctf/
H A Dctf-open-bfd.c138 size_t symcount = symhdr->sh_size / symhdr->sh_entsize; in ctf_bfdopen_ctfsect()
186 assert (symhdr->sh_entsize == get_elf_backend_data (abfd)->s->sizeof_sym); in ctf_bfdopen_ctfsect()
188 symsect.cts_entsize = symhdr->sh_entsize; in ctf_bfdopen_ctfsect()
/dragonfly/contrib/file/src/
H A Dreadelf.h216 Elf32_Word sh_entsize; member
229 Elf64_Off sh_entsize; member
/dragonfly/contrib/binutils-2.34/bfd/
H A Delfcode.h328 dst->sh_entsize = H_GET_WORD (abfd, src->sh_entsize); in elf_swap_shdr_in()
351 H_PUT_WORD (abfd, src->sh_entsize, dst->sh_entsize); in elf_swap_shdr_out()
902 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs()
904 rela_hdr->sh_entsize); in elf_write_relocs()
1429 entsize = rel_hdr->sh_entsize; in elf_slurp_reloc_table_from_section()
1601 (long) hdr->sh_entsize); in elf_debug_section()
H A Delf.c611 && (shdr)->sh_entsize == GRP_ENTRY_SIZE \ in setup_group()
1074 newsect->entsize = hdr->sh_entsize; in _bfd_elf_make_section_from_shdr()
1350 || a->sh_entsize != b->sh_entsize) in section_match()
1606 && iheader->sh_entsize == oheader->sh_entsize in _bfd_elf_copy_private_bfd_data()
2374 if (hdr->sh_entsize in bfd_section_from_shdr()
3179 rel_hdr->sh_entsize = (use_rela_p in _bfd_elf_init_reloc_shdr()
3392 this_hdr->sh_entsize = 0; in elf_fake_sections()
3404 this_hdr->sh_entsize = 0; in elf_fake_sections()
4347 shstrtab_hdr->sh_entsize = 0; in _bfd_elf_compute_section_file_positions()
7838 ohdr->sh_entsize = ihdr->sh_entsize; in _bfd_elf_copy_private_section_data()
[all …]
/dragonfly/contrib/binutils-2.27/bfd/
H A Delf.c597 && (shdr)->sh_entsize == GRP_ENTRY_SIZE \ in setup_group()
978 newsect->entsize = hdr->sh_entsize; in _bfd_elf_make_section_from_shdr()
1236 && a->sh_entsize == b->sh_entsize in section_match()
1469 && iheader->sh_entsize == oheader->sh_entsize in _bfd_elf_copy_private_bfd_data()
2231 if (hdr->sh_entsize in bfd_section_from_shdr()
3033 rel_hdr->sh_entsize = (use_rela_p in _bfd_elf_init_reloc_shdr()
3245 this_hdr->sh_entsize = 0; in elf_fake_sections()
3257 this_hdr->sh_entsize = 0; in elf_fake_sections()
4110 shstrtab_hdr->sh_entsize = 0; in _bfd_elf_compute_section_file_positions()
7240 ohdr->sh_entsize = ihdr->sh_entsize; in _bfd_elf_copy_private_section_data()
[all …]
H A Delfcode.h320 dst->sh_entsize = H_GET_WORD (abfd, src->sh_entsize); in elf_swap_shdr_in()
343 H_PUT_WORD (abfd, src->sh_entsize, dst->sh_entsize); in elf_swap_shdr_out()
890 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs()
1409 entsize = rel_hdr->sh_entsize; in elf_slurp_reloc_table_from_section()
1575 (long) hdr->sh_entsize); in elf_debug_section()
H A Delf-bfd.h40 #define NUM_SHDR_ENTRIES(shdr) ((shdr)->sh_entsize > 0 ? (shdr)->sh_size / (shdr)->sh_entsize : 0)
2647 if (rel_hdr->sh_size > rel_hdr->sh_entsize) \
2649 rel_hdr->sh_size -= rel_hdr->sh_entsize; \
2651 rel_hdr->sh_size -= rel_hdr->sh_entsize; \
/dragonfly/contrib/gdb-7/bfd/
H A Delfcode.h321 dst->sh_entsize = H_GET_WORD (abfd, src->sh_entsize); in elf_swap_shdr_in()
344 H_PUT_WORD (abfd, src->sh_entsize, dst->sh_entsize); in elf_swap_shdr_out()
888 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs()
1407 entsize = rel_hdr->sh_entsize; in elf_slurp_reloc_table_from_section()
1571 (long) hdr->sh_entsize); in elf_debug_section()
H A Delf.c560 && (shdr)->sh_entsize == GRP_ENTRY_SIZE \ in setup_group()
876 newsect->entsize = hdr->sh_entsize; in _bfd_elf_make_section_from_shdr()
1794 if (hdr->sh_entsize in bfd_section_from_shdr()
2551 rel_hdr->sh_entsize = (use_rela_p in _bfd_elf_init_reloc_shdr()
2681 this_hdr->sh_entsize = bed->s->sizeof_rel; in elf_fake_sections()
2689 this_hdr->sh_entsize = 0; in elf_fake_sections()
2701 this_hdr->sh_entsize = 0; in elf_fake_sections()
3496 shstrtab_hdr->sh_entsize = 0; in _bfd_elf_compute_section_file_positions()
6471 ohdr->sh_entsize = ihdr->sh_entsize; in _bfd_elf_copy_private_section_data()
6924 symstrtab_hdr->sh_entsize = 0; in swap_out_syms()
[all …]
H A Delf-bfd.h36 #define NUM_SHDR_ENTRIES(shdr) ((shdr)->sh_entsize > 0 ? (shdr)->sh_size / (shdr)->sh_entsize : 0)
2515 if (rel_hdr->sh_size > count * rel_hdr->sh_entsize) \
2517 rel_hdr->sh_size -= count * rel_hdr->sh_entsize; \
2519 rel_hdr->sh_size -= count * rel_hdr->sh_entsize; \
/dragonfly/sys/sys/
H A Delf32.h87 Elf32_Size sh_entsize; /* Size of each entry in section. */ member
H A Delf64.h102 Elf64_Xword sh_entsize; /* Size of each entry in section. */ member
/dragonfly/lib/libexecinfo/
H A Dsymtab.c121 ns = shdr.sh_size / shdr.sh_entsize; in symtab_create()
/dragonfly/contrib/binutils-2.34/elfcpp/
H A Delfcpp_internal.h79 typename Elf_types<size>::Elf_WXword sh_entsize; member
/dragonfly/contrib/binutils-2.27/elfcpp/
H A Delfcpp_internal.h79 typename Elf_types<size>::Elf_WXword sh_entsize; member
/dragonfly/contrib/binutils-2.27/binutils/
H A Dreadelf.c5058 internal->sh_entsize = BYTE_GET (shdrs[i].sh_entsize); in get_32bit_section_headers()
5116 internal->sh_entsize = BYTE_GET (shdrs[i].sh_entsize); in get_64bit_section_headers()
5151 if (section->sh_entsize == 0 || section->sh_entsize > section->sh_size) in get_32bit_elf_symbols()
5172 (unsigned long) section->sh_entsize); in get_32bit_elf_symbols()
5262 if (section->sh_entsize == 0 || section->sh_entsize > section->sh_size) in get_64bit_elf_symbols()
5266 (unsigned long) section->sh_entsize); in get_64bit_elf_symbols()
5285 (unsigned long) section->sh_entsize); in get_64bit_elf_symbols()
5941 (unsigned long) section->sh_entsize); in process_section_headers()
6013 if ((unsigned long) section->sh_entsize == section->sh_entsize) in process_section_headers()
6313 (unsigned long) section->sh_entsize, in process_section_groups()
[all …]

123