]> gcc.gnu.org Git - gcc.git/commitdiff
Link in print-rtl.o to all gen* programs except gengenrtl
authorMichael Meissner <meissner@cygnus.com>
Wed, 15 Apr 1998 09:23:14 +0000 (09:23 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Wed, 15 Apr 1998 09:23:14 +0000 (09:23 +0000)
From-SVN: r19222

gcc/ChangeLog
gcc/Makefile.in
gcc/genattr.c
gcc/gencodes.c
gcc/genconfig.c
gcc/genemit.c
gcc/genoutput.c
gcc/genpeep.c
gcc/genrecog.c

index 79918acdad7d24fb3822a565f78833b583bc9162..821a51df1e7f64ddd20e4af61f2f430b2f10f15d 100644 (file)
@@ -1,3 +1,12 @@
+Wed Apr 15 12:10:18 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
+       (gen{extract,peep,opinit,output}): Ditto.
+
+       * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
+       global definition so print-rtl.o can be linked in.
+       * gen{peep,recog}.c (insn_attr_name): Ditto.
+
 Tue Apr 14 07:30:57 1998  K. Richard Pixley  <rich@kyoto.noir.com>
 
        * fixincludes: discard empty C++ comments, as found in sys/time.h
index e7590bc78f4f1e750e3a9259a154150e50eaa4f5..8c26e9b05c6d4a46638faf557a32e02f3a2836ed 100644 (file)
@@ -1612,65 +1612,65 @@ $(MD_FILE): $(MD_DEPS)
        $(MD_CPP) $(MD_CPPFLAGS) $(md_file) | sed 's/^# /; /g' > tmp-$@
        mv tmp-$@ $@
 
-genconfig : genconfig.o $(HOST_RTL) $(HOST_LIBDEPS)
+genconfig : genconfig.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBDEPS)
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
-         genconfig.o $(HOST_RTL) $(HOST_LIBS)
+         genconfig.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBS)
 
 genconfig.o : genconfig.c $(RTL_H) $(build_xm_file) system.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genconfig.c
 
-genflags : genflags.o $(HOST_RTL) $(HOST_LIBDEPS)
+genflags : genflags.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBDEPS)
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
-        genflags.o $(HOST_RTL) $(HOST_LIBS)
+        genflags.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBS)
 
 genflags.o : genflags.c $(RTL_H) $(build_xm_file) system.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genflags.c
 
-gencodes : gencodes.o $(HOST_RTL) $(HOST_LIBDEPS)
+gencodes : gencodes.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBDEPS)
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
-        gencodes.o $(HOST_RTL) $(HOST_LIBS)
+        gencodes.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBS)
 
 gencodes.o : gencodes.c $(RTL_H) $(build_xm_file) system.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/gencodes.c
 
-genemit : genemit.o $(HOST_RTL) $(HOST_LIBDEPS)
+genemit : genemit.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBDEPS)
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
-        genemit.o $(HOST_RTL) $(HOST_LIBS)
+        genemit.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBS)
 
 genemit.o : genemit.c $(RTL_H) $(build_xm_file) system.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genemit.c
 
-genopinit : genopinit.o $(HOST_RTL) $(HOST_LIBDEPS)
+genopinit : genopinit.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBDEPS)
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
-        genopinit.o $(HOST_RTL) $(HOST_LIBS)
+        genopinit.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBS)
 
 genopinit.o : genopinit.c $(RTL_H) $(build_xm_file) system.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genopinit.c
 
-genrecog : genrecog.o $(HOST_RTL) $(HOST_LIBDEPS)
+genrecog : genrecog.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBDEPS)
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
-        genrecog.o $(HOST_RTL) $(HOST_LIBS)
+        genrecog.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBS)
 
 genrecog.o : genrecog.c $(RTL_H) $(build_xm_file) system.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genrecog.c
 
-genextract : genextract.o $(HOST_RTL) $(HOST_LIBDEPS)
+genextract : genextract.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBDEPS)
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
-        genextract.o $(HOST_RTL) $(HOST_LIBS)
+        genextract.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBS)
 
 genextract.o : genextract.c $(RTL_H) $(build_xm_file) system.h insn-config.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genextract.c
 
-genpeep : genpeep.o $(HOST_RTL) $(HOST_LIBDEPS)
+genpeep : genpeep.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBDEPS)
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
-        genpeep.o $(HOST_RTL) $(HOST_LIBS)
+        genpeep.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBS)
 
 genpeep.o : genpeep.c $(RTL_H) $(build_xm_file) system.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genpeep.c
 
-genattr : genattr.o $(HOST_RTL) $(HOST_LIBDEPS)
+genattr : genattr.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBDEPS)
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
-        genattr.o $(HOST_RTL) $(HOST_LIBS)
+        genattr.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBS)
 
 genattr.o : genattr.c $(RTL_H) $(build_xm_file) system.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genattr.c
@@ -1682,9 +1682,9 @@ genattrtab : genattrtab.o $(HOST_RTL) $(HOST_PRINT) $(HOST_RTLANAL) $(HOST_LIBDE
 genattrtab.o : genattrtab.c $(RTL_H)  $(build_xm_file) system.h insn-config.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genattrtab.c
 
-genoutput : genoutput.o $(HOST_RTL) $(HOST_LIBDEPS)
+genoutput : genoutput.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBDEPS)
        $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \
-        genoutput.o $(HOST_RTL) $(HOST_LIBS)
+        genoutput.o $(HOST_RTL) $(HOST_PRINT) $(HOST_LIBS)
 
 genoutput.o : genoutput.c $(RTL_H) $(build_xm_file) system.h
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genoutput.c
index fe3457c45ec9cd87510d86d177b5c81a089f438d..7f900be699415e2e742560e106b37a68e3da6c2a 100644 (file)
@@ -35,6 +35,9 @@ char *xmalloc PROTO((unsigned));
 static void fatal ();
 void fancy_abort PROTO((void));
 
+/* Define this so we can link with print-rtl.o to get debug_rtx function.  */
+char **insn_name_ptr = 0;
+
 /* A range of values.  */
 
 struct range
index 677c3446aeaa3da74119164c3047eb9cef693aa5..c74ae0a6e9f4b2a1fa0716bd07e40cbd3d1a0c57 100644 (file)
@@ -37,6 +37,9 @@ char *xmalloc PROTO((unsigned));
 static void fatal ();
 void fancy_abort PROTO((void));
 
+/* Define this so we can link with print-rtl.o to get debug_rtx function.  */
+char **insn_name_ptr = 0;
+
 static int insn_code_number;
 
 static void gen_insn PROTO((rtx));
index ffcb5c38b8864bbb220f36a783f2a339173ae26b..ce85c7a52d2a9a2d5aee36eeed3a10b5cf43b029 100644 (file)
@@ -31,6 +31,9 @@ struct obstack *rtl_obstack = &obstack;
 #define obstack_chunk_alloc xmalloc
 #define obstack_chunk_free free
 
+/* Define this so we can link with print-rtl.o to get debug_rtx function.  */
+char **insn_name_ptr = 0;
+
 /* flags to determine output of machine description dependent #define's.  */
 static int max_recog_operands;  /* Largest operand number seen.  */
 static int max_dup_operands;    /* Largest number of match_dup in any insn.  */
index 62094845fade6fe4eeed8a5b8e05d4e37fdabadd..d239ba65febbad9d8519f3524c50a9ec2f317798 100644 (file)
@@ -34,6 +34,9 @@ char *xmalloc PROTO((unsigned));
 static void fatal ();
 void fancy_abort PROTO((void));
 
+/* Define this so we can link with print-rtl.o to get debug_rtx function.  */
+char **insn_name_ptr = 0;
+
 static int max_opno;
 static int max_dup_opno;
 static int register_constraints;
index 85cca69c540292c8bb7bc7453e2694335aa34a40..490ecb47c5af9890d510c885681a1c2585fde8ee 100644 (file)
@@ -115,6 +115,9 @@ static void mybcopy ();
 static void mybzero ();
 static int n_occurrences PROTO((int, char *));
 
+/* Define this so we can link with print-rtl.o to get debug_rtx function.  */
+char **insn_name_ptr = 0;
+
 /* insns in the machine description are assigned sequential code numbers
    that are used by insn-recog.c (produced by genrecog) to communicate
    to insn-output.c (produced by this program).  */
index ab21d401fa1ae0b083ea6098f8e95ebe45ecf7be..805e9efc5ae489a21e49c912a896d4a4bbe218ae 100644 (file)
@@ -30,6 +30,9 @@ struct obstack *rtl_obstack = &obstack;
 #define obstack_chunk_alloc xmalloc
 #define obstack_chunk_free free
 
+/* Define this so we can link with print-rtl.o to get debug_rtx function.  */
+char **insn_name_ptr = 0;
+
 /* While tree-walking an instruction pattern, we keep a chain
    of these `struct link's to record how to get down to the
    current position.  In each one, POS is the operand number,
index 6c158d6ce8f6a88c632f53a5c5fd18d6b7316cc0..b015f81d5e111ecef4169386df8874abdd30be0c 100644 (file)
@@ -57,6 +57,9 @@ struct obstack *rtl_obstack = &obstack;
 #define obstack_chunk_alloc xmalloc
 #define obstack_chunk_free free
 
+/* Define this so we can link with print-rtl.o to get debug_rtx function.  */
+char **insn_name_ptr = 0;
+
 /* Data structure for a listhead of decision trees.  The alternatives
    to a node are kept in a doublely-linked list so we can easily add nodes
    to the proper place when merging.  */
This page took 0.082725 seconds and 5 git commands to generate.