aboutsummaryrefslogtreecommitdiff
path: root/include/elf/bpf.h
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-02 12:06:23 +0100
committerSam James <sam@gentoo.org>2023-08-02 12:06:23 +0100
commitb5c37946cce4b41af0436529b139fa3d23e61f73 (patch)
tree02129ebadb74e7d3f2430cf8221799ce186600e3 /include/elf/bpf.h
parent675b9d612cc59446e84e2c6d89b45500cb603a8d (diff)
downloadfsf-binutils-gdb-b5c37946cce4b41af0436529b139fa3d23e61f73.zip
fsf-binutils-gdb-b5c37946cce4b41af0436529b139fa3d23e61f73.tar.gz
fsf-binutils-gdb-b5c37946cce4b41af0436529b139fa3d23e61f73.tar.bz2
Revert "2.41 Release sources"
This reverts commit 675b9d612cc59446e84e2c6d89b45500cb603a8d. See https://sourceware.org/pipermail/binutils/2023-August/128761.html.
Diffstat (limited to 'include/elf/bpf.h')
-rw-r--r--include/elf/bpf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/bpf.h b/include/elf/bpf.h
index fb19360..e4d4162 100644
--- a/include/elf/bpf.h
+++ b/include/elf/bpf.h
@@ -34,6 +34,12 @@ START_RELOC_NUMBERS (elf_bpf_reloc_type)
* It is kept in this file to remind that the value is already taken. */
RELOC_NUMBER (R_BPF_64_NODYLD32, 4)
RELOC_NUMBER (R_BPF_64_32, 10)
+ RELOC_NUMBER (R_BPF_GNU_64_16, 256)
END_RELOC_NUMBERS (R_BPF_max)
+/* Processor specific flags for the ELF header e_flags field. */
+
+/* Version of the BPF ISA used in the file. */
+#define EF_BPF_CPUVER 0x0000000f
+
#endif /* _ELF_BPF_H */