/toolchain/binutils/binutils-2.27/elfcpp/ |
elfcpp_file.h | 111 static const int shdr_size = Elf_sizes<size>::shdr_size; member in class:elfcpp::Elf_file 199 shdr_size); 415 if (ehdr.get_e_shentsize() != This::shdr_size) 417 ehdr.get_e_shentsize(), This::shdr_size); member in class:elfcpp::This 439 typename File::View v(this->file_->view(this->shoff_, This::shdr_size)); 484 This::shdr_size * shnum)); 487 Ef_shdr shdr(v.data() + This::shdr_size * i); 503 return this->shoff_ + This::shdr_size * shndx; 518 This::shdr_size)); [all...] |
elfcpp.h | 1026 static const int shdr_size = sizeof(internal::Shdr_data<size>); member in struct:elfcpp::Elf_sizes [all...] |
/toolchain/binutils/binutils-2.27/libiberty/ |
simple-object-elf.c | 498 size_t shdr_size; local 508 shdr_size = (ei_class == ELFCLASS32 516 shdrs = XNEWVEC (unsigned char, shdr_size * (shnum - 1)); 519 sobj->offset + eor->shoff + shdr_size, 521 shdr_size * (shnum - 1), 530 shstrhdr = shdrs + (eor->shstrndx - 1) * shdr_size; 553 shdr = shdrs + (i - 1) * shdr_size; 777 size_t shdr_size; local 783 shdr_size = (cl == ELFCLASS32 798 return simple_object_internal_write (descriptor, offset, buf, shdr_size, 818 size_t shdr_size; local [all...] |
/toolchain/binutils/binutils-2.27/gold/ |
object.cc | 121 * elfcpp::Elf_sizes<size>::shdr_size)); 193 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local 198 sd->section_headers = this->get_lasting_view(shoff, shnum * shdr_size, 203 const unsigned char* pshdrnames = pshdrs + elf_file->shstrndx() * shdr_size; 519 const unsigned char* p = pshdrs + shnum * This::shdr_size; 526 p -= This::shdr_size; 593 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local 595 const unsigned char* hdr_end = pshdrs + shdr_size * shnum 727 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local [all...] |
binary.cc | 190 + 5 * elfcpp::Elf_sizes<size>::shdr_size); 304 oehdr.put_e_shentsize(elfcpp::Elf_sizes<size>::shdr_size); 341 *ppout += elfcpp::Elf_sizes<size>::shdr_size;
|
reloc.cc | 275 shnum * This::shdr_size, 278 const unsigned char* ps = pshdrs + This::shdr_size; 279 for (unsigned int i = 1; i < shnum; ++i, ps += This::shdr_size) 306 typename This::Shdr secshdr(pshdrs + shndx * This::shdr_size); 369 + this->symtab_shndx_ * This::shdr_size); 595 shnum * This::shdr_size, 690 const unsigned char* p = pshdrs + This::shdr_size; 691 for (unsigned int i = 1; i < shnum; ++i, p += This::shdr_size) 909 const unsigned char* p = pshdrs + start_shndx * This::shdr_size; 910 for (unsigned int i = start_shndx; i <= end_shndx; ++i, p += This::shdr_size) [all...] |
dynobj.h | 292 static const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; member in class:gold::Sized_dynobj
|
dwp.cc | 776 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local 784 const unsigned char* const pshdrs = this->get_view(shoff, shnum * shdr_size, 789 pshdrs + this->elf_file_.shstrndx() * shdr_size; 2188 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local [all...] |
dynobj.cc | 121 for (unsigned int i = 0; i < shnum; ++i, p += This::shdr_size) 226 typename This::Shdr shdr(pshdrs + shndx * This::shdr_size); 255 typename This::Shdr dynamicshdr(pshdrs + dynamic_shndx * This::shdr_size); 272 typename This::Shdr strtabshdr(pshdrs + link * This::shdr_size); 392 + this->dynsym_shndx_ * This::shdr_size); 408 typename This::Shdr strtabshdr(pshdrs + strtab_shndx * This::shdr_size); 491 pshdrs += This::shdr_size; 492 for (unsigned int i = 1; i < shnum; ++i, pshdrs += This::shdr_size) [all...] |
output.cc | 222 int shdr_size; local 224 shdr_size = elfcpp::Elf_sizes<32>::shdr_size; 226 shdr_size = elfcpp::Elf_sizes<64>::shdr_size; 230 return count * shdr_size; 272 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local 284 / elfcpp::Elf_sizes<size>::shdr_size); 303 v += shdr_size; 4923 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local [all...] |
object.h | [all...] |
arm.cc | [all...] |
incremental.cc | 525 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local 531 Location shdrs_location(shoff, shnum * shdr_size); 542 const unsigned char* pshdr = shdrs_view.data() + shdr_size; 557 pshdr += shdr_size; [all...] |
aarch64.cc | 2263 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local 2352 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local [all...] |
powerpc.cc | 2065 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local 2129 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local [all...] |
mips.cc | 6752 const size_t shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local [all...] |
/external/kmod/libkmod/ |
libkmod-elf.c | 276 size_t shdrs_size, shdr_size; local 312 shdr_size = sizeof(Elf32_Shdr); 316 shdr_size = sizeof(Elf64_Shdr); 327 if (elf->header.section.entry_size != shdr_size) { 329 elf->header.section.entry_size, shdr_size); 332 shdrs_size = shdr_size * elf->header.section.count;
|
/external/elfutils/libdwfl/ |
dwfl_module_getdwarf.c | 435 size_t shdr_size = class32 ? sizeof (Elf32_Shdr) : sizeof (Elf64_Shdr); local 436 if (unlikely (shnum - 1 > SIZE_MAX / shdr_size)) 438 const size_t shdrs_bytes = (shnum - 1) * shdr_size; [all...] |