/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsELFObjectWriter.cpp | 1 //===-- MipsELFObjectWriter.cpp - Mips ELF Writer -------------------------===// 12 #include "llvm/BinaryFormat/ELF.h" 136 /// is ELF::R_MIPS_NONE. 143 if (Type == ELF::R_MIPS_HI16) in getMatchingLoType() 144 return ELF::R_MIPS_LO16; in getMatchingLoType() 145 if (Type == ELF::R_MICROMIPS_HI16) in getMatchingLoType() 146 return ELF::R_MICROMIPS_LO16; in getMatchingLoType() 147 if (Type == ELF::R_MIPS16_HI16) in getMatchingLoType() 148 return ELF::R_MIPS16_LO16; in getMatchingLoType() 151 Reloc.OriginalSymbol->getBinding() != ELF in getMatchingLoType() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonELFObjectWriter.cpp | 38 : MCELFObjectTargetWriter(/*Is64bit*/ false, OSABI, ELF::EM_HEXAGON, in HexagonELFObjectWriter() 54 return ELF::R_HEX_DTPREL_32; in getRelocType() 56 return ELF::R_HEX_GOT_32; in getRelocType() 58 return ELF::R_HEX_GOTREL_32; in getRelocType() 60 return ELF::R_HEX_GD_GOT_32; in getRelocType() 62 return ELF::R_HEX_IE_32; in getRelocType() 64 return ELF::R_HEX_IE_GOT_32; in getRelocType() 66 return ELF::R_HEX_LD_GOT_32; in getRelocType() 68 return ELF::R_HEX_32_PCREL; in getRelocType() 70 return ELF in getRelocType() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCELFObjectWriter.cpp | 1 //===-- PPCELFObjectWriter.cpp - PPC ELF Writer ---------------------------===// 38 Is64Bit ? ELF::EM_PPC64 : ELF::EM_PPC, in PPCELFObjectWriter() 89 Type = ELF::R_PPC_REL24; in getRelocType() 92 Type = ELF::R_PPC_PLTREL24; in getRelocType() 95 Type = ELF::R_PPC_LOCAL24PC; in getRelocType() 101 Type = ELF::R_PPC_REL14; in getRelocType() 107 Type = ELF::R_PPC_REL16; in getRelocType() 110 Type = ELF::R_PPC_REL16_LO; in getRelocType() 113 Type = ELF in getRelocType() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/ |
H A D | SparcELFObjectWriter.cpp | 1 //===-- SparcELFObjectWriter.cpp - Sparc ELF Writer -----------------------===// 26 Is64Bit ? ELF::EM_SPARCV9 : ELF::EM_SPARC, in SparcELFObjectWriter() 48 return ELF::R_SPARC_DISP32; in getRelocType() 55 case FK_Data_1: return ELF::R_SPARC_DISP8; in getRelocType() 56 case FK_Data_2: return ELF::R_SPARC_DISP16; in getRelocType() 57 case FK_Data_4: return ELF::R_SPARC_DISP32; in getRelocType() 58 case FK_Data_8: return ELF::R_SPARC_DISP64; in getRelocType() 59 case Sparc::fixup_sparc_call30: return ELF::R_SPARC_WDISP30; in getRelocType() 60 case Sparc::fixup_sparc_br22: return ELF in getRelocType() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
H A D | XCoreTargetObjectFile.cpp | 11 #include "llvm/BinaryFormat/ELF.h" 23 BSSSection = Ctx.getELFSection(".dp.bss", ELF::SHT_NOBITS, in Initialize() 24 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize() 25 ELF::XCORE_SHF_DP_SECTION); in Initialize() 26 BSSSectionLarge = Ctx.getELFSection(".dp.bss.large", ELF::SHT_NOBITS, in Initialize() 27 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize() 28 ELF::XCORE_SHF_DP_SECTION); in Initialize() 29 DataSection = Ctx.getELFSection(".dp.data", ELF in Initialize() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
H A D | ELF.cpp | 1 //===- ELF.cpp - ELF object file implementation ---------------------------===// 9 #include "llvm/Object/ELF.h" 10 #include "llvm/BinaryFormat/ELF.h" 20 #define ELF_RELOC(name, value) STRINGIFY_ENUM_CASE(ELF, name) 25 case ELF::EM_X86_64: in getELFRelocationTypeName() 32 case ELF::EM_386: in getELFRelocationTypeName() 33 case ELF::EM_IAMCU: in getELFRelocationTypeName() 40 case ELF::EM_MIPS: in getELFRelocationTypeName() 47 case ELF in getELFRelocationTypeName() [all...] |
H A D | RelocationResolver.cpp | 28 case ELF::R_X86_64_NONE: in supportsX86_64() 29 case ELF::R_X86_64_64: in supportsX86_64() 30 case ELF::R_X86_64_DTPOFF32: in supportsX86_64() 31 case ELF::R_X86_64_DTPOFF64: in supportsX86_64() 32 case ELF::R_X86_64_PC32: in supportsX86_64() 33 case ELF::R_X86_64_PC64: in supportsX86_64() 34 case ELF::R_X86_64_32: in supportsX86_64() 35 case ELF::R_X86_64_32S: in supportsX86_64() 44 case ELF::R_X86_64_NONE: in resolveX86_64() 46 case ELF in resolveX86_64() [all...] |
H A D | ELFObjectFile.cpp | 1 //===- ELFObjectFile.cpp - ELF object file implementation -----------------===// 15 #include "llvm/BinaryFormat/ELF.h" 18 #include "llvm/Object/ELF.h" 39 {"None", "NOTYPE", ELF::STT_NOTYPE}, 40 {"Object", "OBJECT", ELF::STT_OBJECT}, 41 {"Function", "FUNC", ELF::STT_FUNC}, 42 {"Section", "SECTION", ELF::STT_SECTION}, 43 {"File", "FILE", ELF::STT_FILE}, 44 {"Common", "COMMON", ELF::STT_COMMON}, 45 {"TLS", "TLS", ELF [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRELFObjectWriter.cpp | 1 //===-- AVRELFObjectWriter.cpp - AVR ELF Writer ---------------------------===// 36 : MCELFObjectTargetWriter(false, OSABI, ELF::EM_AVR, true) {} in AVRELFObjectWriter() 49 return ELF::R_AVR_8; in getRelocType() 51 return ELF::R_AVR_DIFF8; in getRelocType() 53 return ELF::R_AVR_8_LO8; in getRelocType() 55 return ELF::R_AVR_8_HI8; in getRelocType() 57 return ELF::R_AVR_8_HLO8; in getRelocType() 64 return ELF::R_AVR_32; in getRelocType() 66 return ELF::R_AVR_DIFF32; in getRelocType() 73 return ELF in getRelocType() [all...] |
H A D | AVRELFStreamer.cpp | 3 #include "llvm/BinaryFormat/ELF.h" 17 EFlags |= ELF::EF_AVR_ARCH_AVR1; in getEFlagsForFeatureSet() 19 EFlags |= ELF::EF_AVR_ARCH_AVR2; in getEFlagsForFeatureSet() 21 EFlags |= ELF::EF_AVR_ARCH_AVR25; in getEFlagsForFeatureSet() 23 EFlags |= ELF::EF_AVR_ARCH_AVR3; in getEFlagsForFeatureSet() 25 EFlags |= ELF::EF_AVR_ARCH_AVR31; in getEFlagsForFeatureSet() 27 EFlags |= ELF::EF_AVR_ARCH_AVR35; in getEFlagsForFeatureSet() 29 EFlags |= ELF::EF_AVR_ARCH_AVR4; in getEFlagsForFeatureSet() 31 EFlags |= ELF::EF_AVR_ARCH_AVR5; in getEFlagsForFeatureSet() 33 EFlags |= ELF in getEFlagsForFeatureSet() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMELFObjectWriter.cpp | 1 //===-- ARMELFObjectWriter.cpp - ARM ELF Writer ---------------------------===// 11 #include "llvm/BinaryFormat/ELF.h" 51 ELF::EM_ARM, in ARMELFObjectWriter() 63 case ELF::R_ARM_PREL31: in needsRelocateWithSymbol() 64 case ELF::R_ARM_ABS32: in needsRelocateWithSymbol() 88 return ELF::R_ARM_NONE; in GetRelocTypeInner() 94 return ELF::R_ARM_REL32; in GetRelocTypeInner() 96 return ELF::R_ARM_TLS_IE32; in GetRelocTypeInner() 98 return ELF::R_ARM_GOT_PREL; in GetRelocTypeInner() 100 return ELF in GetRelocTypeInner() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVELFObjectWriter.cpp | 1 //===-- RISCVELFObjectWriter.cpp - RISCV ELF Writer -----------------------===// 43 : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_RISCV, in RISCVELFObjectWriter() 59 return ELF::R_RISCV_NONE; in getRelocType() 62 return ELF::R_RISCV_32_PCREL; in getRelocType() 64 return ELF::R_RISCV_PCREL_HI20; in getRelocType() 66 return ELF::R_RISCV_PCREL_LO12_I; in getRelocType() 68 return ELF::R_RISCV_PCREL_LO12_S; in getRelocType() 70 return ELF::R_RISCV_GOT_HI20; in getRelocType() 72 return ELF::R_RISCV_TLS_GOT_HI20; in getRelocType() 74 return ELF in getRelocType() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ELFObjectWriter.cpp | 1 //===-- X86ELFObjectWriter.cpp - X86 ELF Writer ---------------------------===// 11 #include "llvm/BinaryFormat/ELF.h" 44 (EMachine != ELF::EM_386) && in X86ELFObjectWriter() 45 (EMachine != ELF::EM_IAMCU)) {} in X86ELFObjectWriter() 109 return ELF::R_X86_64_NONE; in getRelocType64() 112 return IsPCRel ? ELF::R_X86_64_PC64 : ELF::R_X86_64_64; in getRelocType64() 114 return IsPCRel ? ELF::R_X86_64_PC32 : ELF::R_X86_64_32; in getRelocType64() 116 return ELF in getRelocType64() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
H A D | MCSectionELF.cpp | 1 //===- lib/MC/MCSectionELF.cpp - ELF Code Section Representation ----------===// 11 #include "llvm/BinaryFormat/ELF.h" 71 !(Flags & ELF::SHF_MERGE)) { in PrintSwitchToSection() 72 if (Flags & ELF::SHF_ALLOC) in PrintSwitchToSection() 74 if (Flags & ELF::SHF_EXECINSTR) in PrintSwitchToSection() 76 if (Flags & ELF::SHF_WRITE) in PrintSwitchToSection() 78 if (Flags & ELF::SHF_EXCLUDE) in PrintSwitchToSection() 80 if (Flags & ELF::SHF_TLS) in PrintSwitchToSection() 87 if (Flags & ELF::SHF_ALLOC) in PrintSwitchToSection() 89 if (Flags & ELF in PrintSwitchToSection() [all...] |
H A D | MCSymbolELF.cpp | 10 #include "llvm/BinaryFormat/ELF.h" 47 case ELF::STB_LOCAL: in setBinding() 50 case ELF::STB_GLOBAL: in setBinding() 53 case ELF::STB_WEAK: in setBinding() 56 case ELF::STB_GNU_UNIQUE: in setBinding() 71 return ELF::STB_LOCAL; in getBinding() 73 return ELF::STB_GLOBAL; in getBinding() 75 return ELF::STB_WEAK; in getBinding() 77 return ELF::STB_GNU_UNIQUE; in getBinding() 82 return ELF in getBinding() [all...] |
H A D | MCObjectFileInfo.cpp | 13 #include "llvm/BinaryFormat/ELF.h" 335 ? ELF::SHT_X86_64_UNWIND in initELFMCObjectFileInfo() 336 : ELF::SHT_PROGBITS; in initELFMCObjectFileInfo() 340 unsigned EHSectionFlags = ELF::SHF_ALLOC; in initELFMCObjectFileInfo() 342 EHSectionFlags |= ELF::SHF_WRITE; in initELFMCObjectFileInfo() 344 // ELF in initELFMCObjectFileInfo() 345 BSSSection = Ctx->getELFSection(".bss", ELF::SHT_NOBITS, in initELFMCObjectFileInfo() 346 ELF::SHF_WRITE | ELF::SHF_ALLOC); in initELFMCObjectFileInfo() 348 TextSection = Ctx->getELFSection(".text", ELF in initELFMCObjectFileInfo() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUTargetStreamer.cpp | 20 #include "llvm/BinaryFormat/ELF.h" 63 default: llvm_unreachable("Unhandled ELF::EF_AMDGPU type"); in getArchNameFromElfMach() 64 case ELF::EF_AMDGPU_MACH_R600_R600: AK = GK_R600; break; in getArchNameFromElfMach() 65 case ELF::EF_AMDGPU_MACH_R600_R630: AK = GK_R630; break; in getArchNameFromElfMach() 66 case ELF::EF_AMDGPU_MACH_R600_RS880: AK = GK_RS880; break; in getArchNameFromElfMach() 67 case ELF::EF_AMDGPU_MACH_R600_RV670: AK = GK_RV670; break; in getArchNameFromElfMach() 68 case ELF::EF_AMDGPU_MACH_R600_RV710: AK = GK_RV710; break; in getArchNameFromElfMach() 69 case ELF::EF_AMDGPU_MACH_R600_RV730: AK = GK_RV730; break; in getArchNameFromElfMach() 70 case ELF::EF_AMDGPU_MACH_R600_RV770: AK = GK_RV770; break; in getArchNameFromElfMach() 71 case ELF in getArchNameFromElfMach() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZMCObjectWriter.cpp | 1 //===-- SystemZMCObjectWriter.cpp - SystemZ ELF writer --------------------===// 11 #include "llvm/BinaryFormat/ELF.h" 39 : MCELFObjectTargetWriter(/*Is64Bit_=*/true, OSABI, ELF::EM_S390, in SystemZObjectWriter() 45 case FK_Data_1: return ELF::R_390_8; in getAbsoluteReloc() 46 case FK_Data_2: return ELF::R_390_16; in getAbsoluteReloc() 47 case FK_Data_4: return ELF::R_390_32; in getAbsoluteReloc() 48 case FK_Data_8: return ELF::R_390_64; in getAbsoluteReloc() 56 case FK_Data_2: return ELF::R_390_PC16; in getPCRelReloc() 57 case FK_Data_4: return ELF::R_390_PC32; in getPCRelReloc() 58 case FK_Data_8: return ELF in getPCRelReloc() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.cpp | 9 // Implementation of ELF support for the MC-JIT runtime dynamic linker. 19 #include "llvm/BinaryFormat/ELF.h" 188 assert(Obj.isELF() && "Not an ELF object file."); in createELFDebugObject() 208 llvm_unreachable("Unexpected ELF format"); in createELFDebugObject() 274 case ELF::R_X86_64_NONE: in resolveX86_64Relocation() 276 case ELF::R_X86_64_64: { in resolveX86_64Relocation() 283 case ELF::R_X86_64_32: in resolveX86_64Relocation() 284 case ELF::R_X86_64_32S: { in resolveX86_64Relocation() 286 assert((Type == ELF::R_X86_64_32 && (Value <= UINT32_MAX)) || in resolveX86_64Relocation() 287 (Type == ELF in resolveX86_64Relocation() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldELFMips.cpp | 1 //===-- RuntimeDyldELFMips.cpp ---- ELF/Mips specific code. -----*- C++ -*-===// 10 #include "llvm/BinaryFormat/ELF.h" 68 case ELF::R_MIPS_32: in evaluateMIPS32Relocation() 70 case ELF::R_MIPS_26: in evaluateMIPS32Relocation() 72 case ELF::R_MIPS_HI16: in evaluateMIPS32Relocation() 75 case ELF::R_MIPS_LO16: in evaluateMIPS32Relocation() 77 case ELF::R_MIPS_PC32: { in evaluateMIPS32Relocation() 81 case ELF::R_MIPS_PC16: { in evaluateMIPS32Relocation() 85 case ELF::R_MIPS_PC19_S2: { in evaluateMIPS32Relocation() 89 case ELF in evaluateMIPS32Relocation() [all...] |
/third_party/ltp/libs/libltpvdso/ |
H A D | parse_vdso.c | 10 * The vDSO is a regular ELF DSO that the kernel maps into user space when 35 #define ELF(x) ELF_BITS_XFORM(ELF_BITS, x) macro 46 ELF(Sym) *symtab; 49 ELF(Word) nbucket, nchain; 53 ELF(Versym) *versym; 54 ELF(Verdef) *verdef; 57 /* Straight from the ELF specification. */ 72 ELF(Word) get_hash_val(void *ptr, ELF(Word) idx) in ELF() function 75 ELF(Xwor in ELF() 191 static bool vdso_match_version(ELF(Versym) ver, ELF() function [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64ELFObjectWriter.cpp | 1 //===-- AArch64ELFObjectWriter.cpp - AArch64 ELF Writer -------------------===// 9 // This file handles ELF-specific object emission, converting LLVM's internal 17 #include "llvm/BinaryFormat/ELF.h" 46 : MCELFObjectTargetWriter(/*Is64Bit*/ true, OSABI, ELF::EM_AARCH64, in AArch64ELFObjectWriter() 51 IsILP32 ? ELF::R_AARCH64_P32_##rtype : ELF::R_AARCH64_##rtype 126 return ELF::R_AARCH64_NONE; in getRelocType() 136 return ELF::R_AARCH64_NONE; in getRelocType() 138 return ELF::R_AARCH64_PREL64; in getRelocType() 152 return ELF in getRelocType() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
H A D | ELFAsmParser.cpp | 1 //===- ELFAsmParser.cpp - ELF Assembly Parser -----------------------------===// 11 #include "llvm/BinaryFormat/ELF.h" 93 return ParseSectionSwitch(".data", ELF::SHT_PROGBITS, in ParseSectionDirectiveData() 94 ELF::SHF_WRITE | ELF::SHF_ALLOC, in ParseSectionDirectiveData() 98 return ParseSectionSwitch(".text", ELF::SHT_PROGBITS, in ParseSectionDirectiveText() 99 ELF::SHF_EXECINSTR | in ParseSectionDirectiveText() 100 ELF::SHF_ALLOC, SectionKind::getText()); in ParseSectionDirectiveText() 103 return ParseSectionSwitch(".bss", ELF::SHT_NOBITS, in ParseSectionDirectiveBSS() 104 ELF in ParseSectionDirectiveBSS() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/MCTargetDesc/ |
H A D | MSP430ELFObjectWriter.cpp | 1 //===-- MSP430ELFObjectWriter.cpp - MSP430 ELF Writer ---------------------===// 25 : MCELFObjectTargetWriter(false, OSABI, ELF::EM_MSP430, in MSP430ELFObjectWriter() 33 // Translate fixup kind to ELF relocation type. 35 case FK_Data_1: return ELF::R_MSP430_8; 36 case FK_Data_2: return ELF::R_MSP430_16_BYTE; 37 case FK_Data_4: return ELF::R_MSP430_32; 38 case MSP430::fixup_32: return ELF::R_MSP430_32; 39 case MSP430::fixup_10_pcrel: return ELF::R_MSP430_10_PCREL; 40 case MSP430::fixup_16: return ELF::R_MSP430_16; 41 case MSP430::fixup_16_pcrel: return ELF [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/ |
H A D | LanaiELFObjectWriter.cpp | 1 //===-- LanaiELFObjectWriter.cpp - Lanai ELF Writer -----------------------===// 11 #include "llvm/BinaryFormat/ELF.h" 36 : MCELFObjectTargetWriter(/*Is64Bit_=*/false, OSABI, ELF::EM_LANAI, in LanaiELFObjectWriter() 47 Type = ELF::R_LANAI_21; in getRelocType() 50 Type = ELF::R_LANAI_21_F; in getRelocType() 53 Type = ELF::R_LANAI_25; in getRelocType() 57 Type = ELF::R_LANAI_32; in getRelocType() 60 Type = ELF::R_LANAI_HI16; in getRelocType() 63 Type = ELF::R_LANAI_LO16; in getRelocType() 66 Type = ELF in getRelocType() [all...] |