summaryrefslogtreecommitdiff
path: root/gcc/genconfig.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-06 22:30:13 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-06 22:30:13 +0000
commit96d905e54aa10708be91d109782d9718ae6d2415 (patch)
tree51eb3b35d4bfb3e523bdf3eb12a95f8b995170ba /gcc/genconfig.c
parent41d97855537eb82afe92fd74f982bc012626b8db (diff)
downloadgcc-96d905e54aa10708be91d109782d9718ae6d2415.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33742 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genconfig.c')
-rw-r--r--gcc/genconfig.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/genconfig.c b/gcc/genconfig.c
index 077216292e9..a18f896a5b9 100644
--- a/gcc/genconfig.c
+++ b/gcc/genconfig.c
@@ -24,15 +24,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
/* flags to determine output of machine description dependent #define's. */
static int max_recog_operands; /* Largest operand number seen. */
@@ -282,7 +276,6 @@ main (argc, argv)
rtx desc;
progname = "genconfig";
- obstack_init (rtl_obstack);
if (argc <= 1)
fatal ("No input file name.");