This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: FW: libffi on HP-UX
- From: Anthony Green <green at redhat dot com>
- To: "Boehm, Hans" <hans dot boehm at hp dot com>
- Cc: java at gcc dot gnu dot org, Steve Ellcey <sje at cup dot hp dot com>
- Date: Tue, 15 Feb 2005 14:44:26 -0800
- Subject: Re: FW: libffi on HP-UX
- Organization: Red Hat, Inc.
- References: <65953E8166311641A685BDF71D865826058CC4@cacexc12.americas.cpqcorp.net>
On Tue, 2005-02-15 at 14:37 -0800, Boehm, Hans wrote:
> My impression is that most of the client code presumes that char,
> short, and int are returned as int, and everything else is returned
> using the actual data size. Effectively, the C "integral promotions"
> are applied to the return type. Is that the intended convention?
Yes, that's right, although in hindsight it was probably a mistake.
> If that's unclear, can we make it the intended convention?
If that's what will work best for HP-UX and doesn't require changes for
other ports then I'm ok with that.
AG