Date: Wed, 25 Sep 1996 23:30:14 -0700 From: Julian Elischer <julian@whistle.com> To: dg@root.com Cc: current@freebsd.org Subject: Re: BLOAT in minimal programs Message-ID: <324A22F6.167EB0E7@whistle.com> References: <199609260620.XAA00219@root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David Greenman wrote: > > ... > >THIS IS NOT MINIMAL! > >I DID NOT WANT ALL THIS CRAP! > >why oh why did I get malloc? > > Because atexit() uses it to remember exit callouts (see crt0.c). so why isn't atexit in libc? I certainly didn't call it.. of course I haven't checked.. it might well be there.. > > >vfprintf? > >__CurrentRuneLocale ? > >hell it doesn't even contain a STRING let alone a default nationality! > > I think this is all because malloc (or something in crt0.c) calls a stdio > funtion like printf either directly or indirectly via a perror() or equivilent. > Of course Runes comes in because of vfprintf, etc, etc. so do we have a way of telling cc to link with a more sensible crt0? surely we can do something.. howabout split crt0.. ? > > -DG > > David Greenman > Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?324A22F6.167EB0E7>