Merge "Log dlopen failures caused by text relocations"

This commit is contained in:
Dimitry Ivanov 2015-10-13 22:50:05 +00:00 committed by Gerrit Code Review
commit 11c2179d46

View File

@ -3108,6 +3108,7 @@ bool soinfo::link_image(const soinfo_list_t& global_group, const soinfo_list_t&
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;
}