diff options
Diffstat (limited to 'include/llvm/Support/ELFRelocs/AMDGPU.def')
-rw-r--r-- | include/llvm/Support/ELFRelocs/AMDGPU.def | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/llvm/Support/ELFRelocs/AMDGPU.def b/include/llvm/Support/ELFRelocs/AMDGPU.def new file mode 100644 index 0000000000000..c1e6797fdb0d1 --- /dev/null +++ b/include/llvm/Support/ELFRelocs/AMDGPU.def @@ -0,0 +1,12 @@ +#ifndef ELF_RELOC +#error "ELF_RELOC must be defined" +#endif + +ELF_RELOC(R_AMDGPU_NONE, 0) +ELF_RELOC(R_AMDGPU_ABS32_LO, 1) +ELF_RELOC(R_AMDGPU_ABS32_HI, 2) +ELF_RELOC(R_AMDGPU_ABS64, 3) +ELF_RELOC(R_AMDGPU_REL32, 4) +ELF_RELOC(R_AMDGPU_REL64, 5) +ELF_RELOC(R_AMDGPU_ABS32, 6) +ELF_RELOC(R_AMDGPU_GOTPCREL, 7) |