|
From: <sv...@va...> - 2013-06-02 18:08:16
|
petarj 2013-06-02 19:08:04 +0100 (Sun, 02 Jun 2013)
New Revision: 13417
Log:
mips64: disable intercepting the spinlock function
This change disables intercepting pthread_spin_lock() for MIPS64, similar to
r13190 for MIPS32. Used in DRD and Helgrind as a workaround for the issue
#311690.
Modified files:
trunk/configure.in
Modified: trunk/configure.in (+3 -2)
===================================================================
--- trunk/configure.in 2013-06-02 18:23:43 +01:00 (rev 13416)
+++ trunk/configure.in 2013-06-02 19:08:04 +01:00 (rev 13417)
@@ -2165,9 +2165,10 @@
AM_CONDITIONAL([HAVE_PTHREAD_SPINLOCK],
[test x$ac_cv_func_pthread_spin_lock = xyes])
-if test x$VGCONF_PLATFORM_PRI_CAPS = xMIPS32_LINUX ; then
+if test x$VGCONF_PLATFORM_PRI_CAPS = xMIPS32_LINUX \
+ -o x$VGCONF_PLATFORM_PRI_CAPS = xMIPS64_LINUX ; then
AC_DEFINE([DISABLE_PTHREAD_SPINLOCK_INTERCEPT], 1,
- [Disable intercept pthread_spin_lock() on MIPS32.])
+ [Disable intercept pthread_spin_lock() on MIPS32 and MIPS64.])
fi
#----------------------------------------------------------------------------
|