Problems with symbols from libc_nonshared (fwd)

H.J. Lu hjl@lucon.org
Mon Mar 29 08:16:00 GMT 1999


> 
> On 29 Mar 1999 12:39:30 +0200, Andreas Schwab wrote:
> >Zack Weinberg <zack@rabi.columbia.edu> writes:
> >
> >|> This is a bugreport forwarded from Debian.  I think we need to use a versio
> >n
> >|> 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.
> 
> Um?  I don't see how.  All it would do is prevent e.g. libreadline from

My guess is you can no longer override stat () in libreadline.

> accidentally exporting stat().
> 

We may have to modify the linker not to include libc_nonshared.a for
-shared.


-- 
H.J. Lu (hjl@gnu.org)



More information about the Libc-hacker mailing list