public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Anthony Green <green@cygnus.com>
To: egcs@cygnus.com
Subject: Re: GCC/ObjC enhancements, comments requested
Date: Tue, 10 Feb 1998 14:45:00 -0000	[thread overview]
Message-ID: <rl90rj6yoj.fsf@hoser.cygnus.com> (raw)
In-Reply-To: <19980207224541.37240@dot.cygnus.com>

rth@cygnus.com (Richard Henderson) writes:

> Which can be arbitrarily complex for any given target.  Sorry to
> rain on your parade, but the calling conventions for Sparc v9 and
> MIPS n64, to name two examples, are quite nasty (but efficient)
> when it comes to passing structs by value.  

Yes they are nasty, but manageable.  I don't believe n64 is really
that much more complex than n32, which I have working in libffi
(although GCC doesn't get it right).  Perhaps these ABIs seem nastier
than they really are when you are constrained by the framework GCC
provides for describing them.

I just read Scott's proposal.  It seems to me that adding this
facility to GCC is a mistake, and that it more properly belongs as a
seperate library.  Yes, GCC knows about the various calling
conventions, but it really doesn't provide anything you can take
advantage of to make the task of dynamic function call invocations any
simpler.

Try either libffi or Bruno Haible's library.

AG

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California

  parent reply	other threads:[~1998-02-10 14:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-07 18:11 Scott Christley
1998-02-07 22:43 ` Richard Henderson
1998-02-08 10:21   ` Scott Christley
1998-02-10  3:34     ` Richard Henderson
1998-02-10 14:45   ` Anthony Green [this message]
1998-02-08 10:27 ` Ovidiu Predescu
1998-02-08 13:12   ` Marcus G. Daniels
1998-02-08 22:32     ` Ovidiu Predescu
1998-02-09  7:43       ` Bruno Haible
1998-02-09 15:33         ` Ovidiu Predescu
     [not found]           ` <199802092146.WAA04183@halles.ilog.fr>
1998-02-10 10:58             ` Ovidiu Predescu
1998-02-10 14:45               ` Joern Rennecke
1998-02-09 11:31       ` Marcus G. Daniels
1998-02-10  3:34       ` Richard Henderson
1998-02-10 10:58         ` Ovidiu Predescu
1998-02-09 14:46     ` Anthony Green

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rl90rj6yoj.fsf@hoser.cygnus.com \
    --to=green@cygnus.com \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).