diff options
Diffstat (limited to 'main/llvm/compiler-rt-0001-musl-no-dlvsym.patch')
-rw-r--r-- | main/llvm/compiler-rt-0001-musl-no-dlvsym.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/llvm/compiler-rt-0001-musl-no-dlvsym.patch b/main/llvm/compiler-rt-0001-musl-no-dlvsym.patch new file mode 100644 index 0000000000..f5761f5ee6 --- /dev/null +++ b/main/llvm/compiler-rt-0001-musl-no-dlvsym.patch @@ -0,0 +1,25 @@ +From dba6719feee1aab8d4bf881faa7a19b0920af261 Mon Sep 17 00:00:00 2001 +From: Travis Tilley <ttilley@gmail.com> +Date: Tue, 28 Apr 2015 20:24:19 -0400 +Subject: [PATCH 1/2] musl-no-dlvsym.patch + +--- + lib/interception/interception_linux.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/interception/interception_linux.cc b/lib/interception/interception_linux.cc +index 6e908ac..7fcf2a6 100644 +--- a/lib/interception/interception_linux.cc ++++ b/lib/interception/interception_linux.cc +@@ -24,7 +24,7 @@ bool GetRealFunctionAddress(const char *func_name, uptr *func_addr, + return real == wrapper; + } + +-#if !defined(__ANDROID__) // android does not have dlvsym ++#if 0 // !defined(__ANDROID__) // android does not have dlvsym + void *GetFuncAddrVer(const char *func_name, const char *ver) { + return dlvsym(RTLD_NEXT, func_name, ver); + } +-- +2.1.4 + |