Replaced -nostdlib by -nodefaultlibs such that constructors are executed at shared library load time. Replaced _init() function in drd_pthread_intercepts.c by a function with a constructor attribute in order to increase portability.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7883 a5019735-40e9-0310-863c-91ae7b9d1cf9
2 files changed