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
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()

ddcc/klee-uclibc-0.9.33.2,skristiansson/uClibc-or1k,hjl-tools/uClibc,kraj/uClibc,OpenInkpot-archive/iplinux-uclibc,wbx-github/uclibc-ng,atgreen/uClibc-moxie,brgl/uclibc-ng,OpenInkpot-archive/iplinux-uclibc,groundwater/uClibc,gittup/uClibc,atgreen/uClibc-moxie,foss-xtensa/uClibc,skristiansson/uClibc-or1k,foss-xtensa/uClibc,groundwater/uClibc,ffainelli/uClibc,groundwater/uClibc,m-labs/uclibc-lm32,ffainelli/uClibc,brgl/uclibc-ng,brgl/uclibc-ng,gittup/uClibc,ddcc/klee-uclibc-0.9.33.2,hwoarang/uClibc,majek/uclibc-vx32,mephi42/uClibc,groundwater/uClibc,majek/uclibc-vx32,hwoarang/uClibc,wbx-github/uclibc-ng,ffainelli/uClibc,groundwater/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,hjl-tools/uClibc,mephi42/uClibc,czankel/xtensa-uclibc,hwoarang/uClibc,kraj/uclibc-ng,ndmsystems/uClibc,kraj/uClibc,majek/uclibc-vx32,wbx-github/uclibc-ng,skristiansson/uClibc-or1k,skristiansson/uClibc-or1k,m-labs/uclibc-lm32,atgreen/uClibc-moxie,kraj/uClibc,hjl-tools/uClibc,waweber/uclibc-clang,majek/uclibc-vx32,kraj/uclibc-ng,OpenInkpot-archive/iplinux-uclibc,czankel/xtensa-uclibc,ysat0/uClibc,ddcc/klee-uclibc-0.9.33.2,ddcc/klee-uclibc-0.9.33.2,ndmsystems/uClibc,ysat0/uClibc,ndmsystems/uClibc,hwoarang/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,foss-xtensa/uClibc,ysat0/uClibc,czankel/xtensa-uclibc,mephi42/uClibc,wbx-github/uclibc-ng,waweber/uclibc-clang,kraj/uClibc,kraj/uclibc-ng,ffainelli/uClibc,gittup/uClibc,OpenInkpot-archive/iplinux-uclibc,hjl-tools/uClibc,kraj/uclibc-ng,mephi42/uClibc,czankel/xtensa-uclibc,atgreen/uClibc-moxie,m-labs/uclibc-lm32,gittup/uClibc,ffainelli/uClibc,foss-xtensa/uClibc,ndmsystems/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,waweber/uclibc-clang,brgl/uclibc-ng,m-labs/uclibc-lm32,hjl-tools/uClibc,foss-for-synopsys-dwc-arc-processors/uClibc,waweber/uclibc-clang,ysat0/uClibc