mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-02 19:09:16 +00:00
kernel: add aarch64 architecture support
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -182,6 +182,13 @@ enum RelocationTypes
|
||||
R_X86_64_REX_GOTPCRELX = 42,
|
||||
R_X86_64_NUM = 43,
|
||||
|
||||
R_AARCH64_NONE = 0,
|
||||
R_AARCH64_COPY = 1024,
|
||||
R_AARCH64_GLOB_DAT = 1025,
|
||||
R_AARCH64_JUMP_SLOT = 1026,
|
||||
R_AARCH64_RELATIVE = 1027,
|
||||
R_AARCH64_TLS_DTPMOD64 = 1028,
|
||||
|
||||
#if defined(__x86_64__)
|
||||
R_NONE = R_X86_64_NONE,
|
||||
R_COPY = R_X86_64_COPY,
|
||||
@ -200,6 +207,15 @@ enum RelocationTypes
|
||||
R_DTPMOD64 = R_386_NONE,
|
||||
R_DTPOFF64 = R_386_NONE,
|
||||
R_TPOFF64 = R_386_NONE,
|
||||
#elif defined(__aarch64__)
|
||||
R_NONE = R_AARCH64_NONE,
|
||||
R_COPY = R_AARCH64_COPY,
|
||||
R_GLOB_DAT = R_AARCH64_GLOB_DAT,
|
||||
R_JMP_SLOT = R_AARCH64_JUMP_SLOT,
|
||||
R_RELATIVE = R_AARCH64_RELATIVE,
|
||||
R_DTPMOD64 = R_AARCH64_TLS_DTPMOD64,
|
||||
R_DTPOFF64 = R_AARCH64_NONE,
|
||||
R_TPOFF64 = R_AARCH64_NONE,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user