--android-shlib preserves selected Elf64_Shdr

https://github.com/upx/upx/issues/65
	modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
This commit is contained in:
John Reiser
2017-03-31 13:24:36 -07:00
parent ce7f1292dc
commit 978c3eca23
2 changed files with 57 additions and 0 deletions
+1
View File
@@ -274,6 +274,7 @@ protected:
Elf64_Shdr const *shdri; // from input file
upx_uint64_t e_phoff;
upx_uint64_t e_shoff;
unsigned so_slide;
unsigned char *note_body; // concatenated contents of PT_NOTEs, if any
unsigned note_size; // total size of PT_NOTEs
upx_uint64_t page_mask; // AND clears the offset-within-page