--force-pie inhibits treating as shared library (for 'rust', etc.)

https://github.com/upx/upx/issues/200
	modified:   main.cpp
	modified:   options.h
	modified:   p_lx_elf.cpp
This commit is contained in:
John Reiser
2018-04-26 13:44:17 -07:00
parent 9f651ee40f
commit 614c86fb7d
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -147,6 +147,7 @@ struct options_t {
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()
bool force_pie; // choose DF_1_PIE instead of is_shlib
} o_unix;
struct {
bool le;