From owner-freebsd-current Tue Nov 24 12:40:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA03908 for freebsd-current-outgoing; Tue, 24 Nov 1998 12:40:55 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA03896 for ; Tue, 24 Nov 1998 12:40:54 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id MAA13431; Tue, 24 Nov 1998 12:35:59 -0800 (PST) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdF13429; Tue Nov 24 20:35:54 1998 Date: Tue, 24 Nov 1998 12:35:28 -0800 (PST) From: Julian Elischer To: John Polstra cc: current@FreeBSD.ORG Subject: Re: Elf linker question. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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