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
This commit is contained in:
Kaveh R. Ghazi 2001-12-01 17:40:43 +00:00 committed by Kaveh Ghazi
parent ede75ee868
commit 2203610302
6 changed files with 17 additions and 6 deletions

View 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 &&

View 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;

View 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)

View 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));

View 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

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