diff options
author | Richard Henderson <rth@cygnus.com> | 2000-05-06 15:30:13 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-05-06 15:30:13 -0700 |
commit | 3916d6d89c004a2e8b59b99ec2dd0b7ae3a01972 (patch) | |
tree | 51eb3b35d4bfb3e523bdf3eb12a95f8b995170ba /gcc/genextract.c | |
parent | efdbc6f8fd6bfb88a8dfe05a3e8bf0c1347e2f4d (diff) | |
download | gcc-3916d6d89c004a2e8b59b99ec2dd0b7ae3a01972.zip gcc-3916d6d89c004a2e8b59b99ec2dd0b7ae3a01972.tar.gz gcc-3916d6d89c004a2e8b59b99ec2dd0b7ae3a01972.tar.bz2 |
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
Diffstat (limited to 'gcc/genextract.c')
-rw-r--r-- | gcc/genextract.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/genextract.c b/gcc/genextract.c index fea0492..1b65360 100644 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -23,16 +23,10 @@ Boston, MA 02111-1307, USA. */ #include "hconfig.h" #include "system.h" #include "rtl.h" -#include "obstack.h" #include "errors.h" #include "insn-config.h" #include "gensupport.h" -static struct obstack obstack; -struct obstack *rtl_obstack = &obstack; - -#define obstack_chunk_alloc xmalloc -#define obstack_chunk_free free /* This structure contains all the information needed to describe one set of extractions methods. Each method may be used by more than @@ -396,7 +390,6 @@ main (argc, argv) const char *name; progname = "genextract"; - obstack_init (rtl_obstack); if (argc <= 1) fatal ("No input file name."); |