This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
32bit Calling conventions on linux/ppc.
- From: Joslwah <joslwah at gmail dot com>
- To: gcc at gnu dot org
- Date: Thu, 16 Nov 2006 17:32:08 +0800
- Subject: 32bit Calling conventions on linux/ppc.
Looking at the Linux 32bit PowerPC ABI spec, it appears to me that
floats in excess of those that are passed in registers are supposed to
be promoted to doubles and passed on the stack. Examing the resulting
stack from a gcc generated C call it appears they are passed as
floats.
Can someone confirm/refute this, or else point me to an ABI that says
that they should be passed as floats.
Thanks very much.