[PATCH 00/13] Go closures, libffi, and the static chain

Richard Henderson rth@redhat.com
Thu Nov 6 13:17:00 GMT 2014


On 11/06/2014 02:10 PM, Lynn A. Boger wrote:
> Aren't there cases where the static chain register is needed?  How does that
> work if it could be trashed on a plt call?

No.  At the moment the static chain is only used for nested functions, which
are local to the translation unit, and are therefore locally bound, and
therefore never go through the plt.


r~



More information about the Gcc-patches mailing list