1#ifndef ELF_RELOC
2#error "ELF_RELOC must be defined"
3#endif
4
5ELF_RELOC(R_AMDGPU_NONE, 0)
6ELF_RELOC(R_AMDGPU_ABS32_LO, 1)
7ELF_RELOC(R_AMDGPU_ABS32_HI, 2)
8ELF_RELOC(R_AMDGPU_ABS64, 3)
9ELF_RELOC(R_AMDGPU_REL32, 4)
10ELF_RELOC(R_AMDGPU_REL64, 5)
11ELF_RELOC(R_AMDGPU_ABS32, 6)
12ELF_RELOC(R_AMDGPU_GOTPCREL, 7)
13ELF_RELOC(R_AMDGPU_GOTPCREL32_LO, 8)
14ELF_RELOC(R_AMDGPU_GOTPCREL32_HI, 9)
15ELF_RELOC(R_AMDGPU_REL32_LO, 10)
16ELF_RELOC(R_AMDGPU_REL32_HI, 11)
17ELF_RELOC(R_AMDGPU_RELATIVE64, 13)
18ELF_RELOC(R_AMDGPU_REL16, 14)
19

source code of llvm/include/llvm/BinaryFormat/ELFRelocs/AMDGPU.def