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:
@ -82,6 +82,7 @@ enum {
|
||||
#define R_DATA_32 R_386_32
|
||||
#define R_DATA_PTR R_386_32
|
||||
#define R_JMP_SLOT R_386_JMP_SLOT
|
||||
#define R_GLOB_DAT R_386_GLOB_DAT
|
||||
#define R_COPY R_386_COPY
|
||||
|
||||
#define ELF_START_ADDR 0x08048000
|
||||
|
||||
Reference in New Issue
Block a user