Problems with symbols from libc_nonshared (fwd)

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Mon Mar 29 16:22:00 GMT 1999


Roland McGrath <roland@frob.com> writes:

|> > The standard guarantees that function pointers are unique.  Forcing stat
|> > et.al to be local would violate this, in case a shared library returns a
|> > pointer to one of them.
|> 
|> Then what would violate the standards would be returning such an address
|> from a libc function.  If this is not done, it is not a problem.

libc does not have this problem, but we are talking about other shared
libraries.  You'll never know what they will do.

Andreas.



More information about the Libc-hacker mailing list