m68k.c (init_FPA_table): Provide static prototype.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sat, 1 Dec 2001 17:40:43 +0000 (17:40 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sat, 1 Dec 2001 17:40:43 +0000 (17:40 +0000)
* m68k.c (init_FPA_table): Provide static prototype.
* mips/abi64.h (mips_function_value): Move prototype to ...
* mips-protos.h (mips_function_value): ... here.
* mips.c: Include halfpic.h.
* output.h (rdata_section): Prototype.

From-SVN: r47516

gcc/ChangeLog
gcc/config/m68k/m68k.c
gcc/config/mips/abi64.h
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/output.h

index 460b8a9d36a72b6c1b8b939622af3875a604da93..86821ff516e73423fa66446accec189c2098a204 100644 (file)
@@ -1,5 +1,11 @@
 2001-12-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
+       * m68k.c (init_FPA_table): Provide static prototype.
+       * mips/abi64.h (mips_function_value): Move prototype to ...
+       * mips-protos.h (mips_function_value): ... here.
+       * mips.c: Include halfpic.h.
+       * output.h (rdata_section): Prototype.
+
        * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
        * m88k.c (m88k_svr3_asm_out_constructor,
        m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
index fc15157cf489ab5a780c71b26fd98a700e19576c..38475f7bb9bc23a09e8eec19d0de1fa3d08d477b 100644 (file)
@@ -3264,7 +3264,8 @@ REAL_VALUE_TYPE values_FPA[38];
 
 /* This code has been fixed for cross-compilation.  */
 
-void
+static void init_FPA_table PARAMS ((void));
+static void
 init_FPA_table ()
 {
   enum machine_mode mode;
index 279874aead525e62c373ea276ffd6eeb2ddc1e0d..9109d43b633dd4007f450b9dc88d1fa04491ab8e 100644 (file)
@@ -98,10 +98,6 @@ Boston, MA 02111-1307, USA.  */
        > (2 * UNITS_PER_WORD))                                                  \
       || (int_size_in_bytes (TYPE) == -1)))
 
-#ifdef ANSI_PROTOTYPES
-union tree_node;
-#endif
-extern struct rtx_def *mips_function_value PARAMS ((union tree_node *, union tree_node *));
 #undef FUNCTION_VALUE
 #define FUNCTION_VALUE(VALTYPE, FUNC)  mips_function_value (VALTYPE, FUNC)
 
index 56dcd3a74622614167dd28f1aee126efb65dff52..a208b9126668efd1cba90194068ea1add7081e93 100644 (file)
@@ -53,7 +53,7 @@ extern struct rtx_def *       mips16_gp_pseudo_reg PARAMS ((void));
 #ifdef ASM_OUTPUT_UNDEF_FUNCTION
 extern int             mips_output_external_libcall PARAMS ((FILE *, const char *));
 #endif /* ASM_OUTPUT_UNDEF_FUNCTION */
-
+extern struct rtx_def  *mips_function_value PARAMS ((tree, tree));
 
 extern unsigned int    mips_hard_regno_nregs PARAMS ((int,
                                                       enum machine_mode));
index ae41546cdc316d3cffad106177cef764b7c5a3e2..6711b16c92727250bf0228f488a19f7a7e8bd678 100644 (file)
@@ -54,6 +54,10 @@ Boston, MA 02111-1307, USA.  */
 #include "target.h"
 #include "target-def.h"
 
+#ifdef HALF_PIC_DEBUG
+#include "halfpic.h"
+#endif
+
 #ifdef __GNU_STAB__
 #define STAB_CODE_TYPE enum __stab_debug_code
 #else
index 6d67032d51f46a6206e0401eb9c2137e8b1320fe..fee817e53b5e2250f0a05e84f0ca80b0158a8567 100644 (file)
@@ -206,6 +206,10 @@ extern void drectve_section PARAMS ((void));
 extern void sdata_section PARAMS ((void));
 #endif
 
+#ifdef RDATA_SECTION_ASM_OP
+extern void rdata_section PARAMS ((void));
+#endif
+
 #ifdef TREE_CODE
 /* Tell assembler to change to section NAME for DECL.
    If DECL is NULL, just switch to section NAME.