Home
last modified time | relevance | path

Searched refs:EI_NIDENT (Results 1 – 13 of 13) sorted by relevance

/toolchain/binutils/binutils-2.25/binutils/
Delfedit.c170 if (fread (elf_header.e_ident, EI_NIDENT, 1, file) != 1) in get_file_header()
198 if (fread (ehdr32.e_type, sizeof (ehdr32) - EI_NIDENT, in get_file_header()
216 memcpy (&ehdr32, &elf_header, EI_NIDENT); in get_file_header()
231 if (fread (ehdr64.e_type, sizeof (ehdr64) - EI_NIDENT, in get_file_header()
249 memcpy (&ehdr64, &elf_header, EI_NIDENT); in get_file_header()
Dreadelf.c4110 for (i = 0; i < EI_NIDENT; i++) in process_file_header()
14833 if (fread (elf_header.e_ident, EI_NIDENT, 1, file) != 1) in get_file_header()
14859 if (fread (ehdr32.e_type, sizeof (ehdr32) - EI_NIDENT, 1, file) != 1) in get_file_header()
14891 if (fread (ehdr64.e_type, sizeof (ehdr64) - EI_NIDENT, 1, file) != 1) in get_file_header()
/toolchain/binutils/binutils-2.25/gold/
Dtarget.cc230 unsigned char e_ident[elfcpp::EI_NIDENT]; in do_adjust_elf_header()
231 memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT); in do_adjust_elf_header()
Dbinary.cc270 unsigned char e_ident[elfcpp::EI_NIDENT]; in write_file_header()
271 memset(e_ident, 0, elfcpp::EI_NIDENT); in write_file_header()
Ddwp.cc2106 unsigned char e_ident[elfcpp::EI_NIDENT]; in sized_write_ehdr()
2107 memset(e_ident, 0, elfcpp::EI_NIDENT); in sized_write_ehdr()
Doutput.cc505 unsigned char e_ident[elfcpp::EI_NIDENT]; in do_sized_write()
506 memset(e_ident, 0, elfcpp::EI_NIDENT); in do_sized_write()
Dmips.cc7888 unsigned char e_ident[elfcpp::EI_NIDENT]; in do_adjust_elf_header()
7889 memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT); in do_adjust_elf_header()
Darm.cc10592 unsigned char e_ident[elfcpp::EI_NIDENT]; in do_adjust_elf_header()
10593 memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT); in do_adjust_elf_header()
/toolchain/binutils/binutils-2.25/include/elf/
Dinternal.h65 #define EI_NIDENT 16 /* Size of e_ident[] */ macro
68 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */
/toolchain/binutils/binutils-2.25/elfcpp/
Delfcpp_internal.h49 unsigned char e_ident[EI_NIDENT];
Delfcpp.h90 const int EI_NIDENT = 16;
1101 put_e_ident(const unsigned char v[EI_NIDENT]) const
1102 { memcpy(this->p_->e_ident, v, EI_NIDENT); }
Delfcpp_file.h333 if (bufsize < elfcpp::EI_NIDENT) in is_valid_header()
/toolchain/binutils/binutils-2.25/bfd/
Delfcode.h240 memcpy (dst->e_ident, src->e_ident, EI_NIDENT); in elf_swap_ehdr_in()
269 memcpy (dst->e_ident, src->e_ident, EI_NIDENT); in elf_swap_ehdr_out()