From 3916d6d89c004a2e8b59b99ec2dd0b7ae3a01972 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 6 May 2000 15:30:13 -0700 Subject: Makefile.in (gensupport.o): Compile for the host. * Makefile.in (gensupport.o): Compile for the host. (host-prefix gensuuprt.o): Remove. (genflags.o): Depend on gensupport.h and OBSTACK_H. (genattrtab.o): Likewise. (gencodes.o): Depend on gensupport.h. (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise. (genpeep.o, genattr.o, genoutput.o): Likewise. * gensupport.c (obstack, rtl_obstack): New. (init_md_reader): Initialize rtl_obstack. * gensupport.h (rtl_obstack): Declare. (message_with_line): Declare. * genattr.c: Remove all traces of obstack manipulation. * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise. * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise. * genattrtab.c (obstack, rtl_obstack): Remove. (main): Don't init rtl_obstack. * genflags.c: Likewise. * genrecog.c (message_with_line): Move ... * gensupport.c: ... here. From-SVN: r33742 --- gcc/genpeep.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gcc/genpeep.c') diff --git a/gcc/genpeep.c b/gcc/genpeep.c index b8ef9aa..dc90c73 100644 --- a/gcc/genpeep.c +++ b/gcc/genpeep.c @@ -23,15 +23,9 @@ Boston, MA 02111-1307, USA. */ #include "hconfig.h" #include "system.h" #include "rtl.h" -#include "obstack.h" #include "errors.h" #include "gensupport.h" -static struct obstack obstack; -struct obstack *rtl_obstack = &obstack; - -#define obstack_chunk_alloc xmalloc -#define obstack_chunk_free free /* While tree-walking an instruction pattern, we keep a chain of these `struct link's to record how to get down to the @@ -413,7 +407,6 @@ main (argc, argv) max_opno = -1; progname = "genpeep"; - obstack_init (rtl_obstack); if (argc <= 1) fatal ("No input file name."); -- cgit v1.1