summaryrefslogtreecommitdiff
path: root/api/elf
diff options
context:
space:
mode:
Diffstat (limited to 'api/elf')
-rw-r--r--api/elf/elf.h1
-rw-r--r--api/elf/elf64.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/api/elf/elf.h b/api/elf/elf.h
index 3d82bc0..209c219 100644
--- a/api/elf/elf.h
+++ b/api/elf/elf.h
@@ -80,4 +80,5 @@ typedef uint8_t Elf_Byte;
#define DT_RELAENT 9
#define DT_STRSZ 10
#define DT_SYMENT 11
+#define DT_JMPREL 0x17
diff --git a/api/elf/elf64.h b/api/elf/elf64.h
index d975c35..9ea3031 100644
--- a/api/elf/elf64.h
+++ b/api/elf/elf64.h
@@ -91,7 +91,8 @@ struct Elf64_Dyn
#define ELF64_R_TYPE(info) ((Elf64_Word)(info))
#define ELF64_R_INFO(sym, type) (((Elf64_Xword)(sym)<<32)+(Elf64_Xword)(type))
-#define R_AMD64_RELATIVE 8
+#define R_X86_64_JUMP_SLOT 7
+#define R_X86_64_RELATIVE 8
struct Elf64_Rel
{