mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
NPTL support. The behaviour of weak vs strong symbols seems to have changed in glibc-2.3.2. This caused problems in coregrind/vg_intercept.c, wherein strong symbols in vg_libpthread.c were intended to override weak symbols in vg_intercept.c, in order to give alternative thread-safe implementations of some functions, poll(), select(), etc. The change involves moving the nonblocking implementations of poll, etc into vg_intercept.c, renaming them to (eg) VGR_(poll), and routing all calls to poll to VGR_(poll) [dually for other such fns]. This means even single-threaded programs now use these functions, but that doesn't strike me as harmful. MERGE TO STABLE, if it doesn't break anything git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1559