Searched refs:shdr_size (Results 1 - 17 of 17) sorted by relevance

/haiku-buildtools/binutils/elfcpp/
H A Delfcpp_file.h111 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...]
H A Delfcpp.h1015 static const int shdr_size = sizeof(internal::Shdr_data<size>); member in struct:elfcpp::Elf_sizes
/haiku-buildtools/binutils/libiberty/
H A Dsimple-object-elf.c498 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...]
/haiku-buildtools/gcc/libiberty/
H A Dsimple-object-elf.c498 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...]
/haiku-buildtools/binutils/gold/
H A Dobject.cc121 * 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 * shnu
727 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local
[all...]
H A Dbinary.cc190 + 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;
H A Dreloc.cc275 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...]
H A Ddwp.cc776 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;
2134 ehdr.put_e_shentsize(elfcpp::Elf_sizes<size>::shdr_size);
2188 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local
2189 unsigned char buf[shdr_size];
2202 if (::fwrite(buf, 1, shdr_size, this->fd_) < shdr_size)
[all...]
H A Doutput.cc222 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;
4925 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local
[all...]
H A Ddynobj.cc121 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)
H A Ddynobj.h292 static const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; member in class:gold::Sized_dynobj
H A Dobject.h2591 static const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size;
2799 static const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size;
2806 memcpy(this->shdr_data_, pshdr, shdr_size);
2812 unsigned char shdr_data_[shdr_size];
H A Darm.cc6254 const unsigned int shdr_size = elfcpp::Elf_sizes<32>::shdr_size;
6255 const elfcpp::Shdr<32, big_endian> text_shdr(pshdrs + index * shdr_size);
6383 const unsigned int shdr_size = elfcpp::Elf_sizes<32>::shdr_size;
6387 shnum * shdr_size,
6402 const unsigned char* p = pshdrs + shdr_size;
6403 for (unsigned int i = 1; i < shnum; ++i, p += shdr_size)
6461 const unsigned char* p = pshdrs + shdr_size;
6462 for (unsigned int i = 1; i < shnum; ++i, p += shdr_size)
[all...]
H A Dincremental.cc525 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;
H A Daarch64.cc2124 relinfo.data_shdr = pshdrs + i * elfcpp::Elf_sizes<size>::shdr_size;
2216 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local
2218 text_shndx * shdr_size);
2305 const unsigned int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local
2309 shnum * shdr_size,
2324 const unsigned char* p = pshdrs + shdr_size;
2325 for (unsigned int i = 1; i < shnum; ++i, p += shdr_size)
H A Dpowerpc.cc1899 unsigned int ndx = (s - pshdrs) / elfcpp::Elf_sizes<size>::shdr_size;
1916 unsigned int ndx = (s - pshdrs) / elfcpp::Elf_sizes<size>::shdr_size;
2092 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local
2101 const unsigned char *psymtab = pshdrs + symtab_shndx * shdr_size;
2156 const int shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local
2183 this->opd_shndx_ = (s - pshdrs) / shdr_size;
2199 for (unsigned int i = 1; i < this->shnum(); ++i, s += shdr_size)
H A Dmips.cc6752 const size_t shdr_size = elfcpp::Elf_sizes<size>::shdr_size; local
6754 const unsigned char* ps = pshdrs + shdr_size;
6755 for (unsigned int i = 1; i < this->shnum(); ++i, ps += shdr_size)

Completed in 490 milliseconds