diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-04-08 07:27:38 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-04-08 07:27:38 +0000 |
commit | 64ccbc9931b1483b76dfa5c4ded875a3f8881a28 (patch) | |
tree | 2d6ce2dd20cea01177b812cce1a4ad5f24e5c338 /gcc/config | |
parent | 4410d49162691a1aa453303e0b66d1198a6bb0ae (diff) | |
download | gcc-64ccbc9931b1483b76dfa5c4ded875a3f8881a28.zip gcc-64ccbc9931b1483b76dfa5c4ded875a3f8881a28.tar.gz gcc-64ccbc9931b1483b76dfa5c4ded875a3f8881a28.tar.bz2 |
configure.in (host_xm_file, [...]): Include hwint.h.
* configure.in (host_xm_file, build_xm_file): Include hwint.h.
Use case statements instead of "if test -a ... -a ... -a ..."
* machmode.h: Don't define HOST_WIDE_INT, etc. Wrap use of
HOST_WIDE_INT in #ifdef.
* mips.h: Include hwint.h instead of providing definitions for
HOST_WIDE_INT, etc. Wrap uses of HOST_WIDE_INT in #ifdef.
From-SVN: r26291
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/mips/mips.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 4358a70..d28e26a 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -162,27 +162,17 @@ extern struct rtx_def *embedded_pic_fnaddr_rtx; /* function address */ extern int mips_string_length; /* length of strings for mips16 */ extern struct rtx_def *mips16_gp_pseudo_rtx; /* psuedo reg holding $gp */ -/* Functions within mips.c that we reference. Some of these return type - HOST_WIDE_INT, so define that here. This is a copy of code in machmode.h. +/* Functions within mips.c that we reference. Some of these return + type HOST_WIDE_INT, so define that here. */ - ??? It would be good to try to put this as common code someplace. */ - -#ifndef HOST_BITS_PER_WIDE_INT - -#if HOST_BITS_PER_LONG > HOST_BITS_PER_INT -#define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG -#define HOST_WIDE_INT long -#else -#define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_INT -#define HOST_WIDE_INT int -#endif - -#endif +#include "hwint.h" extern int arith32_operand (); extern int arith_operand (); extern int cmp_op (); +#ifdef HOST_WIDE_INT extern HOST_WIDE_INT compute_frame_size (); +#endif extern int const_float_1_operand (); extern void expand_block_move (); extern int equality_op (); @@ -205,7 +195,9 @@ extern void mips_asm_file_start (); extern int mips_can_use_return_insn (); extern int mips_const_double_ok (); extern void mips_count_memory_refs (); +#ifdef HOST_WIDE_INT extern HOST_WIDE_INT mips_debugger_offset (); +#endif extern void mips_declare_object (); extern int mips_epilogue_delay_slots (); extern void mips_expand_epilogue (); |