diff options
author | David Edelsohn <edelsohn@gnu.org> | 2003-06-19 05:41:36 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2003-06-19 01:41:36 -0400 |
commit | ddcc82638388f525429911195366828619b6f342 (patch) | |
tree | f1528c7ab12796fa6646ed0a9087ea12d16a25d3 /gcc | |
parent | f37ceab97f4620a4074fbd8206cbcad633130d89 (diff) | |
download | gcc-ddcc82638388f525429911195366828619b6f342.zip gcc-ddcc82638388f525429911195366828619b6f342.tar.gz gcc-ddcc82638388f525429911195366828619b6f342.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 37386dc..96b22e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-19 David Edelsohn <edelsohn@gnu.org> + + * config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL + to ABI_V4. + 2003-06-18 Joseph S. Myers <jsm@polyomino.org.uk> PR bootstrap/4068 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index f2ece83..5f7b361 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 |