From owner-freebsd-ppc Mon Aug 19 5:58:39 2002 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 6985A37B400 for ; Mon, 19 Aug 2002 05:58:37 -0700 (PDT) Received: from gt3.OntheNet.com.au (nt.com.au [203.13.70.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDF4F43E6A for ; Mon, 19 Aug 2002 05:56:58 -0700 (PDT) (envelope-from peterg@ptree32.com.au) Received: from ptree32.com.au (CPE-203-45-246-67.qld.bigpond.net.au [203.45.246.67]) by gt3.OntheNet.com.au (8.11.4/8.11.4) with ESMTP id g7JD0kg44981; Mon, 19 Aug 2002 23:01:01 +1000 (EST) Message-ID: <3D60EF61.8469C94D@ptree32.com.au> Date: Mon, 19 Aug 2002 23:15:13 +1000 From: Peter Grehan X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: Joshua LeVasseur Cc: freebsd-ppc@FreeBSD.ORG Subject: Re: freebsd-ppc: gcc's SysV ABI and parameter passing References: <200208180001.UAA09144@makai.watson.ibm.com> <1029694558.9422.501.camel@i30pc32> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ppc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Josh, > A kernel need not maintain ABI compatibility with user land. > Kernel-user communication takes place via well defined interfaces. And > if third party modules are compiled for cooperation with the kernel > proper, they are usually compiled and linked against the kernel via the > kernel's own tool chain. So I think it appropriate to add a > kernel-friendly ABI to gcc (or command line switches in the spirit of > gcc's many other ABI-altering command line switches). I think it's a little premature. For starters, I think you'll be hard-pressed to find any instances of the 32-bit struct passing issue in the FreeBSD kernel. And, if it can be isolated to the kernel, it shouldn't be too hard to do experiments to work out if there is anything to be gained by modifying the kernel ABI. later, Peter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message