Home
last modified time | relevance | path

Searched refs:Ehdr (Results 1 – 25 of 54) sorted by relevance

123

/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dtarget.cc72 const elfcpp::Ehdr<size, big_endian>& ehdr) in do_make_elf_object_implementation()
107 off_t offset, const elfcpp::Ehdr<32, false>& ehdr) in do_make_elf_object()
117 off_t offset, const elfcpp::Ehdr<32, true>& ehdr) in do_make_elf_object()
127 off_t offset, const elfcpp::Ehdr<64, false>& ehdr) in do_make_elf_object()
137 off_t offset, const elfcpp::Ehdr<64, true>& ehdr) in do_make_elf_object()
231 elfcpp::Ehdr<size, big_endian> ehdr(view); in do_adjust_elf_header()
H A Dtarget.h371 off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) in make_elf_object()
722 const elfcpp::Ehdr<32, false>&);
729 const elfcpp::Ehdr<32, true>&);
736 const elfcpp::Ehdr<64, false>& ehdr);
743 off_t offset, const elfcpp::Ehdr<64, true>& ehdr);
843 const elfcpp::Ehdr<size, big_endian>&);
H A Dobject.cc464 const elfcpp::Ehdr<size, big_endian>& ehdr) in Sized_relobj_file()
3385 off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr, in make_elf_sized_object()
3460 elfcpp::Ehdr<32, true> ehdr(p); in make_elf_object()
3476 elfcpp::Ehdr<32, false> ehdr(p); in make_elf_object()
3495 elfcpp::Ehdr<64, true> ehdr(p); in make_elf_object()
3511 elfcpp::Ehdr<64, false> ehdr(p); in make_elf_object()
H A Ddynobj.h177 const typename elfcpp::Ehdr<size, big_endian>&);
H A Dincremental.cc855 const elfcpp::Ehdr<size, big_endian>& ehdr) in make_sized_incremental_binary()
914 file, elfcpp::Ehdr<32, true>(p)); in open_incremental_binary()
923 file, elfcpp::Ehdr<32, false>(p)); in open_incremental_binary()
935 file, elfcpp::Ehdr<64, true>(p)); in open_incremental_binary()
944 file, elfcpp::Ehdr<64, false>(p)); in open_incremental_binary()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dtarget.cc72 const elfcpp::Ehdr<size, big_endian>& ehdr) in do_make_elf_object_implementation()
107 off_t offset, const elfcpp::Ehdr<32, false>& ehdr) in do_make_elf_object()
117 off_t offset, const elfcpp::Ehdr<32, true>& ehdr) in do_make_elf_object()
127 off_t offset, const elfcpp::Ehdr<64, false>& ehdr) in do_make_elf_object()
137 off_t offset, const elfcpp::Ehdr<64, true>& ehdr) in do_make_elf_object()
231 elfcpp::Ehdr<size, big_endian> ehdr(view); in do_adjust_elf_header()
H A Dtarget.h371 off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr) in make_elf_object()
722 const elfcpp::Ehdr<32, false>&);
729 const elfcpp::Ehdr<32, true>&);
736 const elfcpp::Ehdr<64, false>& ehdr);
743 off_t offset, const elfcpp::Ehdr<64, true>& ehdr);
843 const elfcpp::Ehdr<size, big_endian>&);
H A Dobject.cc464 const elfcpp::Ehdr<size, big_endian>& ehdr) in Sized_relobj_file()
3414 off_t offset, const elfcpp::Ehdr<size, big_endian>& ehdr, in make_elf_sized_object()
3489 elfcpp::Ehdr<32, true> ehdr(p); in make_elf_object()
3505 elfcpp::Ehdr<32, false> ehdr(p); in make_elf_object()
3524 elfcpp::Ehdr<64, true> ehdr(p); in make_elf_object()
3540 elfcpp::Ehdr<64, false> ehdr(p); in make_elf_object()
H A Ddynobj.h177 const typename elfcpp::Ehdr<size, big_endian>&);
H A Dincremental.cc855 const elfcpp::Ehdr<size, big_endian>& ehdr) in make_sized_incremental_binary()
914 file, elfcpp::Ehdr<32, true>(p)); in open_incremental_binary()
923 file, elfcpp::Ehdr<32, false>(p)); in open_incremental_binary()
935 file, elfcpp::Ehdr<64, true>(p)); in open_incremental_binary()
944 file, elfcpp::Ehdr<64, false>(p)); in open_incremental_binary()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp1456 const typename ELFT::Ehdr &Ehdr = HeadersFile.getHeader(); in readProgramHeaders() local
1464 PrHdr.OriginalOffset = PrHdr.Offset = PrHdr.VAddr = EhdrOffset + Ehdr.e_phoff; in readProgramHeaders()
1466 PrHdr.FileSize = PrHdr.MemSize = Ehdr.e_phentsize * Ehdr.e_phnum; in readProgramHeaders()
1897 const typename ELFFile<ELFT>::Elf_Ehdr &Ehdr = HeadersFile->getHeader(); in build() local
1898 Obj.OSABI = Ehdr.e_ident[EI_OSABI]; in build()
1899 Obj.ABIVersion = Ehdr.e_ident[EI_ABIVERSION]; in build()
1900 Obj.Type = Ehdr.e_type; in build()
1901 Obj.Machine = Ehdr.e_machine; in build()
1902 Obj.Version = Ehdr.e_version; in build()
1903 Obj.Entry = Ehdr.e_entry; in build()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dsimple-object-elf.c490 eor->machine = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
492 eor->flags = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
496 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
498 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
809 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_type, Elf_Half, ET_REL); in simple_object_elf_write_ehdr()
810 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_machine, Elf_Half, attrs->machine); in simple_object_elf_write_ehdr()
811 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_version, Elf_Word, EV_CURRENT); in simple_object_elf_write_ehdr()
814 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shoff, Elf_Addr, ehdr_size); in simple_object_elf_write_ehdr()
815 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_flags, Elf_Word, attrs->flags); in simple_object_elf_write_ehdr()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dsimple-object-elf.c490 eor->machine = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
492 eor->flags = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
496 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
498 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
809 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_type, Elf_Half, ET_REL); in simple_object_elf_write_ehdr()
810 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_machine, Elf_Half, attrs->machine); in simple_object_elf_write_ehdr()
811 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_version, Elf_Word, EV_CURRENT); in simple_object_elf_write_ehdr()
814 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shoff, Elf_Addr, ehdr_size); in simple_object_elf_write_ehdr()
815 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_flags, Elf_Word, attrs->flags); in simple_object_elf_write_ehdr()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dsimple-object-elf.c490 eor->machine = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
492 eor->flags = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
496 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
498 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
809 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_type, Elf_Half, ET_REL); in simple_object_elf_write_ehdr()
810 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_machine, Elf_Half, attrs->machine); in simple_object_elf_write_ehdr()
811 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_version, Elf_Word, EV_CURRENT); in simple_object_elf_write_ehdr()
814 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shoff, Elf_Addr, ehdr_size); in simple_object_elf_write_ehdr()
815 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_flags, Elf_Word, attrs->flags); in simple_object_elf_write_ehdr()
[all …]
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dsimple-object-elf.c490 eor->machine = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
492 eor->flags = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
494 eor->shoff = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
496 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
498 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr, in simple_object_elf_match()
809 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_type, Elf_Half, ET_REL); in simple_object_elf_write_ehdr()
810 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_machine, Elf_Half, attrs->machine); in simple_object_elf_write_ehdr()
811 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_version, Elf_Word, EV_CURRENT); in simple_object_elf_write_ehdr()
814 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_shoff, Elf_Addr, ehdr_size); in simple_object_elf_write_ehdr()
815 ELF_SET_FIELD (fns, cl, Ehdr, buf, e_flags, Elf_Word, attrs->flags); in simple_object_elf_write_ehdr()
[all …]
/netbsd-src/external/bsd/elftoolchain/dist/libelf/
H A Dlibelf_align.c79 [ELF_T_EHDR] = MALIGN(Ehdr),
H A Delf_types.m443 `EHDR, Ehdr',
/netbsd-src/external/apache2/llvm/dist/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp53 static void initELFHeader(typename ELFT::Ehdr &ElfHeader, uint16_t Machine) { in initELFHeader()
70 ElfHeader.e_ehsize = sizeof(typename ELFT::Ehdr); in initELFHeader()
173 using Elf_Ehdr = typename ELFT::Ehdr;
/netbsd-src/external/gpl3/binutils.old/dist/elfcpp/
H A DChangeLog-20203 * elfcpp.h (class Ehdr): Add get_ei_osabi and get_ei_abiversion methods.
H A Delfcpp.h1086 class Ehdr
1089 Ehdr(const unsigned char* p)
1094 Ehdr(File* file, typename File::Location loc)
/netbsd-src/external/gpl3/binutils/dist/elfcpp/
H A DChangeLog-20203 * elfcpp.h (class Ehdr): Add get_ei_osabi and get_ei_abiversion methods.
H A Delfcpp.h1089 class Ehdr
1092 Ehdr(const unsigned char* p)
1097 Ehdr(File* file, typename File::Location loc)
H A Delfcpp_file.h116 typedef Ehdr<size, big_endian> Ef_ehdr;
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DELFTypes.h58 using Ehdr = Elf_Ehdr_Impl<ELFType<E, Is64>>; member
114 using Elf_Ehdr = typename ELFT::Ehdr; \
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan.cpp313 extern ElfW(Ehdr) __ehdr_start; in __hwasan_init_static()

123