x86-64: Use correct ELF values
The x86-64 uses different segment alignment (2MB) and a different start address.
This commit is contained in:
parent
ea2805f097
commit
a913ee6082
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue