]> gcc.gnu.org Git - gcc.git/commitdiff
Makefile.in (misc.o): Depend on langhooks.h.
authorRichard Henderson <rth@redhat.com>
Wed, 17 Oct 2001 17:19:18 +0000 (10:19 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 17 Oct 2001 17:19:18 +0000 (10:19 -0700)
ada/
        * Makefile.in (misc.o): Depend on langhooks.h.
        * misc.c: Include it.
        (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
        (LANG_HOOKS_DECODE_OPTION): New.
        (lang_hooks): Use LANG_HOOKS_INITIALIZER.
f/
        * Make-lang.in (f/com.o): Depend on langhooks.h.
        * com.c: Include it.
        (LANG_HOOKS_INIT, LANG_HOOKS_FINISH): New.
        (LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_DECODE_OPTION): New.
        (lang_hooks): Use LANG_HOOKS_INITIALIZER.
java/
        * Make-lang.in (java/lang.o): Depend on langhooks.h.

From-SVN: r46318

gcc/ada/ChangeLog
gcc/ada/Makefile.in
gcc/ada/misc.c
gcc/f/ChangeLog
gcc/f/Make-lang.in
gcc/f/com.c
gcc/java/ChangeLog
gcc/java/Make-lang.in

index 1001d667418787409429dc20154cedd1e362c289..035d94c326b764620abd71c3f31a64c33d083b5f 100644 (file)
@@ -1,3 +1,11 @@
+2001-10-17  Richard Henderson  <rth@redhat.com>
+
+       * Makefile.in (misc.o): Depend on langhooks.h.
+       * misc.c: Include it.
+       (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
+       (LANG_HOOKS_DECODE_OPTION): New.
+       (lang_hooks): Use LANG_HOOKS_INITIALIZER.
+
 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
 
        * trans.c (tree_transform): Adjust to recent change in
index df2a68c1d7e44d776f253d60225f773ef702c763..a65214229907160ce51fc0de4c981b670d2136a5 100644 (file)
@@ -2585,8 +2585,9 @@ decl.o : decl.c $(CONFIG_H) $(TREE_H) $(srcdir)/../flags.h \
 misc.o : misc.c $(CONFIG_H) $(TREE_H) $(RTL_H) $(srcdir)/../expr.h \
    ../insn-codes.h ../insn-flags.h ../insn-config.h $(srcdir)/../recog.h \
    $(srcdir)/../flags.h $(srcdir)/../diagnostic.h $(srcdir)/../output.h \
-   $(srcdir)/../except.h ../tm_p.h ada.h types.h atree.h nlists.h elists.h \
-   sinfo.h einfo.h namet.h stringt.h uintp.h fe.h $(ADA_TREE_H) gigi.h
+   $(srcdir)/../except.h ../tm_p.h ../langhooks.h ada.h types.h atree.h \
+   nlists.h elists.h sinfo.h einfo.h namet.h stringt.h uintp.h fe.h \
+   $(ADA_TREE_H) gigi.h
 
 targtyps.o : targtyps.c $(CONFIG_H) ada.h types.h atree.h nlists.h elists.h \
    uintp.h sinfo.h einfo.h namet.h snames.h stringt.h urealp.h fe.h \
index d1982ececc721161209c5d65157e48657841efac..df99c0a1b8fd34646a96397534dc8826518ad119 100644 (file)
@@ -6,7 +6,7 @@
  *                                                                          *
  *                           C Implementation File                          *
  *                                                                          *
- *                             $Revision$
+ *                             $Revision: 1.4 $
  *                                                                          *
  *          Copyright (C) 1992-2001 Free Software Foundation, Inc.          *
  *                                                                          *
@@ -52,6 +52,7 @@
 #include "output.h"
 #include "except.h"
 #include "tm_p.h"
+#include "langhooks.h"
 
 #include "ada.h"
 #include "types.h"
@@ -108,9 +109,15 @@ const char *gnat_tree_code_name[] = {
 #undef DEFTREECODE
 
 /* Structure giving our language-specific hooks.  */
-struct lang_hooks lang_hooks = {gnat_init, 0, gnat_init_options,
-                               gnat_decode_option, 0,
-                               {0, 0, 0, 0, 0, 0, 0, 0}};
+
+#undef  LANG_HOOKS_INIT
+#define LANG_HOOKS_INIT                        gnat_init
+#undef  LANG_HOOKS_INIT_OPTIONS
+#define LANG_HOOKS_INIT_OPTIONS                gnat_init_options
+#undef  LANG_HOOKS_DECODE_OPTION
+#define LANG_HOOKS_DECODE_OPTION       gnat_decode_option
+
+struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER;
 
 /* gnat standard argc argv */
 
index 74288f3612d7015bebfc621cd84507f320403ef9..f1234e3673ae3a9699fbb76e6c7484e26e62d096 100644 (file)
@@ -1,3 +1,11 @@
+2001-10-17  Richard Henderson  <rth@redhat.com>
+
+       * Make-lang.in (f/com.o): Depend on langhooks.h.
+       * com.c: Include it.
+       (LANG_HOOKS_INIT, LANG_HOOKS_FINISH): New.
+       (LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_DECODE_OPTION): New.
+       (lang_hooks): Use LANG_HOOKS_INITIALIZER.
+
 Sun Oct  7 12:27:54 2001  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * bad.c (_ffebad_message_, ffebad_messages_): Const-ify.
index df0a4d13779f15ef9005fdf7ff8a98706a5fff5e..194d21f7af914ee8198a9f2b0a00d734986ac517 100644 (file)
@@ -421,7 +421,8 @@ f/com.o: f/com.c f/proj.h $(CONFIG_H) $(SYSTEM_H) flags.h $(RTL_H) $(TREE_H) \
  f/malloc.h f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \
  f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h \
  f/intrin.def f/lab.h f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \
- f/name.h f/expr.h f/implic.h f/src.h f/st.h $(GGC_H) toplev.h diagnostic.h
+ f/name.h f/expr.h f/implic.h f/src.h f/st.h $(GGC_H) toplev.h diagnostic.h \
+ langhooks.h
 f/data.o: f/data.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/data.h f/bld.h f/bld-op.def \
  f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \
  f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \
index c086c489e1ab3a2d8cb2db1764b19ec9235cd72e..16050f69b2c8e028ba9ff89e6145e8fc34ed22fb 100644 (file)
@@ -90,6 +90,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "convert.h"
 #include "ggc.h"
 #include "diagnostic.h"
+#include "langhooks.h"
 #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */
 
 #define FFECOM_GCC_INCLUDE 1   /* Enable -I. */
@@ -14634,11 +14635,16 @@ static void ffe_init PARAMS ((void));
 static void ffe_finish PARAMS ((void));
 static void ffe_init_options PARAMS ((void));
 
-struct lang_hooks lang_hooks = {ffe_init,
-                               ffe_finish,
-                               ffe_init_options,
-                               ffe_decode_option,
-                               NULL /* post_options */};
+#undef  LANG_HOOKS_INIT
+#define LANG_HOOKS_INIT                        ffe_init
+#undef  LANG_HOOKS_FINISH
+#define LANG_HOOKS_FINISH              ffe_finish
+#undef  LANG_HOOKS_INIT_OPTIONS
+#define LANG_HOOKS_INIT_OPTIONS                ffe_init_options
+#undef  LANG_HOOKS_DECODE_OPTION
+#define LANG_HOOKS_DECODE_OPTION       ffe_decode_option
+
+struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER;
 
 /* used by print-tree.c */
 
index dbcccbd11f9d3264bff8c47c1c1d57dd316edade..7f8e1e3c4728a05e66e8ed8424278848e5120f01 100644 (file)
@@ -1,3 +1,7 @@
+2001-10-17  Richard Henderson  <rth@redhat.com>
+
+       * Make-lang.in (java/lang.o): Depend on langhooks.h.
+
 2001-10-15  Alexandre Petit-Bianco  <apbianco@redhat.com>
 
        * lang.c (langhooks.h): Included.
index 67ae036b163914a20f9eeb13fe35998bf33314f0..233bf6811c398e2882165c20638bca8d20aa83ae 100644 (file)
@@ -268,7 +268,7 @@ java/jcf-write.o: java/jcf-write.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \
 java/jv-scan.o: java/jv-scan.c $(CONFIG_H) $(SYSTEM_H) version.h
 java/jvgenmain.o: java/jvgenmain.c $(CONFIG_H) $(JAVA_TREE_H) $(SYSTEM_H)
 java/lang.o: java/lang.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h input.h \
-  toplev.h $(SYSTEM_H) $(RTL_H) $(EXPR_H) diagnostic.h
+  toplev.h $(SYSTEM_H) $(RTL_H) $(EXPR_H) diagnostic.h langhooks.h
 java/mangle.o: java/mangle.c $(CONFIG_H) java/jcf.h $(JAVA_TREE_H) $(SYSTEM_H) \
   toplev.h $(GGC_H)
 java/mangle_name.o: java/mangle_name.c $(CONFIG_H) java/jcf.h $(JAVA_TREE_H) \
This page took 0.081745 seconds and 5 git commands to generate.