summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.c10
2 files changed, 8 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 376c33de22b..466ea85473f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2002-01-20 Kazu Hirata <kazu@hxi.com>
+ * config/h8300/h8300.c (function_arg): Update a comment.
+
+2002-01-20 Kazu Hirata <kazu@hxi.com>
+
* config/h8300/h8300.md: Update the comments at the beginning
of the file.
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index c30855188dc..890d7e5d8cb 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -793,10 +793,6 @@ h8300_pr_saveall (pfile)
pragma_saveall = 1;
}
-/* If the next arg with MODE and TYPE is to be passed in a register, return
- the rtx to represent where it is passed. CUM represents the state after
- the last argument. NAMED is not used. */
-
static const char *const hand_list[] =
{
"__main",
@@ -817,8 +813,10 @@ static const char *const hand_list[] =
0,
};
-/* Return an RTX to represent where a value with mode MODE will be returned
- from a function. If the result is 0, the argument is pushed. */
+/* If the next function argument with MODE and TYPE is to be passed in
+ a register, return a reg RTX for the hard register in which to pass
+ the argument. CUM represents the state after the last argument.
+ If the argument is to be pushed, NULL_RTX is returned. */
rtx
function_arg (cum, mode, type, named)