Merge "Sync with upstream NetBSD lib/libc/regex." into mnc-dr-dev
diff --git a/linker/linker.cpp b/linker/linker.cpp
index faacd49..c99042f 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -2937,6 +2937,7 @@
     // TODO (dimitry): remove != __ANDROID_API__ check once http://b/20020312 is fixed
     if (get_application_target_sdk_version() != __ANDROID_API__
         && get_application_target_sdk_version() > 22) {
+      PRINT("%s: has text relocations", get_realpath());
       DL_ERR("%s: has text relocations", get_realpath());
       return false;
     }