diff options
-rw-r--r-- | Userland/Libraries/LibC/elf.h | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibELF/DynamicLoader.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/elf.h b/Userland/Libraries/LibC/elf.h index b5baecd142..bc5f9c5f6d 100644 --- a/Userland/Libraries/LibC/elf.h +++ b/Userland/Libraries/LibC/elf.h @@ -827,3 +827,4 @@ struct elf_args { #define R_AARCH64_JUMP_SLOT 1026 #define R_AARCH64_RELATIVE 1027 #define R_AARCH64_TLS_TPREL64 1030 +#define R_AARCH64_IRELATIVE 1032 diff --git a/Userland/Libraries/LibELF/DynamicLoader.cpp b/Userland/Libraries/LibELF/DynamicLoader.cpp index b62c54f253..98711e9ef0 100644 --- a/Userland/Libraries/LibELF/DynamicLoader.cpp +++ b/Userland/Libraries/LibELF/DynamicLoader.cpp @@ -581,6 +581,7 @@ DynamicLoader::RelocationResult DynamicLoader::do_relocation(const ELF::DynamicO } break; } + case R_AARCH64_IRELATIVE: case R_X86_64_IRELATIVE: { VirtualAddress resolver; if (relocation.addend_used()) |