Make build_got_entries more target independent
Factor most of common logic between targets in build_got_entries by defining target specific info into structures in the backends.
This commit is contained in:
@ -110,6 +110,7 @@ enum {
|
||||
#define R_DATA_32 R_X86_64_32
|
||||
#define R_DATA_PTR R_X86_64_64
|
||||
#define R_JMP_SLOT R_X86_64_JUMP_SLOT
|
||||
#define R_GLOB_DAT R_X86_64_GLOB_DAT
|
||||
#define R_COPY R_X86_64_COPY
|
||||
|
||||
#define ELF_START_ADDR 0x400000
|
||||
|
||||
Reference in New Issue
Block a user