Lines Matching refs:ELF
1 //===-- X86ELFWriterInfo.cpp - ELF Writer Info for the X86 backend --------===//
10 // This file implements ELF writer information for the X86 backend.
17 #include "llvm/Support/ELF.h"
39 return ELF::R_X86_64_PC32;
41 return ELF::R_X86_64_32;
43 return ELF::R_X86_64_32S;
45 return ELF::R_X86_64_64;
53 return ELF::R_386_PC32;
55 return ELF::R_386_32;
69 case ELF::R_X86_64_PC32: return Modifier - 4;
70 case ELF::R_X86_64_32:
71 case ELF::R_X86_64_32S:
72 case ELF::R_X86_64_64:
79 case ELF::R_386_PC32: return Modifier - 4;
80 case ELF::R_386_32: return Modifier;
90 case ELF::R_X86_64_PC32:
91 case ELF::R_X86_64_32:
92 case ELF::R_X86_64_32S:
94 case ELF::R_X86_64_64:
101 case ELF::R_386_PC32:
102 case ELF::R_386_32:
113 case ELF::R_X86_64_PC32:
115 case ELF::R_X86_64_32:
116 case ELF::R_X86_64_32S:
117 case ELF::R_X86_64_64:
124 case ELF::R_386_PC32:
126 case ELF::R_386_32:
143 if (RelTy == ELF::R_X86_64_PC32 || RelTy == ELF::R_386_PC32)