From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 14 07:07:51 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CADBD16A41C for ; Tue, 14 Jun 2005 07:07:51 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 982F443D49 for ; Tue, 14 Jun 2005 07:07:51 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j5E77okT055610; Tue, 14 Jun 2005 00:07:50 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j5E77oSl055609; Tue, 14 Jun 2005 00:07:50 -0700 (PDT) (envelope-from obrien) Date: Tue, 14 Jun 2005 00:07:50 -0700 From: "David O'Brien" To: Andreas Tobler Message-ID: <20050614070750.GB27141@dragon.NUXI.org> References: <42A7529F.4060001@pop.agri.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42A7529F.4060001@pop.agri.ch> X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Cc: freebsd-ppc@freebsd.org Subject: Re: gdb for fbsd-ppc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 07:07:51 -0000 On Wed, Jun 08, 2005 at 10:18:39PM +0200, Andreas Tobler wrote: > is there a gdb available for fbsd-pcc? Preferrably src. I see one in > src/gnu/usr.bin/gdb/gdb/, is this buildable and usable for ppc? Nope, not yet usable. > Also, do I need to make buildworld or is there a simpler way when I only > want gdb? Excuse me, still not that familiar with fbsd :) You can always try /usr/ports/devel/gdb6. -- -- David (obrien@FreeBSD.org) From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 14 07:17:13 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6C0916A41C for ; Tue, 14 Jun 2005 07:17:13 +0000 (GMT) (envelope-from toa@pop.agri.ch) Received: from smtp.messaging.ch (exsmtp01.agrinet.ch [81.221.250.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E32A43D48 for ; Tue, 14 Jun 2005 07:17:12 +0000 (GMT) (envelope-from toa@pop.agri.ch) Received: from EXVS01.mcis.agrinet.local ([81.221.248.1]) by smtp.messaging.ch with Microsoft SMTPSVC(6.0.3790.211); Tue, 14 Jun 2005 09:17:05 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 14 Jun 2005 09:17:04 +0200 Message-ID: <755798E8D0ED7C43B2169A3673E1EB5F59444D@EXVS01.mcis.agrinet.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: gdb for fbsd-ppc Thread-Index: AcVwr8u2cn3+WBGrQ9eiUc5MFZiPCAAAFvJ/ From: To: X-OriginalArrivalTime: 14 Jun 2005 07:17:05.0325 (UTC) FILETIME=[116485D0:01C570B1] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ppc@freebsd.org Subject: RE: gdb for fbsd-ppc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 07:17:13 -0000 Sorry for the mail format. WebMail. -----Original Message----- From: David O'Brien [mailto:obrien@freebsd.org] Sent: Tue 6/14/2005 9:07 AM To: toa@pop.agri.ch Cc: freebsd-ppc@freebsd.org Subject: Re: gdb for fbsd-ppc =20 On Wed, Jun 08, 2005 at 10:18:39PM +0200, Andreas Tobler wrote: > is there a gdb available for fbsd-pcc? Preferrably src. I see one in=20 > src/gnu/usr.bin/gdb/gdb/, is this buildable and usable for ppc? Nope, not yet usable. > Also, do I need to make buildworld or is there a simpler way when I = only=20 > want gdb? Excuse me, still not that familiar with fbsd :) You can always try /usr/ports/devel/gdb6. ----- I'm not that familar with ports yet. I have to learn this too. So I = grabed the gdb-cvs. In the meantime I have gdb-cvs port for fbsd-ppc running. I need to fix = a few issues, signal handling (if I can fix this ....?) and the like. = Also, I miserably fail if I run the testsuite. Due to missing altivec = support in the kernel I freeze my machine :) (G4 Aluminium Book) The tests do not look that bad. I can even debug my application, so I = already satisfied my primary motivation. =20 I come up with a few more questions later. Thanks, Andreas =20 From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 14 20:28:49 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 380E916A41C for ; Tue, 14 Jun 2005 20:28:49 +0000 (GMT) (envelope-from toa@pop.agri.ch) Received: from smtp.messaging.ch (exsmtp01.agrinet.ch [81.221.250.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id B617F43D55 for ; Tue, 14 Jun 2005 20:28:48 +0000 (GMT) (envelope-from toa@pop.agri.ch) Received: from [192.168.225.5] ([80.218.0.93]) by smtp.messaging.ch with Microsoft SMTPSVC(6.0.3790.211); Tue, 14 Jun 2005 22:28:46 +0200 Message-ID: <42AF3DF7.1080701@pop.agri.ch> Date: Tue, 14 Jun 2005 22:28:39 +0200 From: Andreas Tobler User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jun 2005 20:28:46.0730 (UTC) FILETIME=[AA6FB6A0:01C5711F] Subject: ABI convention for structs <=8 bytes? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 20:28:49 -0000 Hello all, I play around with gdb and libffi. And also gcc. My situation is the following, there are two implementation of the SYSv4 abi for PPC around in gcc. The first one, a draft, passes structs smaller or equal to 8 bytes in memory. The second one, the final one, passes them in registers. So far the fbsd ppc uses the final one. Fine. Except that it is a nightmare to build the resulting struct out of registers with alignment rules... OpenBSD, NetBSD and Linux PPC which rely on SYSV4 pass them in memory. AIX and Darwin do pass them also in memory but they have a different ABI. NetBSD passed it until 1.5 also in registers, according to the comments in gdb ppcnbsd-tdep.c. Now they use the 'broken' convention. I do not know more about why and how long this will be... My simple question is, will the fbsd-ppc ABI convention stay with the final SYSV4 ABI from Sun, or will there be a switch to the broken one? Thanks for comments, Andreas From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 15 17:21:07 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D51F16A41C for ; Wed, 15 Jun 2005 17:21:07 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A1B643D1D for ; Wed, 15 Jun 2005 17:21:07 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j5FHL6xg002083; Wed, 15 Jun 2005 10:21:06 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j5FHL6Le002082; Wed, 15 Jun 2005 10:21:06 -0700 (PDT) (envelope-from obrien) Date: Wed, 15 Jun 2005 10:21:06 -0700 From: "David O'Brien" To: Andreas Tobler Message-ID: <20050615172106.GA1675@dragon.NUXI.org> References: <42AF3DF7.1080701@pop.agri.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42AF3DF7.1080701@pop.agri.ch> X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Cc: freebsd-ppc@freebsd.org Subject: Re: ABI convention for structs <=8 bytes? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ppc@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 17:21:07 -0000 On Tue, Jun 14, 2005 at 10:28:39PM +0200, Andreas Tobler wrote: > My situation is the following, there are two implementation of the SYSv4 > abi for PPC around in gcc. The first one, a draft, passes structs > smaller or equal to 8 bytes in memory. The second one, the final one, > passes them in registers. > So far the fbsd ppc uses the final one. Fine. Except that it is a > nightmare to build the resulting struct out of registers with alignment > rules... > > OpenBSD, NetBSD and Linux PPC which rely on SYSV4 pass them in memory. > AIX and Darwin do pass them also in memory but they have a different ABI. > > NetBSD passed it until 1.5 also in registers, according to the comments > in gdb ppcnbsd-tdep.c. Now they use the 'broken' convention. I do not > know more about why and how long this will be... > > My simple question is, will the fbsd-ppc ABI convention stay with the > final SYSV4 ABI from Sun, or will there be a switch to the broken one? My plans are to stick to the official ELF (we do do the full SVR4 ABI). I think sticking to Darwin and OpenSolaris/PPC (in-progress) has merit. -- -- David (obrien@FreeBSD.org) From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 15 20:57:56 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DA0716A41F for ; Wed, 15 Jun 2005 20:57:56 +0000 (GMT) (envelope-from toa@pop.agri.ch) Received: from smtp.messaging.ch (exsmtp01.agrinet.ch [81.221.250.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB38B43D48 for ; Wed, 15 Jun 2005 20:57:55 +0000 (GMT) (envelope-from toa@pop.agri.ch) Received: from [192.168.225.5] ([80.218.0.93]) by smtp.messaging.ch with Microsoft SMTPSVC(6.0.3790.211); Wed, 15 Jun 2005 22:57:53 +0200 Message-ID: <42B0964E.4070703@pop.agri.ch> Date: Wed, 15 Jun 2005 22:57:50 +0200 From: Andreas Tobler User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org References: <42AF3DF7.1080701@pop.agri.ch> <20050615172106.GA1675@dragon.NUXI.org> In-Reply-To: <20050615172106.GA1675@dragon.NUXI.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Jun 2005 20:57:53.0806 (UTC) FILETIME=[E6301AE0:01C571EC] Subject: Re: ABI convention for structs <=8 bytes? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 20:57:56 -0000 David O'Brien wrote: > On Tue, Jun 14, 2005 at 10:28:39PM +0200, Andreas Tobler wrote: > >>My situation is the following, there are two implementation of the SYSv4 >>abi for PPC around in gcc. The first one, a draft, passes structs >>smaller or equal to 8 bytes in memory. The second one, the final one, >>passes them in registers. >>So far the fbsd ppc uses the final one. Fine. Except that it is a >>nightmare to build the resulting struct out of registers with alignment >>rules... >> >>OpenBSD, NetBSD and Linux PPC which rely on SYSV4 pass them in memory. >>AIX and Darwin do pass them also in memory but they have a different ABI. >> >>NetBSD passed it until 1.5 also in registers, according to the comments >>in gdb ppcnbsd-tdep.c. Now they use the 'broken' convention. I do not >>know more about why and how long this will be... >> >>My simple question is, will the fbsd-ppc ABI convention stay with the >>final SYSV4 ABI from Sun, or will there be a switch to the broken one? > > > My plans are to stick to the official ELF (we do do the full SVR4 ABI). I > think sticking to Darwin and OpenSolaris/PPC (in-progress) has merit. > So, for the non native English speaker: FreeBSD/PowerPC will use the final SYSV ABI (SYSTEM V APPLICATION BINARY INTERFACE PowerPC Processor Supplement) Dated: Part No: 802-3334-10 Revision A, September 1995 ? I was not speaking about ELF, only the ABI. I do not care about which one, the broken one would have been a bit more easy. The final one needs some more coding. Side note, Darwin uses a different ABI and I just mentioned it as a sample passing structs in mem and not in $R. OpenSolaris/PPC is completely new to me and I wonder what it target is. And my question based on the uncertainty what other *BSD targets are doing. Thanks for clarification, Regards, Andreas From owner-freebsd-ppc@FreeBSD.ORG Thu Jun 16 13:42:49 2005 Return-Path: X-Original-To: freebsd-ppc@FreeBSD.org Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 191EC16A41C for ; Thu, 16 Jun 2005 13:42:49 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mail27.sea5.speakeasy.net (mail27.sea5.speakeasy.net [69.17.117.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA87043D53 for ; Thu, 16 Jun 2005 13:42:48 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 27427 invoked from network); 16 Jun 2005 13:42:48 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 16 Jun 2005 13:42:48 -0000 Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j5GDgctg035295; Thu, 16 Jun 2005 09:42:42 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-ppc@FreeBSD.org Date: Thu, 16 Jun 2005 09:14:18 -0400 User-Agent: KMail/1.8 References: <42AF3DF7.1080701@pop.agri.ch> <20050615172106.GA1675@dragon.NUXI.org> In-Reply-To: <20050615172106.GA1675@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200506160914.19625.jhb@FreeBSD.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx Cc: David O'Brien Subject: Re: ABI convention for structs <=8 bytes? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 13:42:49 -0000 On Wednesday 15 June 2005 01:21 pm, David O'Brien wrote: > On Tue, Jun 14, 2005 at 10:28:39PM +0200, Andreas Tobler wrote: > > My situation is the following, there are two implementation of the SYSv4 > > abi for PPC around in gcc. The first one, a draft, passes structs > > smaller or equal to 8 bytes in memory. The second one, the final one, > > passes them in registers. > > So far the fbsd ppc uses the final one. Fine. Except that it is a > > nightmare to build the resulting struct out of registers with alignment > > rules... > > > > OpenBSD, NetBSD and Linux PPC which rely on SYSV4 pass them in memory. > > AIX and Darwin do pass them also in memory but they have a different AB= I. > > > > NetBSD passed it until 1.5 also in registers, according to the comments > > in gdb ppcnbsd-tdep.c. Now they use the 'broken' convention. I do not > > know more about why and how long this will be... > > > > My simple question is, will the fbsd-ppc ABI convention stay with the > > final SYSV4 ABI from Sun, or will there be a switch to the broken one? > > My plans are to stick to the official ELF (we do do the full SVR4 ABI). I > think sticking to Darwin and OpenSolaris/PPC (in-progress) has merit. I don't think you really read his e-mail. Linux, OpenBSD, NetBSD, Linux, A= IX=20 _and_ Darwin all use an ABI that passes these structs in memory rather than= =20 registers. The first three happen to use a specific draft ABI whereas Darw= in=20 and AIX use some other ABI that also passes them in memory. No one but=20 =46reeBSD uses the "final" ABI that tries to pass them in registers except= =20 perhaps for the OpenSolaris/PPC that you just mentioned. It would seem tha= t=20 even if Solaris goes the "final" route, we would still be in the vast=20 majority for ppc ABIs.=20 =2D-=20 John Baldwin =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org From owner-freebsd-ppc@FreeBSD.ORG Thu Jun 16 17:13:34 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDA7B16A41F; Thu, 16 Jun 2005 17:13:34 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 519DA43D53; Thu, 16 Jun 2005 17:13:34 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.41.231] (Not Verified[216.133.140.1]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 16 Jun 2005 13:26:58 -0400 From: John Baldwin To: freebsd-ppc@freebsd.org Date: Thu, 16 Jun 2005 13:14:02 -0400 User-Agent: KMail/1.8 References: <42AF3DF7.1080701@pop.agri.ch> <20050615172106.GA1675@dragon.NUXI.org> <200506160914.19625.jhb@FreeBSD.org> In-Reply-To: <200506160914.19625.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506161314.03497.jhb@FreeBSD.org> Cc: Subject: Re: ABI convention for structs <=8 bytes? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 17:13:34 -0000 On Thursday 16 June 2005 09:14 am, John Baldwin wrote: > On Wednesday 15 June 2005 01:21 pm, David O'Brien wrote: > > On Tue, Jun 14, 2005 at 10:28:39PM +0200, Andreas Tobler wrote: > > > My situation is the following, there are two implementation of the > > > SYSv4 abi for PPC around in gcc. The first one, a draft, passes structs > > > smaller or equal to 8 bytes in memory. The second one, the final one, > > > passes them in registers. > > > So far the fbsd ppc uses the final one. Fine. Except that it is a > > > nightmare to build the resulting struct out of registers with alignment > > > rules... > > > > > > OpenBSD, NetBSD and Linux PPC which rely on SYSV4 pass them in memory. > > > AIX and Darwin do pass them also in memory but they have a different > > > ABI. > > > > > > NetBSD passed it until 1.5 also in registers, according to the comments > > > in gdb ppcnbsd-tdep.c. Now they use the 'broken' convention. I do not > > > know more about why and how long this will be... > > > > > > My simple question is, will the fbsd-ppc ABI convention stay with the > > > final SYSV4 ABI from Sun, or will there be a switch to the broken one? > > > > My plans are to stick to the official ELF (we do do the full SVR4 ABI). > > I think sticking to Darwin and OpenSolaris/PPC (in-progress) has merit. > > I don't think you really read his e-mail. Linux, OpenBSD, NetBSD, Linux, > AIX _and_ Darwin all use an ABI that passes these structs in memory rather > than registers. The first three happen to use a specific draft ABI whereas > Darwin and AIX use some other ABI that also passes them in memory. No one > but FreeBSD uses the "final" ABI that tries to pass them in registers > except perhaps for the OpenSolaris/PPC that you just mentioned. It would > seem that even if Solaris goes the "final" route, we would still be in the > vast majority for ppc ABIs. s/majority/minority/ -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org