From owner-freebsd-hackers Mon Jul 24 23:48: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by hub.freebsd.org (Postfix) with ESMTP id A476D37BAC1 for ; Mon, 24 Jul 2000 23:47:55 -0700 (PDT) (envelope-from jazepeda@pacbell.net) Received: from ppp-207-214-149-234.snrf01.pacbell.net ([207.214.149.234]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FY80042UQQ1UG@mta5.snfc21.pbi.net> for hackers@freebsd.org; Mon, 24 Jul 2000 23:44:26 -0700 (PDT) Date: Mon, 24 Jul 2000 23:45:45 -0700 (PDT) From: Alex Zepeda Subject: Re: ELF rtld and environment variables... In-reply-to: <200007250123.SAA04929@vashon.polstra.com> X-Sender: alex@zippy.pacbell.net To: hackers@freebsd.org Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 24 Jul 2000, John Polstra wrote: > Glad you liked the idea! :-) Well imagine if Joe user gets a Linux binary or a.out binary to run. Bam, it doesn't run, and one'd have to check each file, and unset the variables. Or forgo any user-feedback. :( > Well, there is a different reason for each of the dynamic linkers. > > FreeBSD ELF: It's required by the ELF specification. > > FreeBSD a.out: Backward compatibility. > > Linux ELF: Because it's part of Linux and that's just what it does. I can understand the logic for using said variables for FreeBSD ELF stuff, but for the rest of them, I figure we're not actually the native environment. Hmm. Anywho the topic of caching shlib symbols came up in discussion as a possible way speed up loading of programs. Makes me wonder if it would be worth it.. - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message