public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Stray definitions of xmalloc and friends?
@ 2001-10-09 17:46 Stan Shebs
  2001-10-09 18:14 ` DJ Delorie
  2001-10-09 18:18 ` Zack Weinberg
  0 siblings, 2 replies; 3+ messages in thread
From: Stan Shebs @ 2001-10-09 17:46 UTC (permalink / raw)
  To: gcc

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?

Stan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Stray definitions of xmalloc and friends?
  2001-10-09 17:46 Stray definitions of xmalloc and friends? Stan Shebs
@ 2001-10-09 18:14 ` DJ Delorie
  2001-10-09 18:18 ` Zack Weinberg
  1 sibling, 0 replies; 3+ messages in thread
From: DJ Delorie @ 2001-10-09 18:14 UTC (permalink / raw)
  To: shebs; +Cc: gcc

> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Stray definitions of xmalloc and friends?
  2001-10-09 17:46 Stray definitions of xmalloc and friends? Stan Shebs
  2001-10-09 18:14 ` DJ Delorie
@ 2001-10-09 18:18 ` Zack Weinberg
  1 sibling, 0 replies; 3+ messages in thread
From: Zack Weinberg @ 2001-10-09 18:18 UTC (permalink / raw)
  To: Stan Shebs; +Cc: gcc

On Tue, Oct 09, 2001 at 05:44:13PM -0700, Stan Shebs wrote:
> 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?

As we still don't have a build libiberty, no, those are still
required.

Wanna fix it?  There's at least two different build-libiberty patches
floating around, they just need testing under appropriately
pathological conditions.

zw

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-09 18:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-09 17:46 Stray definitions of xmalloc and friends? Stan Shebs
2001-10-09 18:14 ` DJ Delorie
2001-10-09 18:18 ` Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).