Commit 22036103 by Kaveh R. Ghazi Committed by Kaveh Ghazi

m68k.c (init_FPA_table): Provide static prototype.

	* 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
parent ede75ee8
2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 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. * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* m88k.c (m88k_svr3_asm_out_constructor, * m88k.c (m88k_svr3_asm_out_constructor,
m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN && m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
......
...@@ -3264,7 +3264,8 @@ REAL_VALUE_TYPE values_FPA[38]; ...@@ -3264,7 +3264,8 @@ REAL_VALUE_TYPE values_FPA[38];
/* This code has been fixed for cross-compilation. */ /* This code has been fixed for cross-compilation. */
void static void init_FPA_table PARAMS ((void));
static void
init_FPA_table () init_FPA_table ()
{ {
enum machine_mode mode; enum machine_mode mode;
......
...@@ -98,10 +98,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -98,10 +98,6 @@ Boston, MA 02111-1307, USA. */
> (2 * UNITS_PER_WORD)) \ > (2 * UNITS_PER_WORD)) \
|| (int_size_in_bytes (TYPE) == -1))) || (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 #undef FUNCTION_VALUE
#define FUNCTION_VALUE(VALTYPE, FUNC) mips_function_value (VALTYPE, FUNC) #define FUNCTION_VALUE(VALTYPE, FUNC) mips_function_value (VALTYPE, FUNC)
......
...@@ -53,7 +53,7 @@ extern struct rtx_def * mips16_gp_pseudo_reg PARAMS ((void)); ...@@ -53,7 +53,7 @@ extern struct rtx_def * mips16_gp_pseudo_reg PARAMS ((void));
#ifdef ASM_OUTPUT_UNDEF_FUNCTION #ifdef ASM_OUTPUT_UNDEF_FUNCTION
extern int mips_output_external_libcall PARAMS ((FILE *, const char *)); extern int mips_output_external_libcall PARAMS ((FILE *, const char *));
#endif /* ASM_OUTPUT_UNDEF_FUNCTION */ #endif /* ASM_OUTPUT_UNDEF_FUNCTION */
extern struct rtx_def *mips_function_value PARAMS ((tree, tree));
extern unsigned int mips_hard_regno_nregs PARAMS ((int, extern unsigned int mips_hard_regno_nregs PARAMS ((int,
enum machine_mode)); enum machine_mode));
......
...@@ -54,6 +54,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -54,6 +54,10 @@ Boston, MA 02111-1307, USA. */
#include "target.h" #include "target.h"
#include "target-def.h" #include "target-def.h"
#ifdef HALF_PIC_DEBUG
#include "halfpic.h"
#endif
#ifdef __GNU_STAB__ #ifdef __GNU_STAB__
#define STAB_CODE_TYPE enum __stab_debug_code #define STAB_CODE_TYPE enum __stab_debug_code
#else #else
......
...@@ -206,6 +206,10 @@ extern void drectve_section PARAMS ((void)); ...@@ -206,6 +206,10 @@ extern void drectve_section PARAMS ((void));
extern void sdata_section PARAMS ((void)); extern void sdata_section PARAMS ((void));
#endif #endif
#ifdef RDATA_SECTION_ASM_OP
extern void rdata_section PARAMS ((void));
#endif
#ifdef TREE_CODE #ifdef TREE_CODE
/* Tell assembler to change to section NAME for DECL. /* Tell assembler to change to section NAME for DECL.
If DECL is NULL, just switch to section NAME. If DECL is NULL, just switch to section NAME.
......
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