This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with symbols from libc_nonshared (fwd)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]