Home
last modified time | relevance | path

Searched refs:ELF (Results 1 – 25 of 763) sorted by relevance

12345678910>>...31

/external/llvm/test/Object/
Dreadobj-shared-object.test3 RUN: | FileCheck %s -check-prefix ELF
10 RUN: | FileCheck %s -check-prefix ELF
25 ELF: Sections [
26 ELF: Section {
27 ELF: Name: (0)
28 ELF: Type: SHT_NULL
29 ELF: Flags [ (0x0)
30 ELF: ]
31 ELF: }
32 ELF: Section {
[all …]
Dobj2yaml.test3 RUN: obj2yaml %p/Inputs/trivial-object-test.elf-mipsel | FileCheck %s --check-prefix ELF-MIPSEL
4 RUN: obj2yaml %p/Inputs/trivial-object-test.elf-mips64el | FileCheck %s --check-prefix ELF-MIPS64EL
5 RUN: obj2yaml %p/Inputs/trivial-object-test.elf-x86-64 | FileCheck %s --check-prefix ELF-X86-64
6 RUN: obj2yaml %p/Inputs/trivial-object-test.elf-avr | FileCheck %s --check-prefix ELF-AVR
8 RUN: | FileCheck %s --check-prefix ELF-X86-64-UNWIND
192 ELF-MIPSEL: FileHeader:
193 ELF-MIPSEL-NEXT: Class: ELFCLASS32
194 ELF-MIPSEL-NEXT: Data: ELFDATA2LSB
195 ELF-MIPSEL-NEXT: OSABI: ELFOSABI_GNU
196 ELF-MIPSEL-NEXT: Type: ET_REL
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/
Dreadobj-shared-object.test3 RUN: | FileCheck %s -check-prefix ELF
10 RUN: | FileCheck %s -check-prefix ELF
25 ELF: Sections [
26 ELF: Section {
27 ELF: Name: (0)
28 ELF: Type: SHT_NULL
29 ELF: Flags [ (0x0)
30 ELF: ]
31 ELF: }
32 ELF: Section {
[all …]
Dobj2yaml.test5 RUN: obj2yaml %p/Inputs/trivial-object-test.elf-mipsel | FileCheck %s --check-prefix ELF-MIPSEL
6 RUN: obj2yaml %p/Inputs/trivial-object-test.elf-mips64el | FileCheck %s --check-prefix ELF-MIPS64EL
7 RUN: obj2yaml %p/Inputs/trivial-object-test.elf-x86-64 | FileCheck %s --check-prefix ELF-X86-64
8 RUN: obj2yaml %p/Inputs/trivial-object-test.elf-avr | FileCheck %s --check-prefix ELF-AVR
10 RUN: obj2yaml %p/Inputs/unwind-section.elf-x86-64 | FileCheck %s --check-prefix ELF-X86-64-UNWIND
350 ELF-MIPSEL: FileHeader:
351 ELF-MIPSEL-NEXT: Class: ELFCLASS32
352 ELF-MIPSEL-NEXT: Data: ELFDATA2LSB
353 ELF-MIPSEL-NEXT: OSABI: ELFOSABI_GNU
354 ELF-MIPSEL-NEXT: Type: ET_REL
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/
Dreloc-types.test4 // Todo: ELF-PPC, ELF-HEXAGON
6 …lvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-i386 | FileCheck %s -check-prefix ELF-32
7 …lvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-x86_64 | FileCheck %s -check-prefix ELF-64
8 …eadobj -r -expand-relocs %p/Inputs/relocs.obj.elf-aarch64 | FileCheck %s -check-prefix ELF-AARCH64
9 …vm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-arm | FileCheck %s -check-prefix ELF-ARM
10 …-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-lanai | FileCheck %s -check-prefix ELF-LANAI
11 …m-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips | FileCheck %s -check-prefix ELF-MIPS
12 …adobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips64el | FileCheck %s -check-prefix ELF-MIPS64EL
13 …-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-ppc64 | FileCheck %s -check-prefix ELF-PPC64
21 ELF-32: Type: R_386_NONE (0)
[all …]
Ddynamic.test3 RUN: | FileCheck %s -check-prefix ELF-MIPS
5 ELF-MIPS: Format: ELF32-mips
6 ELF-MIPS: Arch: mipsel
7 ELF-MIPS: AddressSize: 32bit
8 ELF-MIPS: LoadName:
9 ELF-MIPS: DynamicSection [ (23 entries)
10 ELF-MIPS: Tag Type Name/Value
11 ELF-MIPS: 0x00000001 NEEDED Shared library: [libc.so.6]
12 ELF-MIPS: 0x0000000C INIT 0x528
13 ELF-MIPS: 0x0000000D FINI 0x860
[all …]
Dprogram-headers.test2 RUN: | FileCheck %s -check-prefix ELF-I386
4 RUN: | FileCheck %s -check-prefix ELF-X86-64
6 RUN: | FileCheck %s -check-prefix ELF-MIPS
8 RUN: | FileCheck %s -check-prefix ELF-MIPS64
24 ELF-I386: ProgramHeaders [
25 ELF-I386-NEXT: ProgramHeader {
26 ELF-I386-NEXT: Type: PT_LOAD (0x1)
27 ELF-I386-NEXT: Offset: 0x0
28 ELF-I386-NEXT: VirtualAddress: 0x8048000
29 ELF-I386-NEXT: PhysicalAddress: 0x8048000
[all …]
/external/llvm/test/tools/llvm-readobj/
Dreloc-types.test4 // Todo: ELF-PPC, ELF-HEXAGON
6 …lvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-i386 | FileCheck %s -check-prefix ELF-32
7 …lvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-x86_64 | FileCheck %s -check-prefix ELF-64
8 …eadobj -r -expand-relocs %p/Inputs/relocs.obj.elf-aarch64 | FileCheck %s -check-prefix ELF-AARCH64
9 …vm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-arm | FileCheck %s -check-prefix ELF-ARM
10 …-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-lanai | FileCheck %s -check-prefix ELF-LANAI
11 …m-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips | FileCheck %s -check-prefix ELF-MIPS
12 …adobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips64el | FileCheck %s -check-prefix ELF-MIPS64EL
13 …-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-ppc64 | FileCheck %s -check-prefix ELF-PPC64
21 ELF-32: Type: R_386_NONE (0)
[all …]
Dprogram-headers.test2 RUN: | FileCheck %s -check-prefix ELF-I386
4 RUN: | FileCheck %s -check-prefix ELF-X86-64
6 RUN: | FileCheck %s -check-prefix ELF-MIPS
8 RUN: | FileCheck %s -check-prefix ELF-MIPS64
10 ELF-I386: ProgramHeaders [
11 ELF-I386-NEXT: ProgramHeader {
12 ELF-I386-NEXT: Type: PT_LOAD (0x1)
13 ELF-I386-NEXT: Offset: 0x0
14 ELF-I386-NEXT: VirtualAddress: 0x8048000
15 ELF-I386-NEXT: PhysicalAddress: 0x8048000
[all …]
Ddynamic.test3 RUN: | FileCheck %s -check-prefix ELF-MIPS
5 ELF-MIPS: Format: ELF32-mips
6 ELF-MIPS: Arch: mipsel
7 ELF-MIPS: AddressSize: 32bit
8 ELF-MIPS: LoadName:
9 ELF-MIPS: DynamicSection [ (23 entries)
10 ELF-MIPS: Tag Type Name/Value
11 ELF-MIPS: 0x00000001 NEEDED SharedLibrary (libc.so.6)
12 ELF-MIPS: 0x0000000C INIT 0x528
13 ELF-MIPS: 0x0000000D FINI 0x860
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonELFObjectWriter.cpp39 : MCELFObjectTargetWriter(/*Is64bit*/ false, OSABI, ELF::EM_HEXAGON, in HexagonELFObjectWriter()
55 return ELF::R_HEX_DTPREL_32; in getRelocType()
57 return ELF::R_HEX_GOT_32; in getRelocType()
59 return ELF::R_HEX_GOTREL_32; in getRelocType()
61 return ELF::R_HEX_GD_GOT_32; in getRelocType()
63 return ELF::R_HEX_IE_32; in getRelocType()
65 return ELF::R_HEX_IE_GOT_32; in getRelocType()
67 return ELF::R_HEX_LD_GOT_32; in getRelocType()
69 return ELF::R_HEX_32_PCREL; in getRelocType()
71 return ELF::R_HEX_TPREL_32; in getRelocType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp143 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::STB_LOCAL) in getMatchingLoType()
152 return ELF::R_MIPS_NONE; in getMatchingLoType()
154 if (Type == ELF::R_MIPS_GOT16) in getMatchingLoType()
155 return ELF::R_MIPS_LO16; in getMatchingLoType()
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp136 if (Type == ELF::R_MIPS_HI16) in getMatchingLoType()
137 return ELF::R_MIPS_LO16; in getMatchingLoType()
138 if (Type == ELF::R_MICROMIPS_HI16) in getMatchingLoType()
139 return ELF::R_MICROMIPS_LO16; in getMatchingLoType()
140 if (Type == ELF::R_MIPS16_HI16) in getMatchingLoType()
141 return ELF::R_MIPS16_LO16; in getMatchingLoType()
143 if (Reloc.OriginalSymbol->getBinding() != ELF::STB_LOCAL) in getMatchingLoType()
144 return ELF::R_MIPS_NONE; in getMatchingLoType()
146 if (Type == ELF::R_MIPS_GOT16) in getMatchingLoType()
147 return ELF::R_MIPS_LO16; in getMatchingLoType()
[all …]
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonELFObjectWriter.cpp38 : 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::R_HEX_TPREL_32; in getRelocType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCELFObjectWriter.cpp39 Is64Bit ? ELF::EM_PPC64 : ELF::EM_PPC, in PPCELFObjectWriter()
90 Type = ELF::R_PPC_REL24; in getRelocType()
93 Type = ELF::R_PPC_PLTREL24; in getRelocType()
96 Type = ELF::R_PPC_LOCAL24PC; in getRelocType()
102 Type = ELF::R_PPC_REL14; in getRelocType()
108 Type = ELF::R_PPC_REL16; in getRelocType()
111 Type = ELF::R_PPC_REL16_LO; in getRelocType()
114 Type = ELF::R_PPC_REL16_HI; in getRelocType()
117 Type = ELF::R_PPC_REL16_HA; in getRelocType()
127 Type = ELF::R_PPC_REL32; in getRelocType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcELFObjectWriter.cpp27 Is64Bit ? ELF::EM_SPARCV9 : ELF::EM_SPARC, in SparcELFObjectWriter()
49 return ELF::R_SPARC_DISP32; in getRelocType()
56 case FK_Data_1: return ELF::R_SPARC_DISP8; in getRelocType()
57 case FK_Data_2: return ELF::R_SPARC_DISP16; in getRelocType()
58 case FK_Data_4: return ELF::R_SPARC_DISP32; in getRelocType()
59 case FK_Data_8: return ELF::R_SPARC_DISP64; in getRelocType()
60 case Sparc::fixup_sparc_call30: return ELF::R_SPARC_WDISP30; in getRelocType()
61 case Sparc::fixup_sparc_br22: return ELF::R_SPARC_WDISP22; in getRelocType()
62 case Sparc::fixup_sparc_br19: return ELF::R_SPARC_WDISP19; in getRelocType()
63 case Sparc::fixup_sparc_pc22: return ELF::R_SPARC_PC22; in getRelocType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DELF.cpp21 #define ELF_RELOC(name, value) STRINGIFY_ENUM_CASE(ELF, name)
26 case ELF::EM_X86_64: in getELFRelocationTypeName()
33 case ELF::EM_386: in getELFRelocationTypeName()
34 case ELF::EM_IAMCU: in getELFRelocationTypeName()
41 case ELF::EM_MIPS: in getELFRelocationTypeName()
48 case ELF::EM_AARCH64: in getELFRelocationTypeName()
55 case ELF::EM_ARM: in getELFRelocationTypeName()
62 case ELF::EM_ARC_COMPACT: in getELFRelocationTypeName()
63 case ELF::EM_ARC_COMPACT2: in getELFRelocationTypeName()
70 case ELF::EM_AVR: in getELFRelocationTypeName()
[all …]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCELFObjectWriter.cpp38 Is64Bit ? ELF::EM_PPC64 : ELF::EM_PPC, in PPCELFObjectWriter()
85 Type = ELF::R_PPC_REL24; in getRelocType()
88 Type = ELF::R_PPC_PLTREL24; in getRelocType()
91 Type = ELF::R_PPC_LOCAL24PC; in getRelocType()
97 Type = ELF::R_PPC_REL14; in getRelocType()
103 Type = ELF::R_PPC_REL16; in getRelocType()
106 Type = ELF::R_PPC_REL16_LO; in getRelocType()
109 Type = ELF::R_PPC_REL16_HI; in getRelocType()
112 Type = ELF::R_PPC_REL16_HA; in getRelocType()
122 Type = ELF::R_PPC_REL32; in getRelocType()
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64ELFObjectWriter.cpp42 : MCELFObjectTargetWriter(/*Is64Bit*/ true, OSABI, ELF::EM_AARCH64, in AArch64ELFObjectWriter()
68 return ELF::R_AARCH64_NONE; in getRelocType()
70 return ELF::R_AARCH64_PREL16; in getRelocType()
72 return ELF::R_AARCH64_PREL32; in getRelocType()
74 return ELF::R_AARCH64_PREL64; in getRelocType()
77 return ELF::R_AARCH64_ADR_PREL_LO21; in getRelocType()
80 return ELF::R_AARCH64_ADR_PREL_PG_HI21; in getRelocType()
82 return ELF::R_AARCH64_ADR_GOT_PAGE; in getRelocType()
84 return ELF::R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21; in getRelocType()
86 return ELF::R_AARCH64_TLSDESC_ADR_PAGE21; in getRelocType()
[all …]
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcELFObjectWriter.cpp26 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::R_SPARC_WDISP22; in getRelocType()
61 case Sparc::fixup_sparc_br19: return ELF::R_SPARC_WDISP19; in getRelocType()
62 case Sparc::fixup_sparc_pc22: return ELF::R_SPARC_PC22; in getRelocType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.cpp24 BSSSection = Ctx.getELFSection(".dp.bss", ELF::SHT_NOBITS, in Initialize()
25 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
26 ELF::XCORE_SHF_DP_SECTION); in Initialize()
27 BSSSectionLarge = Ctx.getELFSection(".dp.bss.large", ELF::SHT_NOBITS, in Initialize()
28 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
29 ELF::XCORE_SHF_DP_SECTION); in Initialize()
30 DataSection = Ctx.getELFSection(".dp.data", ELF::SHT_PROGBITS, in Initialize()
31 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
32 ELF::XCORE_SHF_DP_SECTION); in Initialize()
33 DataSectionLarge = Ctx.getELFSection(".dp.data.large", ELF::SHT_PROGBITS, in Initialize()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.cpp24 BSSSection = Ctx.getELFSection(".dp.bss", ELF::SHT_NOBITS, in Initialize()
25 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
26 ELF::XCORE_SHF_DP_SECTION); in Initialize()
27 BSSSectionLarge = Ctx.getELFSection(".dp.bss.large", ELF::SHT_NOBITS, in Initialize()
28 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
29 ELF::XCORE_SHF_DP_SECTION); in Initialize()
30 DataSection = Ctx.getELFSection(".dp.data", ELF::SHT_PROGBITS, in Initialize()
31 ELF::SHF_ALLOC | ELF::SHF_WRITE | in Initialize()
32 ELF::XCORE_SHF_DP_SECTION); in Initialize()
33 DataSectionLarge = Ctx.getELFSection(".dp.data.large", ELF::SHT_PROGBITS, in Initialize()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRELFObjectWriter.cpp37 : MCELFObjectTargetWriter(false, OSABI, ELF::EM_AVR, true) {} in AVRELFObjectWriter()
50 return ELF::R_AVR_8; in getRelocType()
52 return ELF::R_AVR_DIFF8; in getRelocType()
54 return ELF::R_AVR_8_LO8; in getRelocType()
56 return ELF::R_AVR_8_HI8; in getRelocType()
58 return ELF::R_AVR_8_HLO8; in getRelocType()
65 return ELF::R_AVR_32; in getRelocType()
67 return ELF::R_AVR_DIFF32; in getRelocType()
74 return ELF::R_AVR_16; in getRelocType()
76 return ELF::R_AVR_16_PM; in getRelocType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFObjectWriter.cpp49 ELF::EM_ARM, in ARMELFObjectWriter()
61 case ELF::R_ARM_PREL31: in needsRelocateWithSymbol()
62 case ELF::R_ARM_ABS32: in needsRelocateWithSymbol()
86 return ELF::R_ARM_NONE; in GetRelocTypeInner()
92 return ELF::R_ARM_REL32; in GetRelocTypeInner()
94 return ELF::R_ARM_TLS_IE32; in GetRelocTypeInner()
96 return ELF::R_ARM_GOT_PREL; in GetRelocTypeInner()
98 return ELF::R_ARM_PREL31; in GetRelocTypeInner()
104 return ELF::R_ARM_CALL; in GetRelocTypeInner()
106 return ELF::R_ARM_TLS_CALL; in GetRelocTypeInner()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCSymbolELF.cpp44 if (getType() == ELF::STT_SECTION && Binding != ELF::STB_LOCAL) in setBinding()
45 setType(ELF::STT_NOTYPE); in setBinding()
50 case ELF::STB_LOCAL: in setBinding()
53 case ELF::STB_GLOBAL: in setBinding()
56 case ELF::STB_WEAK: in setBinding()
59 case ELF::STB_GNU_UNIQUE: in setBinding()
74 return ELF::STB_LOCAL; in getBinding()
76 return ELF::STB_GLOBAL; in getBinding()
78 return ELF::STB_WEAK; in getBinding()
80 return ELF::STB_GNU_UNIQUE; in getBinding()
[all …]

12345678910>>...31