$ nm /lib/libc-2.2.4.so | grep vfork
000b4220 T __vfork
000b4220 W vfork
There's no __libc_vfork, so there's nothing we can do here.
Just don't supply our own version.
Not at all sure if this is correct.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@303
weak_alias (__pread64, pread64)
weak_alias (__pwrite64, pwrite64)
weak_alias(__fork, fork)
-//weak_alias(__vfork, vfork)
+
/*--------------------------------------------------*/
//void __res_state ( void ) { unimp("__res_state"); }
//void __send ( void ) { unimp("__send"); }
//void __sigaction ( void ) { unimp("__sigaction"); }
-void __vfork ( void ) { unimp("__vfork"); }
+//--//void __vfork ( void ) { unimp("__vfork"); }
//void __wait ( void ) { unimp("__wait"); }
//void __write ( void ) { unimp("__write"); }
//void _pthread_cleanup_pop ( void ) { unimp("_pthread_cleanup_pop"); }
__attribute__((weak)) void recvmsg ( void ) { vgPlain_unimp("recvmsg"); }
//__attribute__((weak)) void sendmsg ( void ) { vgPlain_unimp("sendmsg"); }
__attribute__((weak)) void tcdrain ( void ) { vgPlain_unimp("tcdrain"); }
-__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
+//--//__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
__attribute__((weak)) void pthread_attr_getguardsize ( void )
{ vgPlain_unimp("pthread_attr_getguardsize"); }
weak_alias (__pread64, pread64)
weak_alias (__pwrite64, pwrite64)
weak_alias(__fork, fork)
-//weak_alias(__vfork, vfork)
+
/*--------------------------------------------------*/
//void __res_state ( void ) { unimp("__res_state"); }
//void __send ( void ) { unimp("__send"); }
//void __sigaction ( void ) { unimp("__sigaction"); }
-void __vfork ( void ) { unimp("__vfork"); }
+//--//void __vfork ( void ) { unimp("__vfork"); }
//void __wait ( void ) { unimp("__wait"); }
//void __write ( void ) { unimp("__write"); }
//void _pthread_cleanup_pop ( void ) { unimp("_pthread_cleanup_pop"); }
__attribute__((weak)) void recvmsg ( void ) { vgPlain_unimp("recvmsg"); }
//__attribute__((weak)) void sendmsg ( void ) { vgPlain_unimp("sendmsg"); }
__attribute__((weak)) void tcdrain ( void ) { vgPlain_unimp("tcdrain"); }
-__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
+//--//__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
__attribute__((weak)) void pthread_attr_getguardsize ( void )
{ vgPlain_unimp("pthread_attr_getguardsize"); }
weak_alias (__pread64, pread64)
weak_alias (__pwrite64, pwrite64)
weak_alias(__fork, fork)
-//weak_alias(__vfork, vfork)
+
/*--------------------------------------------------*/
//void __res_state ( void ) { unimp("__res_state"); }
//void __send ( void ) { unimp("__send"); }
//void __sigaction ( void ) { unimp("__sigaction"); }
-void __vfork ( void ) { unimp("__vfork"); }
+//--//void __vfork ( void ) { unimp("__vfork"); }
//void __wait ( void ) { unimp("__wait"); }
//void __write ( void ) { unimp("__write"); }
//void _pthread_cleanup_pop ( void ) { unimp("_pthread_cleanup_pop"); }
__attribute__((weak)) void recvmsg ( void ) { vgPlain_unimp("recvmsg"); }
//__attribute__((weak)) void sendmsg ( void ) { vgPlain_unimp("sendmsg"); }
__attribute__((weak)) void tcdrain ( void ) { vgPlain_unimp("tcdrain"); }
-__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
+//--//__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
__attribute__((weak)) void pthread_attr_getguardsize ( void )
{ vgPlain_unimp("pthread_attr_getguardsize"); }