Merge "Log dlopen failures caused by text relocations"
This commit is contained in:
commit
11c2179d46
@ -3108,6 +3108,7 @@ bool soinfo::link_image(const soinfo_list_t& global_group, const soinfo_list_t&
|
|||||||
if (has_text_relocations) {
|
if (has_text_relocations) {
|
||||||
// Fail if app is targeting sdk version > 22
|
// Fail if app is targeting sdk version > 22
|
||||||
if (get_application_target_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());
|
DL_ERR("%s: has text relocations", get_realpath());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user