From owner-freebsd-hackers Wed Oct 18 09:05:00 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA10790 for hackers-outgoing; Wed, 18 Oct 1995 09:05:00 -0700 Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id JAA10785 for ; Wed, 18 Oct 1995 09:04:57 -0700 Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0t5az8-0003vwC; Wed, 18 Oct 95 09:04 PDT Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.6.11/8.6.9) with SMTP id RAA00616; Wed, 18 Oct 1995 17:04:59 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost didn't use HELO protocol To: Bruce Evans cc: freebsd-hackers@FreeBSD.ORG, roberto@keltia.freenix.fr Subject: Re: crt0.c In-reply-to: Your message of "Thu, 19 Oct 1995 01:47:27 +1000." <199510181547.BAA03304@godzilla.zeta.org.au> Date: Wed, 18 Oct 1995 17:04:58 +0100 Message-ID: <614.814032298@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > >> Because no one noticed that _getenv() existed when the locale bloat was > >> added. The private _getenv() is to avoid linking in whatever bloat may > >> be attached to getenv() (there actually isn't much). Similarly for all > >> ... > > >BZZZT!!! Wrong. > > >The local functions, as well as the local syscall code is there so that > >it works before libc.so has been loaded. > > Oops. But we're talking about bloat in the static case. This is moot > now that a separate scrt0.o (compiled without -DDYNAMIC) is used for > the static case. Yes, I'm actually running a cleanup version at home, I have just committed the #ifdef DEBUG part of it, but more will come later. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.