1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-28 02:44:48 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-25 15:43:01 +09:00
parent f6c24ad62a
commit bb4aa6f82e

View File

@ -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;