27 lines
960 B
Diff
27 lines
960 B
Diff
|
From 108370f850e5efd18f4989370cdc6ea6a2f74206 Mon Sep 17 00:00:00 2001
|
||
|
From: Wolfgang Hommel <wolfgang.hommel@unibw.de>
|
||
|
Date: Thu, 29 Aug 2019 09:55:04 +0200
|
||
|
Subject: [PATCH] Adds FORCE_PTHREAD_NONVER flag for platforms where pthread
|
||
|
functions are not intercepted
|
||
|
|
||
|
---
|
||
|
src/libfaketime.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/libfaketime.c b/src/libfaketime.c
|
||
|
index 5e7ebdf..b70a3d3 100644
|
||
|
--- a/src/libfaketime.c
|
||
|
+++ b/src/libfaketime.c
|
||
|
@@ -3157,7 +3157,7 @@ int pthread_cond_timedwait_232(pthread_cond_t *cond, pthread_mutex_t *mutex, con
|
||
|
}
|
||
|
|
||
|
__asm__(".symver pthread_cond_timedwait_225, pthread_cond_timedwait@GLIBC_2.2.5");
|
||
|
-#ifdef __ARM_ARCH
|
||
|
+#if defined __ARM_ARCH || defined FORCE_PTHREAD_NONVER
|
||
|
__asm__(".symver pthread_cond_timedwait_232, pthread_cond_timedwait@@");
|
||
|
__asm__(".symver pthread_cond_init_232, pthread_cond_init@@");
|
||
|
__asm__(".symver pthread_cond_destroy_232, pthread_cond_destroy@@");
|
||
|
--
|
||
|
2.21.0
|
||
|
|