summaryrefslogtreecommitdiff
path: root/api/elf/elf64.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-03-15 16:29:24 +0000
committerAda Christine <adachristine18@gmail.com>2022-03-15 16:29:24 +0000
commitec4aee35de3446713c6754641cdad82adc011204 (patch)
treefb40b7b153da4bbb47ec46b40144a18fbfbcf74b /api/elf/elf64.h
parent97fcd7d1fc4574753d91e6767a8d8a7653a7f7fe (diff)
infrastructure for dynamic symbol resolution
Diffstat (limited to 'api/elf/elf64.h')
-rw-r--r--api/elf/elf64.h3
1 files changed, 2 insertions, 1 deletions
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
{