--android-shlib preserves selected Elf32_Shdr

32-bit only for now; also in wrong place for unpacking (-d)
	modified:   main.cpp
	modified:   options.h
	modified:   p_elf_enum.h
	modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
This commit is contained in:
John Reiser
2017-03-29 18:31:39 -07:00
parent 348173d3f1
commit 300d489408
5 changed files with 73 additions and 11 deletions
+1
View File
@@ -146,6 +146,7 @@ struct options_t {
bool unmap_all_pages; // thus /proc/self/exe vanishes
unsigned char osabi0; // replacement if 0==.e_ident[EI_OSABI]
bool preserve_build_id; // copy the build-id to the compressed binary
bool android_shlib; // keep some ElfXX_Shdr for dlopen()
} o_unix;
struct {
bool le;