Merge "Log dlopen failures caused by text relocations"
diff --git a/linker/linker.cpp b/linker/linker.cpp
index 4e899c3..406cdee 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -3108,6 +3108,7 @@
   if (has_text_relocations) {
     // Fail if app is targeting sdk version > 22
     if (get_application_target_sdk_version() > 22) {
+      PRINT("%s: has text relocations", get_realpath());
       DL_ERR("%s: has text relocations", get_realpath());
       return false;
     }