mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:37:34 +00:00
LibELF+LibC: Add support for aarch64 relocations
This commit adds the used relocation types to elf.h, and handles the types in DynamicLoader and DynamicObject. No new functionalitty has to be added, as the same code can be reused between aarch64 and x86_64.
This commit is contained in:
parent
cfd73e5d9f
commit
ed3be5b7f5
3 changed files with 10 additions and 1 deletions
|
@ -822,4 +822,8 @@ struct elf_args {
|
|||
#define R_X86_64_TPOFF64 18
|
||||
#define R_X86_64_IRELATIVE 37
|
||||
|
||||
#define R_AARCH64_ABS64 257
|
||||
#define R_AARCH64_GLOB_DAT 1025
|
||||
#define R_AARCH64_JUMP_SLOT 1026
|
||||
#define R_AARCH64_RELATIVE 1027
|
||||
#define R_AARCH64_TLS_TPREL64 1030
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue