/haiku-buildtools/binutils/gold/ |
H A D | target.cc | 72 const elfcpp::Ehdr<size, big_endian>& ehdr) 74 int et = ehdr.get_e_type(); 81 new Sized_relobj_file<size, big_endian>(name, input_file, offset, ehdr); 88 new Sized_dynobj<size, big_endian>(name, input_file, offset, ehdr); 107 off_t offset, const elfcpp::Ehdr<32, false>& ehdr) 110 offset, ehdr); 117 off_t offset, const elfcpp::Ehdr<32, true>& ehdr) 120 offset, ehdr); 127 off_t offset, const elfcpp::Ehdr<64, false>& ehdr) 130 offset, ehdr); 68 do_make_elf_object_implementation( const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) argument 106 do_make_elf_object(const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<32, false>& ehdr) argument 116 do_make_elf_object(const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<32, true>& ehdr) argument 126 do_make_elf_object(const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<64, false>& ehdr) argument 136 do_make_elf_object(const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<64, true>& ehdr) argument [all...] |
H A D | dwp.cc | 255 const elfcpp::Ehdr<size, big_endian>& ehdr) 257 elf_file_(this, ehdr) 1103 elfcpp::Ehdr<size, big_endian> ehdr(p); 1105 new Sized_relobj_dwo<size, big_endian>(this->name_, input_file, ehdr); 1109 this->name_, ehdr.get_e_machine(), size, big_endian, 1110 ehdr.get_e_ident()[elfcpp::EI_OSABI], 1111 ehdr.get_e_ident()[elfcpp::EI_ABIVERSION]); 2104 elfcpp::Ehdr_write<size, big_endian> ehdr(buf); 2122 ehdr.put_e_ident(e_ident); 2124 ehdr 254 Sized_relobj_dwo(const char* name, Input_file* input_file, const elfcpp::Ehdr<size, big_endian>& ehdr) argument [all...] |
H A D | readsyms.cc | 290 const unsigned char* ehdr; local 292 bool is_elf = is_elf_object(input_file, 0, &ehdr, &read_size); 297 = memcmp(ehdr, Archive::armagt, Archive::sarmag) == 0; 299 || memcmp(ehdr, Archive::armag, Archive::sarmag) == 0) 337 input_file, 0, ehdr, read_size,
|
H A D | object.cc | 464 const elfcpp::Ehdr<size, big_endian>& ehdr) 466 elf_file_(this, ehdr), 485 this->e_type_ = ehdr.get_e_type(); 3156 off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr, 3160 ehdr.get_e_machine(), size, big_endian, 3161 ehdr.get_e_ident()[elfcpp::EI_OSABI], 3162 ehdr.get_e_ident()[elfcpp::EI_ABIVERSION]); 3165 name.c_str(), ehdr.get_e_machine()); 3179 ehdr); 3231 elfcpp::Ehdr<32, true> ehdr( 460 Sized_relobj_file( const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) argument 3155 make_elf_sized_object(const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr, bool* punconfigured) argument [all...] |
H A D | target.h | 366 off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) 367 { return this->do_make_elf_object(name, input_file, offset, ehdr); } 715 const elfcpp::Ehdr<64, false>& ehdr); 722 off_t offset, const elfcpp::Ehdr<64, true>& ehdr); 365 make_elf_object(const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) argument
|
H A D | archive.cc | 689 const unsigned char* ehdr; local 694 if (is_elf_object(input_file, memoff, &ehdr, &read_size)) 698 input_file, memoff, ehdr, read_size,
|
H A D | incremental.cc | 850 const elfcpp::Ehdr<size, big_endian>& ehdr) 853 ehdr.get_e_machine(), size, big_endian, 854 ehdr.get_e_ident()[elfcpp::EI_OSABI], 855 ehdr.get_e_ident()[elfcpp::EI_ABIVERSION]); 859 ehdr.get_e_machine()); 868 return new Sized_incremental_binary<size, big_endian>(file, ehdr, target); 849 make_sized_incremental_binary(Output_file* file, const elfcpp::Ehdr<size, big_endian>& ehdr) argument
|
H A D | arm.cc | 1495 const typename elfcpp::Ehdr<32, big_endian>& ehdr) 1496 : Sized_relobj_file<32, big_endian>(name, input_file, offset, ehdr), 1775 const elfcpp::Ehdr<32, big_endian>& ehdr) 1776 : Sized_dynobj<32, big_endian>(name, input_file, offset, ehdr), 2496 const elfcpp::Ehdr<32, big_endian>& ehdr); 6918 elfcpp::Ehdr<32, big_endian> ehdr(pehdr); 6919 this->processor_specific_flags_ = ehdr.get_e_flags(); 7199 elfcpp::Ehdr<32, big_endian> ehdr(pehdr); 7200 this->processor_specific_flags_ = ehdr.get_e_flags(); 10812 elfcpp::Ehdr<32, big_endian> ehdr(vie [all...] |
H A D | incremental.h | 1593 const elfcpp::Ehdr<size, big_endian>& ehdr, 1595 : Incremental_binary(output, target), elf_file_(this, ehdr), 1592 Sized_incremental_binary(Output_file* output, const elfcpp::Ehdr<size, big_endian>& ehdr, Target* target) argument
|
H A D | mips.cc | 1586 const typename elfcpp::Ehdr<size, big_endian>& ehdr) 1587 : Sized_relobj_file<size, big_endian>(name, input_file, offset, ehdr), 1597 this->is_pic_ = (ehdr.get_e_flags() & elfcpp::EF_MIPS_PIC) != 0; 1598 this->is_n32_ = elfcpp::abi_n32(ehdr.get_e_flags()); 3632 const elfcpp::Ehdr<size, big_endian>& ehdr); 6740 elfcpp::Ehdr<size, big_endian> ehdr(pehdr); 6741 this->processor_specific_flags_ = ehdr.get_e_flags(); 9433 elfcpp::Ehdr<size, big_endian> ehdr(view); 9436 memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT); 9439 elfcpp::Elf_Half type = ehdr 1585 Mips_relobj(const std::string& name, Input_file* input_file, off_t offset, const typename elfcpp::Ehdr<size, big_endian>& ehdr) argument 9466 do_make_elf_object( const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) argument [all...] |
H A D | sparc.cc | 229 const elfcpp::Ehdr<size, big_endian>& ehdr); 4407 off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) 4409 elfcpp::Elf_Half machine = ehdr.get_e_machine(); 4410 elfcpp::Elf_Word flags = ehdr.get_e_flags(); 4472 return Target::do_make_elf_object(name, input_file, offset, ehdr); 4404 do_make_elf_object( const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) argument
|
H A D | dynobj.cc | 80 const elfcpp::Ehdr<size, big_endian>& ehdr) 82 elf_file_(this, ehdr), 76 Sized_dynobj( const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) argument
|
H A D | aarch64.cc | 1748 const typename elfcpp::Ehdr<size, big_endian>& ehdr) 1749 : Sized_relobj_file<size, big_endian>(name, input_file, offset, ehdr), 3723 off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) 3725 int et = ehdr.get_e_type(); 3730 name, input_file, offset, ehdr); 3734 new AArch64_relobj<size, big_endian>(name, input_file, offset, ehdr); 3742 new Sized_dynobj<size, big_endian>(name, input_file, offset, ehdr); 1747 AArch64_relobj(const std::string& name, Input_file* input_file, off_t offset, const typename elfcpp::Ehdr<size, big_endian>& ehdr) argument 3720 do_make_elf_object( const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) argument
|
H A D | powerpc.cc | 96 const typename elfcpp::Ehdr<size, big_endian>& ehdr) 97 : Sized_relobj_file<size, big_endian>(name, input_file, offset, ehdr), 100 e_flags_(ehdr.get_e_flags()), no_toc_opt_(), opd_ent_(), 462 const typename elfcpp::Ehdr<size, big_endian>& ehdr) 463 : Sized_dynobj<size, big_endian>(name, input_file, offset, ehdr), 464 opd_shndx_(0), e_flags_(ehdr.get_e_flags()), opd_ent_() 2353 off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) 2355 int et = ehdr.get_e_type(); 2362 new Powerpc_relobj<size, big_endian>(name, input_file, offset, ehdr); 2369 new Powerpc_dynobj<size, big_endian>(name, input_file, offset, ehdr); 95 Powerpc_relobj(const std::string& name, Input_file* input_file, off_t offset, const typename elfcpp::Ehdr<size, big_endian>& ehdr) argument 461 Powerpc_dynobj(const std::string& name, Input_file* input_file, off_t offset, const typename elfcpp::Ehdr<size, big_endian>& ehdr) argument 2350 do_make_elf_object( const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) argument [all...] |
/haiku-buildtools/gcc/libbacktrace/ |
H A D | elf.c | 525 b_elf_ehdr ehdr; local 560 if (!backtrace_get_view (state, descriptor, 0, sizeof ehdr, error_callback, 564 memcpy (&ehdr, ehdr_view.data, sizeof ehdr); 568 if (ehdr.e_ident[EI_MAG0] != ELFMAG0 569 || ehdr.e_ident[EI_MAG1] != ELFMAG1 570 || ehdr.e_ident[EI_MAG2] != ELFMAG2 571 || ehdr.e_ident[EI_MAG3] != ELFMAG3) 576 if (ehdr.e_ident[EI_VERSION] != EV_CURRENT) 588 if (ehdr [all...] |
/haiku-buildtools/binutils/elfcpp/ |
H A D | elfcpp_file.h | 122 Elf_file(File* file, const Ef_ehdr& ehdr) argument 123 { this->construct(file, ehdr); } 241 construct(File* file, const Ef_ehdr& ehdr); 405 Elf_file<size, big_endian, File>::construct(File* file, const Ef_ehdr& ehdr) argument 408 this->shoff_ = ehdr.get_e_shoff(); 409 this->shnum_ = ehdr.get_e_shnum(); 410 this->shstrndx_ = ehdr.get_e_shstrndx(); 412 if (ehdr.get_e_ehsize() != This::ehdr_size) 414 ehdr.get_e_ehsize(), This::ehdr_size); 415 if (ehdr [all...] |
/haiku-buildtools/binutils/libiberty/ |
H A D | simple-object-elf.c | 362 unsigned char ehdr[sizeof (Elf64_External_Ehdr)]; local 411 if (!simple_object_internal_read (descriptor, offset, ehdr, sizeof ehdr, 420 eor->machine = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 422 eor->flags = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 424 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 426 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 428 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 687 /* Write out an ELF ehdr. */
|
/haiku-buildtools/gcc/libiberty/ |
H A D | simple-object-elf.c | 362 unsigned char ehdr[sizeof (Elf64_External_Ehdr)]; local 411 if (!simple_object_internal_read (descriptor, offset, ehdr, sizeof ehdr, 420 eor->machine = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 422 eor->flags = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 424 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 426 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 428 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, 687 /* Write out an ELF ehdr. */
|
/haiku-buildtools/gcc/libsanitizer/sanitizer_common/ |
H A D | sanitizer_linux.cc | 738 Elf_Ehdr *ehdr = (Elf_Ehdr *)base; local 739 char *phdrs = base + ehdr->e_phoff; 740 char *phdrs_end = phdrs + ehdr->e_phnum * ehdr->e_phentsize; 746 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) { 755 for (char *iter = phdrs; iter != phdrs_end; iter += ehdr->e_phentsize) {
|
/haiku-buildtools/binutils/opcodes/ |
H A D | riscv-dis.c | 416 Elf_Internal_Ehdr *ehdr = elf_elfheader (info->section->owner); local 417 xlen = ehdr->e_ident[EI_CLASS] == ELFCLASS64 ? 64 : 32;
|
/haiku-buildtools/binutils/bfd/ |
H A D | elf32-rx.c | 3208 Elf_Internal_Ehdr *ehdr = elf_elfheader (abfd); 3209 int nphdrs = ehdr->e_phnum; 3245 end_phdroff = ehdr->e_ehsize; 3246 if (ehdr->e_phoff != 0) 3247 end_phdroff = ehdr->e_phoff + nphdrs * ehdr->e_phentsize; 3203 Elf_Internal_Ehdr *ehdr = elf_elfheader (abfd); local
|
H A D | elf.c | 1947 Elf_Internal_Ehdr *ehdr; 1989 ehdr = elf_elfheader (abfd); 1990 name = bfd_elf_string_from_elf_section (abfd, ehdr->e_shstrndx, 2210 if (ehdr->e_shstrndx == shindex) 1945 Elf_Internal_Ehdr *ehdr; local
|
H A D | elf32-spu.c | 268 Elf_Internal_Ehdr *ehdr = elf_elfheader (abfd); local 271 for (num_buf = 0, num_ovl = 0, i = 0; i < ehdr->e_phnum; i++, phdr++)
|
H A D | elflink.c | 3665 Elf_Internal_Ehdr *ehdr; 3721 ehdr = elf_elfheader (abfd); 3723 && bed->elf_machine_code != ehdr->e_machine 3725 && ehdr->e_machine == bed->elf_machine_alt1) 3727 && ehdr->e_machine == bed->elf_machine_alt2))) 3731 ehdr->e_machine, abfd, bed->elf_machine_code); 3656 Elf_Internal_Ehdr *ehdr; local
|
/haiku-buildtools/legacy/binutils/bfd/ |
H A D | elf.c | 1806 Elf_Internal_Ehdr *ehdr = elf_elfheader (abfd); 1949 if (ehdr->e_shstrndx == shindex) 1801 Elf_Internal_Ehdr *ehdr = elf_elfheader (abfd); local
|