Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp1491 const typename ELFT::Ehdr &Ehdr = HeadersFile.getHeader(); in readProgramHeaders() local
1499 PrHdr.OriginalOffset = PrHdr.Offset = PrHdr.VAddr = EhdrOffset + Ehdr.e_phoff; in readProgramHeaders()
1501 PrHdr.FileSize = PrHdr.MemSize = Ehdr.e_phentsize * Ehdr.e_phnum; in readProgramHeaders()
1937 const typename ELFFile<ELFT>::Elf_Ehdr &Ehdr = HeadersFile->getHeader(); in build() local
1938 Obj.Is64Bits = Ehdr.e_ident[EI_CLASS] == ELFCLASS64; in build()
1939 Obj.OSABI = Ehdr.e_ident[EI_OSABI]; in build()
1940 Obj.ABIVersion = Ehdr.e_ident[EI_ABIVERSION]; in build()
1941 Obj.Type = Ehdr.e_type; in build()
1942 Obj.Machine = Ehdr.e_machine; in build()
1943 Obj.Version = Ehdr.e_version; in build()
[all …]
H A DELFObject.h329 using Elf_Ehdr = typename ELFT::Ehdr;
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformLinux.c180 extern const ElfW(Ehdr) __ehdr_start __attribute__((visibility("hidden"))); in __llvm_write_binary_ids()
181 const ElfW(Ehdr) *ElfHeader = &__ehdr_start; in __llvm_write_binary_ids()
/freebsd/sys/sys/
H A Delf_generic.h66 __ElfType(Ehdr);
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_align.c66 [ELF_T_EHDR] = MALIGN(Ehdr),
H A Delf_types.m442 `EHDR, Ehdr',
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Delf.h35 __sElfN(Ehdr);
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp52 static void initELFHeader(typename ELFT::Ehdr &ElfHeader, uint16_t Machine) { in initELFHeader()
69 ElfHeader.e_ehsize = sizeof(typename ELFT::Ehdr); in initELFHeader()
172 using Elf_Ehdr = typename ELFT::Ehdr;
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi.cpp27 typedef ElfW(Ehdr) Elf_Ehdr;
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DARM.cpp1467 uint64_t off = sizeof(typename ELFT::Ehdr); in writeARMCmseImportLib()
1498 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeARMCmseImportLib()
1510 eHdr->e_ehsize = sizeof(typename ELFT::Ehdr); in writeARMCmseImportLib()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h59 using Ehdr = Elf_Ehdr_Impl<ELFType<E, Is64>>; member
115 using Elf_Ehdr = typename ELFT::Ehdr; \
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan.cpp344 extern ElfW(Ehdr) __ehdr_start; in __hwasan_init_static()
H A Dhwasan_report.cpp369 auto *ehdr = reinterpret_cast<const ElfW(Ehdr) *>(info.dli_fbase); in GetGlobalSizeFromDescriptor()
/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.cpp4365 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeEhdr()
4375 eHdr->e_ehsize = sizeof(typename ELFT::Ehdr); in writeEhdr()
4380 eHdr->e_phoff = sizeof(typename ELFT::Ehdr); in writeEhdr()
4407 return sizeof(typename ELFT::Ehdr); in getSize()
4415 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeTo()
H A DWriter.cpp1917 Out::elfHeader->size = sizeof(typename ELFT::Ehdr); in finalizeSections()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp1302 typedef ElfW(Ehdr) Elf_Ehdr; in ForEachMappedRegion()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3504 const typename ELFT::Ehdr &ElfHeader = Obj.getHeader(); in getSectionHeadersNumString()
3524 const typename ELFT::Ehdr &ElfHeader = Obj.getHeader(); in getSectionHeaderTableIndexString()
3858 const typename ELFT::Ehdr &EHeader, in printRelocHeaderFields()
3885 const typename ELFT::Ehdr &EHeader) { in isRelocationSec()