This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PowerPC SVR4 ABI compliance fix
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Zack Weinberg <zack at codesourcery dot com>, Geoff Keating <geoffk at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Aldy Hernandez <aldyh at redhat dot com>
- Date: Wed, 21 Nov 2001 22:30:27 -0500
- Subject: Re: PowerPC SVR4 ABI compliance fix
This patch is REJECTED.
Your change:
+/* Return small structures in memory (as the AIX ABI requires). */
+#define MASK_AIX_STRUCT_RET 0x00400000
+#define MASK_AIX_STRUCT_RET_SET 0x00800000
collides with SUBTARGET_SWITCHES in sysv4.h:
#define MASK_NO_BITFIELD_WORD 0x00800000 /* Bitfields cannot cross
word boundaries */
The PowerPC port has run out of bits in target_flags and we need
to do something about it.
Why do we need MASK_FOO and MASK_FOO_SET (MULTIPLE, STRING, and
AIX_STRUCT)? Why do we need ALTIVEC_ABI as a target_flag instead of using
rs6000_current_abi?
David