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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: weak handling


"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   `------------------------

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