Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 23:15:13 +1000
From:      Peter Grehan <peterg@ptree32.com.au>
To:        Joshua LeVasseur <jtl-freebsd@bothan.net>
Cc:        freebsd-ppc@FreeBSD.ORG
Subject:   Re: freebsd-ppc: gcc's SysV ABI and parameter passing
Message-ID:  <3D60EF61.8469C94D@ptree32.com.au>
References:  <200208180001.UAA09144@makai.watson.ibm.com> <1029694558.9422.501.camel@i30pc32>

index | next in thread | previous in thread | raw e-mail

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



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D60EF61.8469C94D>