/external/llvm/lib/Target/MBlaze/ |
MBlazeTargetObjectFile.cpp | 19 #include "llvm/Support/ELF.h" 27 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS, 28 ELF::SHF_WRITE |ELF::SHF_ALLOC, 32 getContext().getELFSection(".sbss", ELF::SHT_NOBITS, 33 ELF::SHF_WRITE |ELF::SHF_ALLOC, 88 // Otherwise, we work the same as ELF.
|
/external/llvm/lib/Target/ARM/ |
ARMELFWriterInfo.cpp | 1 //===-- ARMELFWriterInfo.cpp - ELF Writer Info for the ARM backend --------===// 10 // This file implements ELF writer information for the ARM backend. 20 #include "llvm/Support/ELF.h" 46 case ARM::reloc_arm_branch: return ELF::R_ARM_CALL; 47 case ARM::reloc_arm_movt: return ELF::R_ARM_MOVT_ABS; 48 case ARM::reloc_arm_movw: return ELF::R_ARM_MOVW_ABS_NC;
|
/external/llvm/lib/Target/Mips/ |
MipsTargetObjectFile.cpp | 19 #include "llvm/Support/ELF.h" 31 getContext().getELFSection(".sdata", ELF::SHT_PROGBITS, 32 ELF::SHF_WRITE |ELF::SHF_ALLOC, 36 getContext().getELFSection(".sbss", ELF::SHT_NOBITS, 37 ELF::SHF_WRITE |ELF::SHF_ALLOC, 100 // Otherwise, we work the same as ELF.
|
/external/llvm/lib/MC/ |
MCELFStreamer.cpp | 1 //===- lib/MC/MCELFStreamer.cpp - ELF Object Output ------------===// 10 // This file assembles .s files and emits ELF .o object files. 30 #include "llvm/Support/ELF.h" 63 llvm_unreachable("ELF doesn't support this directive"); 68 llvm_unreachable("ELF doesn't support this directive"); 72 llvm_unreachable("ELF doesn't support this directive"); 76 llvm_unreachable("ELF doesn't support this directive"); 80 llvm_unreachable("ELF doesn't support this directive"); 93 llvm_unreachable("ELF doesn't support this directive"); 97 llvm_unreachable("ELF doesn't support this directive") [all...] |
ELFObjectWriter.cpp | 1 //===- lib/MC/ELFObjectWriter.cpp - ELF File Writer -------------------===// 10 // This file implements ELF object file writer information. 33 #include "llvm/Support/ELF.h" 77 if (MCELF::GetType(*SymbolData) == ELF::STT_FILE) 79 if (MCELF::GetType(*RHS.SymbolData) == ELF::STT_FILE) 86 /// The target specific ELF writer instance. 370 // Emit the ELF header. 373 // ELF Header 386 Write8(is64Bit() ? ELF::ELFCLASS64 : ELF::ELFCLASS32); // e_ident[EI_CLASS [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldELF.cpp | 10 // Implementation of ELF support for the MC-JIT runtime dynamic linker. 21 #include "llvm/Support/ELF.h" 23 #include "llvm/Object/ELF.h" 158 if (Ident.first == ELF::ELFCLASS32 && Ident.second == ELF::ELFDATA2LSB) { 163 else if (Ident.first == ELF::ELFCLASS32 && Ident.second == ELF::ELFDATA2MSB) { 168 else if (Ident.first == ELF::ELFCLASS64 && Ident.second == ELF::ELFDATA2MSB) { 173 else if (Ident.first == ELF::ELFCLASS64 && Ident.second == ELF::ELFDATA2LSB) [all...] |
/frameworks/compile/mclinker/lib/Target/ |
GNULDBackend.cpp | 9 #include <llvm/Support/ELF.h> 64 return sizeof(llvm::ELF::Elf64_Ehdr)+10*sizeof(llvm::ELF::Elf64_Phdr); 214 /// In ELF executable files, regular name pools are .symtab, .strtab, 226 // at index 0 (STN_UNDEF). See ELF Spec Book I, p1-21. 290 sizeof(llvm::ELF::Elf32_Word); 295 file_format->getDynSymTab().setSize(dynsym*sizeof(llvm::ELF::Elf32_Sym)); 297 file_format->getDynSymTab().setSize(dynsym*sizeof(llvm::ELF::Elf64_Sym)); 305 file_format->getSymTab().setSize(symtab*sizeof(llvm::ELF::Elf32_Sym)); 307 file_format->getSymTab().setSize(symtab*sizeof(llvm::ELF::Elf64_Sym)) [all...] |
/external/llvm/include/llvm/Object/ |
ELF.h | 1 //===- ELF.h - ELF object file implementation -------------------*- C++ -*-===// 24 #include "llvm/Support/ELF.h" 39 if (Object->getBufferSize() < ELF::EI_NIDENT) 40 return std::make_pair((uint8_t)ELF::ELFCLASSNONE,(uint8_t)ELF::ELFDATANONE); 41 return std::make_pair( (uint8_t)Object->getBufferStart()[ELF::EI_CLASS] 42 , (uint8_t)Object->getBufferStart()[ELF::EI_DATA]); 63 /// ELF 32bit types. 74 /// ELF 64bit types [all...] |
/frameworks/compile/mclinker/include/mcld/Target/ |
ELFDynamic.h | 15 #include <llvm/Support/ELF.h> 59 typedef llvm::ELF::Elf32_Dyn Pair; 60 typedef llvm::ELF::Elf32_Sym Symbol; 61 typedef llvm::ELF::Elf32_Rel Rel; 62 typedef llvm::ELF::Elf32_Rela Rela; 97 * \brief ELFDynamic is the .dynamic section in ELF shared and executable
|
GNULDBackend.h | 15 #include <llvm/Support/ELF.h> 71 // Based on Kind in LDFileFormat to define basic section orders for ELF, and 141 /// The return value of machine() it the same as e_machine in the ELF header*/ 146 { return llvm::ELF::EV_CURRENT; } 162 /// In ELF executable files, regular name pools are .symtab, .strtab., 208 /// emitProgramHdrs - emit ELF program headers 241 uint32_t flag = llvm::ELF::PF_R; 242 if (0 != (pSectionFlag & llvm::ELF::SHF_WRITE)) 243 flag |= llvm::ELF::PF_W; 244 if (0 != (pSectionFlag & llvm::ELF::SHF_EXECINSTR) [all...] |
/external/llvm/lib/CodeGen/ |
TargetLoweringObjectFileImpl.cpp | 34 #include "llvm/Support/ELF.h" 44 // ELF 74 unsigned Flags = ELF::SHF_ALLOC | ELF::SHF_WRITE | ELF::SHF_GROUP; 76 ELF::SHT_PROGBITS, 130 return ELF::SHT_INIT_ARRAY; 133 return ELF::SHT_FINI_ARRAY; 136 return ELF::SHT_PREINIT_ARRAY; 139 return ELF::SHT_NOBITS [all...] |
/frameworks/compile/mclinker/lib/LD/ |
ELFObjectReader.cpp | 9 #include <llvm/Support/ELF.h> 110 llvm::ELF::Elf32_Word* value = 111 reinterpret_cast<llvm::ELF::Elf32_Word*>(region->start()); 113 size_t size = region->size() / sizeof(llvm::ELF::Elf32_Word); 114 if (llvm::ELF::GRP_COMDAT == *value) { 164 llvm::ELF::SHT_NOBITS, 165 llvm::ELF::SHF_ALLOC | llvm::ELF::SHF_WRITE); 224 if ((*section)->type() == llvm::ELF::SHT_RELA && 232 else if ((*section)->type() == llvm::ELF::SHT_REL & [all...] |
ELFWriter.cpp | 9 #include <llvm/Support/ELF.h> 25 using namespace llvm::ELF; 28 /// writeELF32Header - write ELF header 36 // ELF header must start from 0x0 79 /// writeELF64Header - write ELF header 87 // ELF header must start from 0x0 281 shstrtab.setType(llvm::ELF::SHT_STRTAB); 323 shstrtab.setType(llvm::ELF::SHT_STRTAB); 506 if (llvm::ELF::SHT_DYNSYM == pSection.type() || 507 llvm::ELF::SHT_SYMTAB == pSection.type() [all...] |
/frameworks/compile/linkloader/android/ |
librsloader.cpp | 29 #include <llvm/Support/ELF.h> 62 ALOGE("Unable to load the ELF object."); 83 llvm::ELF::Elf32_Ehdr* header = reinterpret_cast<llvm::ELF::Elf32_Ehdr*>(buf); 85 llvm::ELF::Elf32_Shdr* shtab = 86 reinterpret_cast<llvm::ELF::Elf32_Shdr*>(buf + header->e_shoff); 94 shtab[i].sh_addr = reinterpret_cast<llvm::ELF::Elf32_Addr>(addr);
|
/frameworks/compile/mclinker/include/mcld/LD/ |
ELFReader.h | 16 #include <llvm/Support/ELF.h> 32 * \brief ELFReaderIF provides common interface for all kind of ELF readers. 46 /// isELF - is this a ELF file 49 /// isMyEndian - is this ELF file in the same endian to me? 52 /// isMyMachine - is this ELF file generated for the same machine. 66 /// readSectionHeaders - read ELF section header table and create LDSections 81 /// readSymbols - read ELF symbols and create LDSymbol 93 /// readRela - read ELF rela and create Relocation 99 /// readRel - read ELF rel and create Relocation 152 typedef llvm::ELF::Elf32_Ehdr ELFHeader [all...] |
ELFSegment.h | 14 #include <llvm/Support/ELF.h> 24 * \brief decribe the program header for ELF executable or shared object 33 uint32_t pFlag = llvm::ELF::PF_R, 135 if (llvm::ELF::PT_TLS != m_Type)
|
ELFDynObjWriter.h | 15 #include <llvm/Support/ELF.h>
|
ObjectReader.h | 34 StringHash<ELF>,
|
/external/llvm/include/llvm/MC/ |
MCELFObjectWriter.h | 1 //===-- llvm/MC/MCELFObjectWriter.h - ELF Object Writer ---------*- C++ -*-===// 15 #include "llvm/Support/ELF.h" 67 return ELF::ELFOSABI_FREEBSD; 69 return ELF::ELFOSABI_LINUX; 71 return ELF::ELFOSABI_NONE; 101 /// \brief Construct a new ELF writer instance. 103 /// \param MOTW - The target specific ELF writer subclass.
|
MCSectionELF.h | 1 //===- MCSectionELF.h - ELF Machine Code Sections ---------------*- C++ -*-===// 18 #include "llvm/Support/ELF.h" 73 return (getFlags() & ELF::SHF_ALLOC) == 0;
|
/external/quake/quake/src/QW/client/ |
asm_i386.h | 24 #ifdef ELF
|
/external/quake/quake/src/QW/server/ |
asm_i386.h | 24 #ifdef ELF
|
/external/quake/quake/src/WinQuake/ |
asm_i386.h | 24 #ifdef ELF
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
MipsELFDynamic.cpp | 41 reserveOne(llvm::ELF::DT_PLTGOT); 55 applyOne(llvm::ELF::DT_PLTGOT, pFormat.getGOT().addr());
|
/frameworks/compile/mclinker/lib/Target/X86/ |
X86LDBackend.cpp | 253 case llvm::ELF::R_386_32: 267 case llvm::ELF::R_386_GOTOFF: 268 case llvm::ELF::R_386_GOTPC: 274 case llvm::ELF::R_386_PC32: 295 case llvm::ELF::R_386_32: 329 case llvm::ELF::R_386_GOTOFF: 330 case llvm::ELF::R_386_GOTPC: { 337 case llvm::ELF::R_386_PLT32: 367 case llvm::ELF::R_386_GOT32: 391 case llvm::ELF::R_386_PC32 [all...] |