libelf: Sync elf.h from glibc.

Add NT_PPC_PKEY, R_BPF_64_64 and R_BPF_64_32. Remove R_BPF_MAP_FD.

Signed-off-by: Mark Wielaard <mark@klomp.org>
This commit is contained in:
Mark Wielaard
2018-06-21 18:52:53 +02:00
parent a8efc328a5
commit 3e4f78a7be
4 changed files with 12 additions and 2 deletions
+4
View File
@@ -1,3 +1,7 @@
2018-06-21 Mark Wielaard <mark@klomp.org>
* bpf_reloc.def: Remove MAP_FD.
2018-06-13 Andreas Schwab <schwab@suse.de>
* Makefile.am (riscv_SRCS): Add riscv_cfi.c and riscv_regs.c.
-1
View File
@@ -28,4 +28,3 @@
/* NAME, REL|EXEC|DYN */
RELOC_TYPE (NONE, EXEC|DYN)
RELOC_TYPE (MAP_FD, REL|EXEC|DYN)
+4
View File
@@ -1,3 +1,7 @@
2018-06-21 Mark Wielaard <mark@klomp.org>
* elf.h: Update from glibc.
2018-04-19 Andreas Schwab <schwab@suse.de>
* elf.h: Update from glibc.
+4 -1
View File
@@ -780,6 +780,8 @@ typedef struct
Register */
#define NT_PPC_TM_CDSCR 0x10f /* TM checkpointed Data Stream Control
Register */
#define NT_PPC_PKEY 0x110 /* Memory Protection Keys
registers. */
#define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */
#define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */
#define NT_X86_XSTATE 0x202 /* x86 extended state using xsave */
@@ -3848,7 +3850,8 @@ enum
/* 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. */