This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH] PPC: Correct SYSV ABI libcall handling
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 17 Jun 2003 15:52:37 -0400
- Subject: Re: PATCH] PPC: Correct SYSV ABI libcall handling
- References: <200306171516.55093@enzo.bigblue.local>
@@ -3470,7 +3471,8 @@ function_arg (cum, mode, type, named)
{
if (abi == ABI_V4
&& cum->nargs_prototype < 0
- && type && (cum->prototype || TARGET_NO_PROTOTYPE))
+ && (cum->call_cookie & CALL_LIBCALL) == 0
+ && (cum->prototype || TARGET_NO_PROTOTYPE))
{
/* For the SPE, we need to crxor CR6 always. */
if (TARGET_SPE_ABI)
Why is it safe to remove the test of "type" above? It is completely
subsumed by call_cookie?
David