From: David Edelsohn Date: Thu, 19 Jun 2003 05:41:36 +0000 (+0000) Subject: rs6000.c (init_cumulative_args): Limit CALL_LIBCALL to ABI_V4. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ddcc82638388f525429911195366828619b6f342;p=gcc.git rs6000.c (init_cumulative_args): Limit CALL_LIBCALL to ABI_V4. * config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL to ABI_V4. From-SVN: r68179 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 37386dc075f..96b22e23957 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-19 David Edelsohn + + * config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL + to ABI_V4. + 2003-06-18 Joseph S. Myers PR bootstrap/4068 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index f2ece833eff..5f7b361c955 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -3653,7 +3653,8 @@ init_cumulative_args (cum, fntype, libname, incoming, libcall) cum->fregno = FP_ARG_MIN_REG; cum->vregno = ALTIVEC_ARG_MIN_REG; cum->prototype = (fntype && TYPE_ARG_TYPES (fntype)); - cum->call_cookie = libcall ? CALL_LIBCALL : CALL_NORMAL; + cum->call_cookie = ((DEFAULT_ABI == ABI_V4 && libcall) + ? CALL_LIBCALL : CALL_NORMAL); cum->sysv_gregno = GP_ARG_MIN_REG; cum->stdarg = fntype && (TYPE_ARG_TYPES (fntype) != 0