From: Richard Earnshaw <Richard.Earnshaw@foss.arm.com>
To: Florian Weimer <fweimer@redhat.com>, Jeff Law via Gcc <gcc@gcc.gnu.org>
Cc: Paul Koning <paulkoning@comcast.net>, Iain Sandoe <iain@sandoe.co.uk>
Subject: Re: Help with an ABI peculiarity
Date: Tue, 11 Jan 2022 11:57:32 +0000 [thread overview]
Message-ID: <211611bc-cdfa-70a7-e1fe-c35aba63f024@foss.arm.com> (raw)
In-Reply-To: <877db80yuv.fsf@oldenburg.str.redhat.com>
On 10/01/2022 08:38, Florian Weimer via Gcc wrote:
> * Jeff Law via Gcc:
>
>> Most targets these days use registers for parameter passing and
>> obviously we can run out of registers on all of them. The key
>> property is the size/alignment of the argument differs depending on if
>> it's pass in a register (get promoted) or passed in memory (not
>> promoted). I'm not immediately aware of another ABI with that
>> feature. Though I haven't really gone looking.
>
> I think what AArch64 Darwin does is not compatible with a GCC extension
> that allows calling functions defined with a prototype without it (for
> pre-ISO-C compatibility). Given that, anyone defining an ABI in
> parallel with a GCC implementation probably has paused, reconsidered
> what they were doing, and adjusted the ABI for K&R compatibility.
>
> Thanks,
> Florian
>
Not having a prototype was deprecated in C89. One would hope that after
33 years we could move on from that.
R.
next prev parent reply other threads:[~2022-01-11 11:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-07 21:06 Iain Sandoe
2022-01-07 21:55 ` Paul Koning
2022-01-08 16:35 ` Jeff Law
2022-01-10 8:38 ` Florian Weimer
2022-01-10 13:27 ` Iain Sandoe
2022-01-10 13:46 ` Florian Weimer
2022-01-11 12:53 ` Eric Gallager
2022-01-11 11:57 ` Richard Earnshaw [this message]
2022-01-10 10:46 ` Richard Sandiford
2022-01-10 13:06 ` Iain Sandoe
2022-01-20 22:32 ` Richard Sandiford
2022-01-21 11:19 ` Iain Sandoe
2022-01-21 12:22 ` Richard Sandiford
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=211611bc-cdfa-70a7-e1fe-c35aba63f024@foss.arm.com \
--to=richard.earnshaw@foss.arm.com \
--cc=fweimer@redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=iain@sandoe.co.uk \
--cc=paulkoning@comcast.net \
/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).