summaryrefslogtreecommitdiffstats
path: root/libelf
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2015-11-20 13:52:13 -0800
committerChih-Hung Hsieh <chh@google.com>2015-11-20 13:52:13 -0800
commite223eb95c4f3df36a7c24c3b9a4dfdeec06ac15d (patch)
treee46b967c44e4b5453d9806497102436df1396db6 /libelf
parent1aa3db0923daf1cd2a430d05f48b0c3680ccae17 (diff)
downloadandroid_external_elfutils-e223eb95c4f3df36a7c24c3b9a4dfdeec06ac15d.tar.gz
android_external_elfutils-e223eb95c4f3df36a7c24c3b9a4dfdeec06ac15d.tar.bz2
android_external_elfutils-e223eb95c4f3df36a7c24c3b9a4dfdeec06ac15d.zip
Disable clang for arm64 where local __thread is used.
clang/llvm for aarch64 generates relocation references to local symbols and that is not supported by Android dynamic linker. BUG: 25642296 Change-Id: If99aca50002eef4cce7735c6defef2fcb76f5a9b
Diffstat (limited to 'libelf')
-rwxr-xr-xlibelf/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/libelf/Android.mk b/libelf/Android.mk
index 9fc71ace..1c0195c4 100755
--- a/libelf/Android.mk
+++ b/libelf/Android.mk
@@ -160,6 +160,9 @@ endif # linux
include $(CLEAR_VARS)
+# b/25642296, local __thread variable does not work with arm64 clang/llvm.
+LOCAL_CLANG_arm64 := false
+
LOCAL_SRC_FILES := $(LIBELF_SRC_FILES)
LOCAL_C_INCLUDES := \