summaryrefslogtreecommitdiff
path: root/include/llvm/BinaryFormat/ELFRelocs/BPF.def
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/BinaryFormat/ELFRelocs/BPF.def')
-rw-r--r--include/llvm/BinaryFormat/ELFRelocs/BPF.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/BinaryFormat/ELFRelocs/BPF.def b/include/llvm/BinaryFormat/ELFRelocs/BPF.def
new file mode 100644
index 000000000000..5dd7f70b6963
--- /dev/null
+++ b/include/llvm/BinaryFormat/ELFRelocs/BPF.def
@@ -0,0 +1,8 @@
+#ifndef ELF_RELOC
+#error "ELF_RELOC must be defined"
+#endif
+
+// No relocation
+ELF_RELOC(R_BPF_NONE, 0)
+ELF_RELOC(R_BPF_64_64, 1)
+ELF_RELOC(R_BPF_64_32, 10)