mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:17:35 +00:00
LibELF: Implement x86_64 relocation support
There are definitely some relocations missing and this is untested for now.
This commit is contained in:
parent
6990ab41c8
commit
a050b43290
3 changed files with 38 additions and 0 deletions
|
@ -791,3 +791,9 @@ struct elf_args {
|
|||
#define R_386_RELATIVE 8 /* Base address + Addned */
|
||||
#define R_386_TLS_TPOFF 14 /* Negative offset into the static TLS storage */
|
||||
#define R_386_TLS_TPOFF32 37
|
||||
|
||||
#define R_X86_64_NONE 0
|
||||
#define R_X86_64_64 1
|
||||
#define R_X86_64_GLOB_DAT 6
|
||||
#define R_X86_64_JUMP_SLOT 7
|
||||
#define R_X86_64_RELATIVE 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue