From owner-freebsd-hackers Wed Oct 18 08:48:09 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA09695 for hackers-outgoing; Wed, 18 Oct 1995 08:48:09 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA09690 for ; Wed, 18 Oct 1995 08:48:03 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id BAA03304; Thu, 19 Oct 1995 01:47:27 +1000 Date: Thu, 19 Oct 1995 01:47:27 +1000 From: Bruce Evans Message-Id: <199510181547.BAA03304@godzilla.zeta.org.au> To: bde@zeta.org.au, phk@critter.tfs.com Subject: Re: crt0.c Cc: freebsd-hackers@FreeBSD.ORG, roberto@keltia.freenix.fr 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. Bruce