This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [3.3 regression?] flag_hosted and back-ends
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: dewar at gnat dot com (Robert Dewar)
- Cc: Richard dot Earnshaw at arm dot com, gcc at gcc dot gnu dot org, geoffk at geoffk dot org, thorpej at wasabisystems dot com
- Date: Sat, 15 Mar 2003 18:23:56 +0000
- Subject: Re: [3.3 regression?] flag_hosted and back-ends
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> Using trampolines is a viable approach if you are prepared to deal with
> the issues it raises -- and lets avoid the discussion about security holes
> and enabling execution of the stack...
I forgot to add that one of the issues is the availability in the ABI of a
spare call-clobbered register where the closure can be passed. On the ARM
there isn't really a spare register, so we have to use the intra-procedure
scratch register and hope that nothing else happens to need it.