Option --android-oid for Android < 10

modified:   main.cpp
	modified:   options.h
	modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
	modified:   p_unix.h
This commit is contained in:
John Reiser
2024-11-18 16:06:45 -08:00
parent 3d9fc7ab53
commit 7ef018fed0
5 changed files with 14 additions and 3 deletions
+4
View File
@@ -739,6 +739,9 @@ static int do_option(int optc, const char *arg) {
case 677:
opt->o_unix.force_pie = true;
break;
case 678:
opt->o_unix.android_old = true;
break;
// ps1/exe
case 670:
opt->ps1_exe.boot_only = true;
@@ -953,6 +956,7 @@ int main_get_options(int argc, char **argv) {
{"preserve-build-id", 0, N, 675},
{"android-shlib", 0, N, 676},
{"force-pie", 0x90, N, 677},
{"android-old", 0, N, 678},
// ps1/exe
{"boot-only", 0x90, N, 670},
{"no-align", 0x90, N, 671},