]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Don't mask libc's vfork / __vfork:
authorJulian Seward <jseward@acm.org>
Tue, 21 May 2002 00:51:21 +0000 (00:51 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 21 May 2002 00:51:21 +0000 (00:51 +0000)
   $ 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

coregrind/arch/x86-linux/vg_libpthread.c
coregrind/arch/x86-linux/vg_libpthread_unimp.c
coregrind/vg_libpthread.c
coregrind/vg_libpthread_unimp.c
vg_libpthread.c
vg_libpthread_unimp.c

index 960d3013bda1e30e33ba055c1e43b292fde5a47c..572f33aea0489b08acc3268deed023d58ab0ba0c 100644 (file)
@@ -1730,7 +1730,7 @@ strong_alias(send, __send)
 weak_alias (__pread64, pread64)
 weak_alias (__pwrite64, pwrite64)
 weak_alias(__fork, fork)
-//weak_alias(__vfork, vfork)
+
 
 
 /*--------------------------------------------------*/
index 66c586e7dbd3f98381f00cfd80f6044fc746f84d..01c299e2a9844ea4429219df7bef30e5f8f8d024 100644 (file)
@@ -72,7 +72,7 @@ void __libc_current_sigrtmin ( void )  { unimp("__libc_current_sigrtmin"); }
 //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"); }
@@ -208,7 +208,7 @@ __attribute__((weak)) void recvfrom ( void ) { vgPlain_unimp("recvfrom"); }
 __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"); }
index 960d3013bda1e30e33ba055c1e43b292fde5a47c..572f33aea0489b08acc3268deed023d58ab0ba0c 100644 (file)
@@ -1730,7 +1730,7 @@ strong_alias(send, __send)
 weak_alias (__pread64, pread64)
 weak_alias (__pwrite64, pwrite64)
 weak_alias(__fork, fork)
-//weak_alias(__vfork, vfork)
+
 
 
 /*--------------------------------------------------*/
index 66c586e7dbd3f98381f00cfd80f6044fc746f84d..01c299e2a9844ea4429219df7bef30e5f8f8d024 100644 (file)
@@ -72,7 +72,7 @@ void __libc_current_sigrtmin ( void )  { unimp("__libc_current_sigrtmin"); }
 //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"); }
@@ -208,7 +208,7 @@ __attribute__((weak)) void recvfrom ( void ) { vgPlain_unimp("recvfrom"); }
 __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"); }
index 960d3013bda1e30e33ba055c1e43b292fde5a47c..572f33aea0489b08acc3268deed023d58ab0ba0c 100644 (file)
@@ -1730,7 +1730,7 @@ strong_alias(send, __send)
 weak_alias (__pread64, pread64)
 weak_alias (__pwrite64, pwrite64)
 weak_alias(__fork, fork)
-//weak_alias(__vfork, vfork)
+
 
 
 /*--------------------------------------------------*/
index 66c586e7dbd3f98381f00cfd80f6044fc746f84d..01c299e2a9844ea4429219df7bef30e5f8f8d024 100644 (file)
@@ -72,7 +72,7 @@ void __libc_current_sigrtmin ( void )  { unimp("__libc_current_sigrtmin"); }
 //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"); }
@@ -208,7 +208,7 @@ __attribute__((weak)) void recvfrom ( void ) { vgPlain_unimp("recvfrom"); }
 __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"); }