aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-04-09 21:15:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-04-09 21:15:28 +0000
commitb2a27b57c688f4ff5bc65b10ea884ab6597af2d9 (patch)
treee48978175eaacfac9280c63974188d2eac64784b
parent7869e9bda6687ece24b66c1ae435f7ae5f40fec8 (diff)
parent180fd7d11a61762c392e023eb6a1359a34b330dd (diff)
downloadbionic-b2a27b57c688f4ff5bc65b10ea884ab6597af2d9.tar.gz
Merge "Fix Bionic dlfcn.dladdr_libc test case for 64bit binary translations" into pie-cts-dev
-rw-r--r--tests/dlfcn_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dlfcn_test.cpp b/tests/dlfcn_test.cpp
index 7d9abf926..ac3b0fe12 100644
--- a/tests/dlfcn_test.cpp
+++ b/tests/dlfcn_test.cpp
@@ -975,16 +975,16 @@ TEST(dlfcn, dlopen_executable_by_absolute_path) {
}
#if defined (__aarch64__)
-#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib/arm64/"
+#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib64/arm64/"
#elif defined (__arm__)
#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib/arm/"
#elif defined (__i386__)
#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib/x86/"
#elif defined (__x86_64__)
-#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib/x86_64/"
+#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib64/x86_64/"
#elif defined (__mips__)
#if defined(__LP64__)
-#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib/mips64/"
+#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib64/mips64/"
#else
#define ALTERNATE_PATH_TO_SYSTEM_LIB "/system/lib/mips/"
#endif