Problems with symbols from libc_nonshared (fwd)
Andreas Schwab
schwab@issan.informatik.uni-dortmund.de
Mon Mar 29 15:52:00 GMT 1999
Roland McGrath <roland@frob.com> writes:
|> > Zack Weinberg <zack@rabi.columbia.edu> writes:
|> >
|> > |> This is a bugreport forwarded from Debian. I think we need to use a version
|> > |> map to force libc_nonshared.a symbols local when building shared libraries,
|> > |> sort of like what HJ did for libgcc.a in his egcs/Linux patches.
|> >
|> > That would violate the C standard.
|>
|> Huh? Please explain.
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.
Andreas.
More information about the Libc-hacker
mailing list