weak handling

Ulrich Drepper drepper@redhat.com
Wed Jun 7 20:54:00 GMT 2000


"H . J . Lu" <hjl@lucon.org> writes:

> > I could be wrong. What will happen to those libc symbols defined in
> > the dynamic linker used for bootstrap? I thought those symbols were
> > weak in ld.so and would be overridden by the strong ones in libc.so.
>
> Also I guess you have to deal with libpthread using a different
> scheme.

No, in both cases.  ld.so comes always after libc in the search path
and libc always comes after libpthread.  Everything just falls into
place.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-hacker mailing list