Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 1998 12:35:28 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        John Polstra <jdp@polstra.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Elf linker question.
Message-ID:  <Pine.BSF.3.95.981124123339.8419E-100000@current1.whistle.com>
In-Reply-To: <XFMail.981124122616.jdp@polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 24 Nov 1998, John Polstra wrote:

> It worked just because none of the functions in the missing libraries
> were actually called.  Maybe they can't possibly be called in your
> program.  But the linker doesn't know that (because there are
> references to some of them even if those references aren't used).  So
> it has to be safe and force you to satisfy all external references.
> The a.out linker didn't, and I think it was a bug.

The trouble with that is that ALL libraries end up being loaded into
memeory whenever one program requires any of them.
they also all get traversed on program startup which keeps them all in
memory..
right?

not so good for small memory systems.

julian



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.981124123339.8419E-100000>