OSDN Git Service

* c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Sep 2002 17:22:14 +0000 (17:22 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Sep 2002 17:22:14 +0000 (17:22 +0000)
instead of the *-protos.h file directly.
* t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
* darwin.c (machopic_output_stub): Move prototype ...
* darwin-protos.h (machopic_output_stub): ... here.
* rs6000-protos.h (machopic_output_stub): Don't declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57201 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/c4x/c4x-c.c
gcc/config/c4x/c4x.c
gcc/config/c4x/t-c4x
gcc/config/darwin-protos.h
gcc/config/darwin.c
gcc/config/i370/i370-c.c
gcc/config/i370/t-i370
gcc/config/m32r/m32r.c
gcc/config/rs6000/rs6000-protos.h
gcc/config/v850/t-v850

index c9c74bc..2235b8d 100644 (file)
@@ -1,3 +1,12 @@
+2002-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
+       instead of the *-protos.h file directly.
+       * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
+       * darwin.c (machopic_output_stub): Move prototype ...
+       * darwin-protos.h (machopic_output_stub): ... here.
+       * rs6000-protos.h (machopic_output_stub): Don't declare.
+
 2002-09-16  Richard Henderson  <rth@redhat.com>
 
        * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
index 5a680f5..36d78fb 100644 (file)
@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA.  */
 #include "toplev.h"
 #include "cpplib.h"
 #include "c-pragma.h"
-#include "c4x-protos.h"
+#include "tm_p.h"
 
 static int c4x_parse_pragma PARAMS ((const char *, tree *, tree *));
 
index 0ea79a6..c394fe3 100644 (file)
@@ -46,7 +46,7 @@ Boston, MA 02111-1307, USA.  */
 #include "ggc.h"
 #include "cpplib.h"
 #include "toplev.h"
-#include "c4x-protos.h"
+#include "tm_p.h"
 #include "target.h"
 #include "target-def.h"
 
index aee0a7b..d1a83fb 100644 (file)
@@ -7,8 +7,8 @@ LIB1ASMFUNCS = _divsf3 _divsi3 _udivsi3 _umodsi3 _modsi3 _mulsi3 \
 
 TARGET_LIBGCC2_CFLAGS = -Dexit=unused_exit
 
-c4x-c.o: $(srcdir)/config/c4x/c4x-c.c $(srcdir)/config/c4x/c4x-protos.h \
-    $(CONFIG_H) $(SYSTEM_H) cpplib.h $(TREE_H) c-pragma.h toplev.h
+c4x-c.o: $(srcdir)/config/c4x/c4x-c.c $(CONFIG_H) $(SYSTEM_H) cpplib.h \
+  $(TREE_H) c-pragma.h toplev.h $(TM_P_H) 
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
 
 MULTILIB_OPTIONS = m30 msmall mmemparm
index efce90a..129c636 100644 (file)
@@ -112,6 +112,7 @@ extern void machopic_lazy_symbol_ptr_section PARAMS ((void));
 extern void machopic_nl_symbol_ptr_section PARAMS ((void));
 extern void machopic_symbol_stub_section PARAMS ((void));
 extern void machopic_picsymbol_stub_section PARAMS ((void));
+extern void machopic_output_stub PARAMS ((FILE *, const char *, const char *));
 extern void darwin_exception_section PARAMS ((void));
 extern void darwin_eh_frame_section PARAMS ((void));
 extern void darwin_globalize_label PARAMS ((FILE *, const char *));
index 670a57a..fc9c758 100644 (file)
@@ -38,9 +38,7 @@ Boston, MA 02111-1307, USA.  */
 #include "function.h"
 #include "ggc.h"
 #include "langhooks.h"
-#include "darwin-protos.h"
-
-extern void machopic_output_stub PARAMS ((FILE *, const char *, const char *));
+#include "tm_p.h"
 
 static int machopic_data_defined_p PARAMS ((const char *));
 static void update_non_lazy_ptrs PARAMS ((const char *));
index d2344bc..5651a56 100644 (file)
@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA.  */
 #include "toplev.h"
 #include "cpplib.h"
 #include "c-pragma.h"
-#include "i370-protos.h"
+#include "tm_p.h"
 
 #ifdef TARGET_HLASM
 
index 049d84f..34758d8 100644 (file)
@@ -1,3 +1,3 @@
-i370-c.o: $(srcdir)/config/i370/i370-c.c $(srcdir)/config/i370/i370-protos.h \
-    $(CONFIG_H) $(SYSTEM_H) cpplib.h $(TREE_H) c-pragma.h toplev.h
+i370-c.o: $(srcdir)/config/i370/i370-c.c $(CONFIG_H) $(SYSTEM_H) cpplib.h \
+  $(TREE_H) c-pragma.h toplev.h $(TM_P_H)
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
index 0909917..c3bd1a0 100644 (file)
@@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA.  */
 #include "recog.h"
 #include "toplev.h"
 #include "ggc.h"
-#include "m32r-protos.h"
+#include "tm_p.h"
 #include "target.h"
 #include "target-def.h"
 
index 4209211..7dc0f9f 100644 (file)
@@ -190,8 +190,6 @@ extern void debug_stack_info PARAMS ((rs6000_stack_t *));
 extern const char *output_isel PARAMS ((rtx *));
 extern int vrsave_operation PARAMS ((rtx, enum machine_mode));
 
-extern void machopic_output_stub PARAMS ((FILE *, const char *, const char *));
-
 /* Declare functions in rs6000-c.c */
 
 #ifdef GCC_CPPLIB_H
index 030f043..bd07abe 100644 (file)
@@ -87,6 +87,6 @@ INSTALL_LIBGCC    = install-multilib
 
 TCFLAGS = -mno-app-regs -msmall-sld -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow
 
-v850-c.o: $(srcdir)/config/v850/v850-c.c $(RTL_H) $(TREE_H) $(CONFIG_H)
+v850-c.o: $(srcdir)/config/v850/v850-c.c $(RTL_H) $(TREE_H) $(CONFIG_H) $(TM_P_H)
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<