mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-26 03:50:07 +08:00
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
@ -112,8 +112,8 @@ enum {
|
||||
#define R_JMP_SLOT R_X86_64_JUMP_SLOT
|
||||
#define R_COPY R_X86_64_COPY
|
||||
|
||||
#define ELF_START_ADDR 0x08048000
|
||||
#define ELF_PAGE_SIZE 0x1000
|
||||
#define ELF_START_ADDR 0x400000
|
||||
#define ELF_PAGE_SIZE 0x200000
|
||||
|
||||
/******************************************************/
|
||||
#else /* ! TARGET_DEFS_ONLY */
|
||||
|
Loading…
Reference in New Issue
Block a user