Commit 245ff137 by Kaveh R. Ghazi Committed by Kaveh Ghazi

c4x-c.c, [...]: Include tm_p.h instead of the *-protos.h file directly.

	* 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.

From-SVN: r57201
parent ac520ec9
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> 2002-09-16 Richard Henderson <rth@redhat.com>
* c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__. * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
......
...@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h" #include "toplev.h"
#include "cpplib.h" #include "cpplib.h"
#include "c-pragma.h" #include "c-pragma.h"
#include "c4x-protos.h" #include "tm_p.h"
static int c4x_parse_pragma PARAMS ((const char *, tree *, tree *)); static int c4x_parse_pragma PARAMS ((const char *, tree *, tree *));
......
...@@ -46,7 +46,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -46,7 +46,7 @@ Boston, MA 02111-1307, USA. */
#include "ggc.h" #include "ggc.h"
#include "cpplib.h" #include "cpplib.h"
#include "toplev.h" #include "toplev.h"
#include "c4x-protos.h" #include "tm_p.h"
#include "target.h" #include "target.h"
#include "target-def.h" #include "target-def.h"
......
...@@ -7,8 +7,8 @@ LIB1ASMFUNCS = _divsf3 _divsi3 _udivsi3 _umodsi3 _modsi3 _mulsi3 \ ...@@ -7,8 +7,8 @@ LIB1ASMFUNCS = _divsf3 _divsi3 _udivsi3 _umodsi3 _modsi3 _mulsi3 \
TARGET_LIBGCC2_CFLAGS = -Dexit=unused_exit TARGET_LIBGCC2_CFLAGS = -Dexit=unused_exit
c4x-c.o: $(srcdir)/config/c4x/c4x-c.c $(srcdir)/config/c4x/c4x-protos.h \ c4x-c.o: $(srcdir)/config/c4x/c4x-c.c $(CONFIG_H) $(SYSTEM_H) cpplib.h \
$(CONFIG_H) $(SYSTEM_H) cpplib.h $(TREE_H) c-pragma.h toplev.h $(TREE_H) c-pragma.h toplev.h $(TM_P_H)
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
MULTILIB_OPTIONS = m30 msmall mmemparm MULTILIB_OPTIONS = m30 msmall mmemparm
......
...@@ -112,6 +112,7 @@ extern void machopic_lazy_symbol_ptr_section PARAMS ((void)); ...@@ -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_nl_symbol_ptr_section PARAMS ((void));
extern void machopic_symbol_stub_section PARAMS ((void)); extern void machopic_symbol_stub_section PARAMS ((void));
extern void machopic_picsymbol_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_exception_section PARAMS ((void));
extern void darwin_eh_frame_section PARAMS ((void)); extern void darwin_eh_frame_section PARAMS ((void));
extern void darwin_globalize_label PARAMS ((FILE *, const char *)); extern void darwin_globalize_label PARAMS ((FILE *, const char *));
...@@ -38,9 +38,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -38,9 +38,7 @@ Boston, MA 02111-1307, USA. */
#include "function.h" #include "function.h"
#include "ggc.h" #include "ggc.h"
#include "langhooks.h" #include "langhooks.h"
#include "darwin-protos.h" #include "tm_p.h"
extern void machopic_output_stub PARAMS ((FILE *, const char *, const char *));
static int machopic_data_defined_p PARAMS ((const char *)); static int machopic_data_defined_p PARAMS ((const char *));
static void update_non_lazy_ptrs PARAMS ((const char *)); static void update_non_lazy_ptrs PARAMS ((const char *));
......
...@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h" #include "toplev.h"
#include "cpplib.h" #include "cpplib.h"
#include "c-pragma.h" #include "c-pragma.h"
#include "i370-protos.h" #include "tm_p.h"
#ifdef TARGET_HLASM #ifdef TARGET_HLASM
......
i370-c.o: $(srcdir)/config/i370/i370-c.c $(srcdir)/config/i370/i370-protos.h \ i370-c.o: $(srcdir)/config/i370/i370-c.c $(CONFIG_H) $(SYSTEM_H) cpplib.h \
$(CONFIG_H) $(SYSTEM_H) cpplib.h $(TREE_H) c-pragma.h toplev.h $(TREE_H) c-pragma.h toplev.h $(TM_P_H)
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
...@@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */
#include "recog.h" #include "recog.h"
#include "toplev.h" #include "toplev.h"
#include "ggc.h" #include "ggc.h"
#include "m32r-protos.h" #include "tm_p.h"
#include "target.h" #include "target.h"
#include "target-def.h" #include "target-def.h"
......
...@@ -190,8 +190,6 @@ extern void debug_stack_info PARAMS ((rs6000_stack_t *)); ...@@ -190,8 +190,6 @@ extern void debug_stack_info PARAMS ((rs6000_stack_t *));
extern const char *output_isel PARAMS ((rtx *)); extern const char *output_isel PARAMS ((rtx *));
extern int vrsave_operation PARAMS ((rtx, enum machine_mode)); 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 */ /* Declare functions in rs6000-c.c */
#ifdef GCC_CPPLIB_H #ifdef GCC_CPPLIB_H
......
...@@ -87,6 +87,6 @@ INSTALL_LIBGCC = install-multilib ...@@ -87,6 +87,6 @@ INSTALL_LIBGCC = install-multilib
TCFLAGS = -mno-app-regs -msmall-sld -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow 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) $< $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment