::PackLinuxElf64amd() sets lg2_page back to 12.
https://github.com/upx/upx/issues/212 (partial, Fedora 29) modified: p_lx_elf.cpp
This commit is contained in:
@@ -982,6 +982,9 @@ Linker* PackLinuxElf64ppc::newLinker() const
|
||||
PackLinuxElf64amd::PackLinuxElf64amd(InputFile *f)
|
||||
: super(f)
|
||||
{
|
||||
// Why did PackLinuxElf64Le set lg2_page = 16 ?
|
||||
// It causes trouble for check_pt_dynamic() from canPack().
|
||||
lg2_page = 12; page_size = 1u<<lg2_page;
|
||||
e_machine = Elf64_Ehdr::EM_X86_64;
|
||||
ei_class = Elf64_Ehdr::ELFCLASS64;
|
||||
ei_data = Elf64_Ehdr::ELFDATA2LSB;
|
||||
|
||||
Reference in New Issue
Block a user