Home
last modified time | relevance | path

Searched refs:ElfHdr (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELFWriter.cpp73 ElfHdr(isLittleEndian, is64Bit) { in ELFWriter()
127 ElfHdr.emitByte(0x7f); // e_ident[EI_MAG0] in doInitialization()
128 ElfHdr.emitByte('E'); // e_ident[EI_MAG1] in doInitialization()
129 ElfHdr.emitByte('L'); // e_ident[EI_MAG2] in doInitialization()
130 ElfHdr.emitByte('F'); // e_ident[EI_MAG3] in doInitialization()
132 ElfHdr.emitByte(TEW->getEIClass()); // e_ident[EI_CLASS] in doInitialization()
133 ElfHdr.emitByte(TEW->getEIData()); // e_ident[EI_DATA] in doInitialization()
134 ElfHdr.emitByte(ELF::EV_CURRENT); // e_ident[EI_VERSION] in doInitialization()
135 ElfHdr.emitAlignment(16); // e_ident[EI_NIDENT-EI_PAD] in doInitialization()
137 ElfHdr.emitWord16(ELF::ET_REL); // e_type in doInitialization()
[all …]
DELFWriter.h115 BinaryObject ElfHdr;
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
DObject.cpp635 auto &ElfHdr = Obj.ElfHdrSegment; in readProgramHeaders() local
638 ElfHdr.Type = PT_PHDR; in readProgramHeaders()
639 ElfHdr.Flags = 0; in readProgramHeaders()
640 ElfHdr.OriginalOffset = ElfHdr.Offset = 0; in readProgramHeaders()
641 ElfHdr.VAddr = 0; in readProgramHeaders()
642 ElfHdr.PAddr = 0; in readProgramHeaders()
643 ElfHdr.FileSize = ElfHdr.MemSize = sizeof(Elf_Ehdr); in readProgramHeaders()
644 ElfHdr.Align = 0; in readProgramHeaders()
645 ElfHdr.Index = Index++; in readProgramHeaders()
666 setParentSegment(ElfHdr); in readProgramHeaders()