This is the mail archive of the
mailing list for the GCC project.
Re: Stray definitions of xmalloc and friends?
- To: shebs at apple dot com
- Subject: Re: Stray definitions of xmalloc and friends?
- From: DJ Delorie <dj at redhat dot com>
- Date: Tue, 9 Oct 2001 21:14:23 -0400
- CC: gcc at gcc dot gnu dot org
- References: <3BC399D9.2F09B058@apple.com>
> While going through and whacking uses of "register", I noticed
> that there are three apparently-leftover definitions of xmalloc and
> other libiberty functions, in gencheck.c, gengenrtl.c, and
> gensupport.c. No longer any reason to keep these alive, right?
The gen* programs aren't linked with libiberty, because they run on
the build machine and we don't yet build a build-libiberty (see my
proposal about that, though). Thus, they must continue to provide
their own xmalloc et al functions.