aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-06-21 01:37:47 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-06-21 01:37:47 +0000
commit0f8e3849609032a71f93d9c4835d586888938d63 (patch)
treedc55a39360de7acc5107aae542f6beca8b71af76
parent91ace76da199e24409eede2518dbb741c81e82eb (diff)
downloadgcc-0f8e3849609032a71f93d9c4835d586888938d63.zip
gcc-0f8e3849609032a71f93d9c4835d586888938d63.tar.gz
gcc-0f8e3849609032a71f93d9c4835d586888938d63.tar.bz2
pa-protos.h (pa_asm_output_mi_thunk): Change third argument to HOST_WIDE_INT.
* pa-protos.h (pa_asm_output_mi_thunk): Change third argument to HOST_WIDE_INT. * pa.c (pa_asm_output_mi_thunk): Likewise. (n_deferred_plabels): Change type to size_t. (output_deferred_plabels, output_call): Use size_t instead of int. From-SVN: r54867
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/pa/pa-protos.h2
-rw-r--r--gcc/config/pa/pa.c8
3 files changed, 13 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 13d7ba7..33b331b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2002-06-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * pa-protos.h (pa_asm_output_mi_thunk): Change third argument to
+ HOST_WIDE_INT.
+ * pa.c (pa_asm_output_mi_thunk): Likewise.
+ (n_deferred_plabels): Change type to size_t.
+ (output_deferred_plabels, output_call): Use size_t instead of int.
+
2002-06-20 Richard Henderson <rth@redhat.com>
PR target/4041
diff --git a/gcc/config/pa/pa-protos.h b/gcc/config/pa/pa-protos.h
index b26b7b8..a21a383 100644
--- a/gcc/config/pa/pa-protos.h
+++ b/gcc/config/pa/pa-protos.h
@@ -163,5 +163,5 @@ extern int function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS *,
enum machine_mode,
tree, int));
-extern void pa_asm_output_mi_thunk PARAMS ((FILE *, tree, int, tree));
+extern void pa_asm_output_mi_thunk PARAMS ((FILE *, tree, HOST_WIDE_INT, tree));
#endif /* TREE_CODE */
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index bfa1c1d..7661f59 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -156,7 +156,7 @@ struct deferred_plabel GTY(())
};
static GTY((length ("n_deferred_plabels"))) struct deferred_plabel *
deferred_plabels;
-static int n_deferred_plabels = 0;
+static size_t n_deferred_plabels = 0;
/* Initialize the GCC target structure. */
@@ -4703,7 +4703,7 @@ void
output_deferred_plabels (file)
FILE *file;
{
- int i;
+ size_t i;
/* If we have deferred plabels, then we need to switch into the data
section and align it to a 4 byte boundary before we output the
deferred plabels. */
@@ -6255,7 +6255,7 @@ output_call (insn, call_dest, sibcall)
/* Don't have to worry about TARGET_PORTABLE_RUNTIME here since
we don't have any direct calls in that case. */
{
- int i;
+ size_t i;
const char *name = XSTR (call_dest, 0);
/* See if we have already put this function on the list
@@ -6506,7 +6506,7 @@ void
pa_asm_output_mi_thunk (file, thunk_fndecl, delta, function)
FILE *file;
tree thunk_fndecl;
- int delta;
+ HOST_WIDE_INT delta;
tree function;
{
const char *target_name = XSTR (XEXP (DECL_RTL (function), 0), 0);