x86-64: Use correct ELF values
The x86-64 uses different segment alignment (2MB) and a different start address.
This commit is contained in:
@ -112,8 +112,8 @@ enum {
|
|||||||
#define R_JMP_SLOT R_X86_64_JUMP_SLOT
|
#define R_JMP_SLOT R_X86_64_JUMP_SLOT
|
||||||
#define R_COPY R_X86_64_COPY
|
#define R_COPY R_X86_64_COPY
|
||||||
|
|
||||||
#define ELF_START_ADDR 0x08048000
|
#define ELF_START_ADDR 0x400000
|
||||||
#define ELF_PAGE_SIZE 0x1000
|
#define ELF_PAGE_SIZE 0x200000
|
||||||
|
|
||||||
/******************************************************/
|
/******************************************************/
|
||||||
#else /* ! TARGET_DEFS_ONLY */
|
#else /* ! TARGET_DEFS_ONLY */
|
||||||
|
|||||||
Reference in New Issue
Block a user