This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Static Chain Register on iOS AArch64
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Earnshaw <Richard dot Earnshaw at foss dot arm dot com>, Stephen Cross <scross at scross dot co dot uk>, gcc at gcc dot gnu dot org
- Date: Fri, 05 Jun 2015 08:55:22 -0700
- Subject: Re: Static Chain Register on iOS AArch64
- Authentication-results: sourceware.org; auth=none
- References: <CADC9Eqps-Y5=7jBMsuGO7wd-U7QH2M4NUUZmGgZ89p5X5D_jjQ at mail dot gmail dot com> <55702B1F dot 9040707 at foss dot arm dot com>
On 06/04/2015 03:40 AM, Richard Earnshaw wrote:
The static chain register is pretty much private to a translation unit...
That was true when the static chain was restricted to trampolines. Since Go
has started using it for cross-translation-unit closures, that makes it part of
the ABI.
I did raise this issue at the start of the year, when I submitted the patches.
At the time, folks seemed ok with the additional restriction.
r~