From 70622e24effd147a1d3e6206607f73ccdba33e8f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 22 May 2015 13:43:22 +0000 Subject: Revert "main/llvm: update patchset, switch to cmake, perform two-stage build with a minimal bootstrap compile of clang, add clang extras, update package list to split out clang documentation" This reverts commit 81d1b43c5af39e14cb91232c4afcb7839b96f5a1. --- main/llvm/compiler-rt-3.6-musl-no-dlvsym.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 main/llvm/compiler-rt-3.6-musl-no-dlvsym.patch (limited to 'main/llvm/compiler-rt-3.6-musl-no-dlvsym.patch') diff --git a/main/llvm/compiler-rt-3.6-musl-no-dlvsym.patch b/main/llvm/compiler-rt-3.6-musl-no-dlvsym.patch new file mode 100644 index 0000000000..444f4e073b --- /dev/null +++ b/main/llvm/compiler-rt-3.6-musl-no-dlvsym.patch @@ -0,0 +1,19 @@ +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 +@@ -21,13 +21,13 @@ namespace __interception { + bool GetRealFunctionAddress(const char *func_name, uptr *func_addr, + uptr real, uptr wrapper) { + *func_addr = (uptr)dlsym(RTLD_NEXT, func_name); + 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); + } + #endif // !defined(__ANDROID__) + + } // namespace __interception -- cgit v1.2.3