diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-09-16 17:22:14 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-09-16 17:22:14 +0000 |
commit | 245ff137371bf12598b8c9932140052851b359d7 (patch) | |
tree | c903e070d29998aa0cdd92e907d8cb96670d6476 | |
parent | ac520ec919a6794a954d007ba1987a5cd73b8239 (diff) | |
download | gcc-245ff137371bf12598b8c9932140052851b359d7.zip gcc-245ff137371bf12598b8c9932140052851b359d7.tar.gz gcc-245ff137371bf12598b8c9932140052851b359d7.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/c4x/c4x-c.c | 2 | ||||
-rw-r--r-- | gcc/config/c4x/c4x.c | 2 | ||||
-rw-r--r-- | gcc/config/c4x/t-c4x | 4 | ||||
-rw-r--r-- | gcc/config/darwin-protos.h | 1 | ||||
-rw-r--r-- | gcc/config/darwin.c | 4 | ||||
-rw-r--r-- | gcc/config/i370/i370-c.c | 2 | ||||
-rw-r--r-- | gcc/config/i370/t-i370 | 4 | ||||
-rw-r--r-- | gcc/config/m32r/m32r.c | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/v850/t-v850 | 2 |
11 files changed, 20 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c9c74bc..2235b8d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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__. diff --git a/gcc/config/c4x/c4x-c.c b/gcc/config/c4x/c4x-c.c index 5a680f5..36d78fb 100644 --- a/gcc/config/c4x/c4x-c.c +++ b/gcc/config/c4x/c4x-c.c @@ -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 *)); diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c index 0ea79a6..c394fe3 100644 --- a/gcc/config/c4x/c4x.c +++ b/gcc/config/c4x/c4x.c @@ -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" diff --git a/gcc/config/c4x/t-c4x b/gcc/config/c4x/t-c4x index aee0a7b..d1a83fb 100644 --- a/gcc/config/c4x/t-c4x +++ b/gcc/config/c4x/t-c4x @@ -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 diff --git a/gcc/config/darwin-protos.h b/gcc/config/darwin-protos.h index efce90af..129c636 100644 --- a/gcc/config/darwin-protos.h +++ b/gcc/config/darwin-protos.h @@ -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 *)); diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 670a57a..fc9c758 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -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 *)); diff --git a/gcc/config/i370/i370-c.c b/gcc/config/i370/i370-c.c index d2344bc..5651a56 100644 --- a/gcc/config/i370/i370-c.c +++ b/gcc/config/i370/i370-c.c @@ -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 diff --git a/gcc/config/i370/t-i370 b/gcc/config/i370/t-i370 index 049d84f..34758d8 100644 --- a/gcc/config/i370/t-i370 +++ b/gcc/config/i370/t-i370 @@ -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) $< diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index 0909917..c3bd1a0 100644 --- a/gcc/config/m32r/m32r.c +++ b/gcc/config/m32r/m32r.c @@ -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" diff --git a/gcc/config/rs6000/rs6000-protos.h b/gcc/config/rs6000/rs6000-protos.h index 4209211..7dc0f9f 100644 --- a/gcc/config/rs6000/rs6000-protos.h +++ b/gcc/config/rs6000/rs6000-protos.h @@ -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 diff --git a/gcc/config/v850/t-v850 b/gcc/config/v850/t-v850 index 030f043..bd07abe 100644 --- a/gcc/config/v850/t-v850 +++ b/gcc/config/v850/t-v850 @@ -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) $< |