The BPF ELF format has new relocation types R_BPF_64_64 and R_BPF_64_32.
The existing R_BPF_MAP_FD was an extension that never got implemented.
Remove it, because the constant conflicts with the official R_BPF_64_64.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
+2018-06-21 Mark Wielaard <mark@klomp.org>
+
+ * elf/elf.h (R_BPF_MAP_FD): Removed.
+ (R_BPF_64_64, R_BPF_64_32): New.
+
2018-06-21 Florian Weimer <fweimer@redhat.com>
[BZ #23253]
/* BPF specific declarations. */
#define R_BPF_NONE 0 /* No reloc */
-#define R_BPF_MAP_FD 1 /* Map fd to pointer */
+#define R_BPF_64_64 1
+#define R_BPF_64_32 10
/* Imagination Meta specific relocations. */