OSDN Git Service

make sure we store the function pointers to the real push/pop functions rather than...
authorMike Frysinger <vapier@gentoo.org>
Thu, 15 May 2008 02:03:13 +0000 (02:03 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 15 May 2008 02:03:13 +0000 (02:03 -0000)
commitfa8710bf5c7b0aaf7d687d9831fbd01b71da85ae
tree1a008a4e5e7a95d161396cd494dd3825acdb091e
parentdc064d58ba1276fd2a6ad5d541846e142f8ec116
make sure we store the function pointers to the real push/pop functions rather than the public weak ones so that the libc->libpthread forwarding code is able to work properly

this should fix the case where libpthread.so is not linked directly, but rather via another library:
 app -> links to libfoo.so -> links to libpthread.so

and any function (like readdir_r) that does:
 __UCLIBC_MUTEX_LOCK()
 __UCLIBC_MUTEX_UNLOCK()
libpthread/linuxthreads.old/pthread.c