Re: What I suspect

Linus Torvalds (torvalds@transmeta.com)
Tue, 7 Dec 1999 23:35:36 -0800 (PST)


On Tue, 7 Dec 1999, David S. Miller wrote:
>
> Let's say you have another shared library which overrides a weak
> symbol in something you've "pre-linked", you have to check this.

You shouldn't need that for the regular "load libc" case. When you do the
link, you have full knowledge of whether the program you linked tried to
override any weak symbols.

Or what am I missing?

Sure, a new libc may come along, and introduce _new_ weak symbols that
happen to clash with something you pre-linked. And yes, in such a case the
new weak symbols would not be overridden in the pre-linked case. But is
that really even an issue?

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/