summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/m68k/m68k.c3
-rw-r--r--gcc/config/mips/abi64.h4
-rw-r--r--gcc/config/mips/mips-protos.h2
-rw-r--r--gcc/config/mips/mips.c4
-rw-r--r--gcc/output.h4
6 files changed, 17 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 460b8a9d36a..86821ff516e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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 &&
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index fc15157cf48..38475f7bb9b 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -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;
diff --git a/gcc/config/mips/abi64.h b/gcc/config/mips/abi64.h
index 279874aead5..9109d43b633 100644
--- a/gcc/config/mips/abi64.h
+++ b/gcc/config/mips/abi64.h
@@ -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)
diff --git a/gcc/config/mips/mips-protos.h b/gcc/config/mips/mips-protos.h
index 56dcd3a7462..a208b912666 100644
--- a/gcc/config/mips/mips-protos.h
+++ b/gcc/config/mips/mips-protos.h
@@ -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));
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index ae41546cdc3..6711b16c927 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -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
diff --git a/gcc/output.h b/gcc/output.h
index 6d67032d51f..fee817e53b5 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -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.