ART: Clean up android_dlopen_ext() call.
Remove the unnecessary ANDROID_DLEXT_FORCE_FIXED_VADDR flag.
We do not produce oat files with non-zero minimum `p_vaddr`.
Test: Pixel 2 XL boots.
Test: m test-art-host-gtest
Change-Id: I892eb10798f3c72544d100a5968f08309b980b60
diff --git a/runtime/oat_file.cc b/runtime/oat_file.cc
index 7c320d8..af87637 100644
--- a/runtime/oat_file.cc
+++ b/runtime/oat_file.cc
@@ -1039,11 +1039,8 @@
}
#ifdef ART_TARGET_ANDROID
android_dlextinfo extinfo = {};
- extinfo.flags = ANDROID_DLEXT_FORCE_LOAD | // Force-load, don't reuse handle
- // (open oat files multiple
- // times).
- ANDROID_DLEXT_FORCE_FIXED_VADDR; // Take a non-zero vaddr as absolute
- // (non-pic boot image).
+ extinfo.flags = ANDROID_DLEXT_FORCE_LOAD; // Force-load, don't reuse handle
+ // (open oat files multiple times).
if (reservation != nullptr) {
if (!reservation->IsValid()) {
*error_msg = StringPrintf("Invalid reservation for %s", elf_filename.c_str());