From e9708df0ddfc62bafd31e882a0c60f9244f46dbc Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 22 Oct 2020 20:12:52 +0900 Subject: [PATCH] temporary --- output_chunks.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/output_chunks.cc b/output_chunks.cc index 433ed625..1be86595 100644 --- a/output_chunks.cc +++ b/output_chunks.cc @@ -26,8 +26,8 @@ void OutputEhdr::relocate(uint8_t *buf) { hdr->e_shoff = out::shdr->get_offset(); hdr->e_flags = 0; hdr->e_ehsize = sizeof(ELF64LE::Ehdr); - hdr->e_phentsize = sizeof(ELF64LE::Phdr); - hdr->e_phnum = out::phdr->hdr.size(); + // hdr->e_phentsize = sizeof(ELF64LE::Phdr); + // hdr->e_phnum = out::phdr->hdr.size(); hdr->e_shentsize = sizeof(ELF64LE::Shdr); hdr->e_shnum = out::shdr->hdr.size(); hdr->e_shstrndx = out::shstrtab->index;