Try again for Android Elfxx_Shdr

modified:   ../misc/testsuite/upx_testsuite_1-expected_sha256sums.sh
	modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
	modified:   p_unix.cpp
This commit is contained in:
John Reiser
2024-12-23 11:20:26 -08:00
committed by Markus F.X.J. Oberhumer
parent 505f6b7373
commit e3e5d8a3a5
4 changed files with 146 additions and 151 deletions
+2 -1
View File
@@ -57,11 +57,12 @@ PackUnix::PackUnix(InputFile *f) :
COMPILE_TIME_ASSERT(sizeof(p_info) == 12)
// opt->o_unix.android_shlib is global, but must be hint
// that applies only when an actual ET_DYN on EM_ARM or EM_ARM64.
// that applies only when an actual ET_DYN on EM_ARM (only!).
// User might say "--android-shlib" but give mulitple files
// where some are ET_EXEC.
saved_opt_android_shlib = opt->o_unix.android_shlib;
opt->o_unix.android_shlib = 0; // Must apply selectively
// Besides, cannot figure out why asl_slide_Shdrs does not work.
}
PackUnix::~PackUnix()