From cc69a08fbfbd64dd13ebb80b18cc83824a3c8781 Mon Sep 17 00:00:00 2001 From: deischen Date: Mon, 13 Mar 2006 00:59:51 +0000 Subject: Add compatibility symbol maps. libpthread (.so.1 and .so.2) used LIBTHREAD_1_0 as its version definition, but now needs to define its symbols in the same namespace used by libc. The compatibility hooks allows you to use libraries and binaries built and linked to libpthread before libc was built with symbol versioning. The shims can be removed if libpthread is given a version bump. Reviewed by: davidxu --- lib/libkse/thread/thr_init.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/libkse/thread/thr_init.c') diff --git a/lib/libkse/thread/thr_init.c b/lib/libkse/thread/thr_init.c index ac04336..35c4ee3 100644 --- a/lib/libkse/thread/thr_init.c +++ b/lib/libkse/thread/thr_init.c @@ -69,6 +69,11 @@ #include "libc_private.h" #include "thr_private.h" +LT10_COMPAT_PRIVATE(_libkse_debug); +LT10_COMPAT_PRIVATE(_thread_activated); +LT10_COMPAT_PRIVATE(_thread_active_threads); +LT10_COMPAT_PRIVATE(_thread_list); + int __pthread_cond_wait(pthread_cond_t *, pthread_mutex_t *); int __pthread_mutex_lock(pthread_mutex_t *); int __pthread_mutex_trylock(pthread_mutex_t *); -- cgit v1.1