aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-06-30 17:30:32 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-06-30 17:30:32 +0000
commitec097612bcc64d6a0cc887994bf3a62970a6bc30 (patch)
treed298a870ccf110112e7db312215245d033da67cc
parente37f7da796be5814407c97d93f6744a47254ef26 (diff)
downloadgcc-ec097612bcc64d6a0cc887994bf3a62970a6bc30.zip
gcc-ec097612bcc64d6a0cc887994bf3a62970a6bc30.tar.gz
gcc-ec097612bcc64d6a0cc887994bf3a62970a6bc30.tar.bz2
alpha.h (FUNCTION_ARG_PADDING): Remove.
* config/alpha/alpha.h (FUNCTION_ARG_PADDING): Remove. * config/alpha/unicosmk.h: Don't #undef FUNCTION_ARG_PADDING. From-SVN: r68714
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/alpha.h7
-rw-r--r--gcc/config/alpha/unicosmk.h6
3 files changed, 5 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5741fea..7f7da35 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-30 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/alpha/alpha.h (FUNCTION_ARG_PADDING): Remove.
+ * config/alpha/unicosmk.h: Don't #undef FUNCTION_ARG_PADDING.
+
2003-06-30 Wolfgang Bangerth <bangerth@dealii.org>
* doc/sourcebuild.texi: Don't reference gnats.html any more.
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 267d292..b9bc40f 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -1088,13 +1088,6 @@ extern int alpha_memory_latency;
#define FUNCTION_ARG_PASS_BY_REFERENCE(CUM, MODE, TYPE, NAMED) \
((MODE) == TFmode || (MODE) == TCmode)
-/* Specify the padding direction of arguments.
-
- On the Alpha, we must pad upwards in order to be able to pass args in
- registers. */
-
-#define FUNCTION_ARG_PADDING(MODE, TYPE) upward
-
/* For an arg passed partly in registers and partly in memory,
this is the number of registers used.
For args passed entirely in registers or entirely in memory, zero. */
diff --git a/gcc/config/alpha/unicosmk.h b/gcc/config/alpha/unicosmk.h
index 8b186f6..760329f 100644
--- a/gcc/config/alpha/unicosmk.h
+++ b/gcc/config/alpha/unicosmk.h
@@ -218,12 +218,6 @@ do { \
++(CUM).num_args; \
} while(0)
-/* We want the default definition for this.
- ??? In fact, we should delete the definition from alpha.h as it
- corresponds to the default definition for little-endian machines. */
-
-#undef FUNCTION_ARG_PADDING
-
/* An argument is passed either entirely in registers or entirely on stack. */
#undef FUNCTION_ARG_PARTIAL_NREGS