Question on internal functions.
sjhill at realitydiluted.com
sjhill at realitydiluted.com
Thu Mar 9 15:45:37 UTC 2006
Peter,
I am still missing some understanding on these libc_hidden_ macros. I
think I am seeing some problem with regards to NPTL. The situation is
that for a lot of functions like:
open, close, write, waitpid, read, fcntl, fstat, lseek, llseek
and about 20 others, they have a version both in libc and libpthread.
They are asynchronous cancellation points, so if open is being called
by an application where only the C library is linked against, the
functions '__libc_[enable|disable]_asynchronous' are called. If the
application is linked against libpthread, then '__libpthread_XXX'
functions have to be called instead. What I am seeing is that for test
applications linked against libpthread, the C version functions for
open, close, etc. are being called and not the libpthread ones. I
should note that the with the exception of waitpid and fcntl above,
all of those functions are autogenerated assembly code files. Do you
have any ideas what may be going on?
-Steve
More information about the uClibc
mailing list