mirror of git://sourceware.org/git/glibc.git
elf.h: Add BPF relocation types.
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>
This commit is contained in:
parent
f496b28e61
commit
61ab61c2fd
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2018-06-21 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
[BZ #23253]
|
[BZ #23253]
|
||||||
|
|
|
@ -3850,7 +3850,8 @@ enum
|
||||||
/* BPF specific declarations. */
|
/* BPF specific declarations. */
|
||||||
|
|
||||||
#define R_BPF_NONE 0 /* No reloc */
|
#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. */
|
/* Imagination Meta specific relocations. */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue