From 3bccbef63effa37329f489a8ac71d8b7214e09b2 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Thu, 29 Jul 1999 18:09:33 +0000 Subject: [PATCH] Fix a cross toolchain build problem From-SVN: r28339 --- gcc/ChangeLog | 6 ++++++ gcc/config/arm/arm.c | 2 +- gcc/config/arm/arm.h | 12 +++++++----- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e8b54ac8657..b1e443879eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Thu Jul 29 19:01:58 1999 Bernd Schmidt + + * arm.h (Hint): Delete macro. + Substitute HOST_WIDE_INT for Hint in some prototypes. + * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype. + Thu Jul 29 09:21:42 1999 Nick Clifton * builtins.c (expand_builtin_setjmp): Use force_operand to diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 2a15262f098..ec2dfb1a9b2 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -68,7 +68,7 @@ static int function_really_clobbers_lr PROTO ((rtx)); static void emit_multi_reg_push PROTO ((int)); static void emit_sfm PROTO ((int, int)); static enum arm_cond_code get_arm_condition_code PROTO ((rtx)); -static int const_ok_for_op RTX_CODE_PROTO ((Hint, Rcode)); +static int const_ok_for_op RTX_CODE_PROTO ((HOST_WIDE_INT, Rcode)); /* True if we are currently building a constant table. */ int making_const_table; diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 43646ea7fa1..05a8cd0518a 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -2208,7 +2208,6 @@ struct rtx_def; #include "hwint.h" #endif -#define Hint HOST_WIDE_INT #ifndef HAVE_MACHINE_MODES #include "machmode.h" @@ -2226,8 +2225,9 @@ struct rtx_def; void arm_override_options PROTO ((void)); int use_return_insn PROTO ((int)); -int const_ok_for_arm PROTO ((Hint)); -int arm_split_constant RTX_CODE_PROTO ((Rcode, Mmode, Hint, Rtx, Rtx, int)); +int const_ok_for_arm PROTO ((HOST_WIDE_INT)); +int arm_split_constant RTX_CODE_PROTO ((Rcode, Mmode, HOST_WIDE_INT, Rtx, + Rtx, int)); Rcode arm_canonicalize_comparison RTX_CODE_PROTO ((Rcode, Rtx *)); int arm_return_in_memory PROTO ((Tree)); int legitimate_pic_operand_p PROTO ((Rtx)); @@ -2268,9 +2268,11 @@ Rcode minmax_code PROTO ((Rtx)); int adjacent_mem_locations PROTO ((Rtx, Rtx)); int load_multiple_operation PROTO ((Rtx, Mmode)); int store_multiple_operation PROTO ((Rtx, Mmode)); -int load_multiple_sequence PROTO ((Rtx *, int, int *, int *, Hint *)); +int load_multiple_sequence PROTO ((Rtx *, int, int *, int *, + HOST_WIDE_INT *)); char * emit_ldm_seq PROTO ((Rtx *, int)); -int store_multiple_sequence PROTO ((Rtx *, int, int *, int *, Hint *)); +int store_multiple_sequence PROTO ((Rtx *, int, int *, int *, + HOST_WIDE_INT *)); char * emit_stm_seq PROTO ((Rtx *, int)); int arm_valid_machine_decl_attribute PROTO ((Tree, Tree, Tree)); Rtx arm_gen_load_multiple PROTO ((int, int, Rtx, int, int, int, int, int));