From 8068786ae67835291521e52f39c695e40f3ad20d Mon Sep 17 00:00:00 2001 From: Dmitriy Ivanov Date: Fri, 9 Oct 2015 13:58:46 -0700 Subject: [PATCH] Remove textrels support for platform libs Bug: http://b/20013628 Change-Id: Ia9382c7113e09bb6aed65072543e4ebe33026cf8 --- linker/linker.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/linker/linker.cpp b/linker/linker.cpp index 39f618d89..5f4e35c66 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -3102,9 +3102,7 @@ bool soinfo::link_image(const soinfo_list_t& global_group, const soinfo_list_t& #if !defined(__LP64__) if (has_text_relocations) { // Fail if app is targeting sdk version > 22 - // 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) { + if (get_application_target_sdk_version() > 22) { DL_ERR("%s: has text relocations", get_realpath()); return false; } -- 2.11.0