From ec097612bcc64d6a0cc887994bf3a62970a6bc30 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 30 Jun 2003 17:30:32 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/alpha/alpha.h | 7 ------- gcc/config/alpha/unicosmk.h | 6 ------ 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5741fea13d52..7f7da3503991 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-30 Kazu Hirata + + * config/alpha/alpha.h (FUNCTION_ARG_PADDING): Remove. + * config/alpha/unicosmk.h: Don't #undef FUNCTION_ARG_PADDING. + 2003-06-30 Wolfgang Bangerth * 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 267d292a17da..b9bc40fa6000 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 8b186f6258d8..760329ff01b1 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 -- 2.47.2