mirror of
https://github.com/rui314/mold.git
synced 2024-12-28 02:44:48 +03:00
temporary
This commit is contained in:
parent
f6c24ad62a
commit
bb4aa6f82e
@ -29,7 +29,7 @@ void OutputEhdr::relocate(uint8_t *buf) {
|
||||
hdr->e_ident[EI_ABIVERSION] = 0;
|
||||
hdr->e_machine = EM_X86_64;
|
||||
hdr->e_version = EV_CURRENT;
|
||||
hdr->e_entry = Symbol::intern("_entry")->addr;
|
||||
hdr->e_entry = Symbol::intern("_start")->addr;
|
||||
hdr->e_phoff = out::phdr->get_fileoff();
|
||||
hdr->e_shoff = out::shdr->get_fileoff();
|
||||
hdr->e_flags = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user