Searched refs:ehdr_size (Results 1 – 12 of 12) sorted by relevance
/toolchain/binutils/binutils-2.25/libiberty/ |
D | simple-object-elf.c | 697 size_t ehdr_size; in simple_object_elf_write_ehdr() local 716 ehdr_size = (cl == ELFCLASS32 in simple_object_elf_write_ehdr() 735 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shoff, Elf_Addr, ehdr_size); in simple_object_elf_write_ehdr() 737 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_ehsize, Elf_Half, ehdr_size); in simple_object_elf_write_ehdr() 759 return simple_object_internal_write (descriptor, 0, buf, ehdr_size, in simple_object_elf_write_ehdr() 817 size_t ehdr_size; in simple_object_elf_write_to_file() local 835 ehdr_size = sizeof (Elf32_External_Ehdr); in simple_object_elf_write_to_file() 840 ehdr_size = sizeof (Elf64_External_Ehdr); in simple_object_elf_write_to_file() 853 shdr_offset = ehdr_size; in simple_object_elf_write_to_file()
|
/toolchain/binutils/binutils-2.25/elfcpp/ |
D | elfcpp_file.h | 76 static const int max_header_size = Elf_sizes<64>::ehdr_size; 109 static const int ehdr_size = Elf_sizes<size>::ehdr_size; 379 if (bufsize < elfcpp::Elf_sizes<32>::ehdr_size) in is_valid_header() 388 if (bufsize < elfcpp::Elf_sizes<64>::ehdr_size) in is_valid_header() 412 if (ehdr.get_e_ehsize() != This::ehdr_size) in construct() 414 ehdr.get_e_ehsize(), This::ehdr_size); in construct() 426 typename File::View v(file->view(file_header_offset, This::ehdr_size)); in Elf_file()
|
D | elfcpp.h | 995 static const int ehdr_size = sizeof(internal::Ehdr_data<size>);
|
/toolchain/binutils/binutils-2.25/gold/ |
D | binary.cc | 183 size_t output_size = (elfcpp::Elf_sizes<size>::ehdr_size in sized_convert() 293 oehdr.put_e_shoff(elfcpp::Elf_sizes<size>::ehdr_size); in write_file_header() 295 oehdr.put_e_ehsize(elfcpp::Elf_sizes<size>::ehdr_size); in write_file_header() 302 *ppout += elfcpp::Elf_sizes<size>::ehdr_size; in write_file_header()
|
D | expression.cc | 1230 unsigned int ehdr_size; in value() local 1234 ehdr_size = elfcpp::Elf_sizes<32>::ehdr_size; in value() 1239 ehdr_size = elfcpp::Elf_sizes<64>::ehdr_size; in value() 1245 return ehdr_size + phdr_size * eei->layout->expected_segment_count(); in value()
|
D | dwp.cc | 1564 this->next_file_offset_ = elfcpp::Elf_sizes<32>::ehdr_size; in record_target_info() 1566 this->next_file_offset_ = elfcpp::Elf_sizes<64>::ehdr_size; in record_target_info() 1576 static const char buf[elfcpp::Elf_sizes<64>::ehdr_size] = { 0 }; in record_target_info() 2102 const unsigned int ehdr_size = elfcpp::Elf_sizes<size>::ehdr_size; in sized_write_ehdr() local 2103 unsigned char buf[ehdr_size]; in sized_write_ehdr() 2131 ehdr.put_e_ehsize(elfcpp::Elf_sizes<size>::ehdr_size); in sized_write_ehdr() 2141 if (::fwrite(buf, 1, ehdr_size, this->fd_) < ehdr_size) in sized_write_ehdr()
|
D | target.cc | 227 gold_assert(len == elfcpp::Elf_sizes<size>::ehdr_size); in do_adjust_elf_header()
|
D | output.cc | 501 int ehdr_size = elfcpp::Elf_sizes<size>::ehdr_size; in do_sized_write() local 502 unsigned char* view = of->get_output_view(0, ehdr_size); in do_sized_write() 544 oehdr.put_e_ehsize(elfcpp::Elf_sizes<size>::ehdr_size); in do_sized_write() 579 this->target_->adjust_elf_header(view, ehdr_size); in do_sized_write() 581 of->write_output_view(0, ehdr_size, view); in do_sized_write() 629 return elfcpp::Elf_sizes<32>::ehdr_size; in do_size() 631 return elfcpp::Elf_sizes<64>::ehdr_size; in do_size()
|
D | object.h | 2464 static const int ehdr_size = elfcpp::Elf_sizes<size>::ehdr_size; variable
|
D | script-sections.cc | 3732 file_header_size = elfcpp::Elf_sizes<32>::ehdr_size; in total_header_size() 3737 file_header_size = elfcpp::Elf_sizes<64>::ehdr_size; in total_header_size()
|
D | mips.cc | 5869 elfcpp::Elf_sizes<size>::ehdr_size, in do_read_symbols() 7885 gold_assert(len == elfcpp::Elf_sizes<size>::ehdr_size); in do_adjust_elf_header() 8006 elfcpp::Elf_sizes<size>::ehdr_size, in do_finalize_sections() 8027 elfcpp::Elf_sizes<size>::ehdr_size, in do_finalize_sections()
|
D | arm.cc | 6839 elfcpp::Elf_sizes<32>::ehdr_size, in do_read_symbols() 7120 elfcpp::Elf_sizes<32>::ehdr_size, in do_read_symbols() 10588 gold_assert(len == elfcpp::Elf_sizes<32>::ehdr_size); in do_adjust_elf_header()
|