Generate Function without Prologue and Epilogue
Ian Lance Taylor
iant@google.com
Wed Sep 5 19:35:00 GMT 2012
On Wed, Sep 5, 2012 at 12:02 PM, David Brown <david.brown@hesbynett.no> wrote:
> On 05/09/12 19:36, Ian Lance Taylor wrote:
>>
>> The way GCC is structured, it requires some support from every
>> backend. A bit of machinery could be moved into target-independent
>> code, but most of the work is backend-specific. It's not hard,
>> though.
>
> Is it possible to put the common part into the target-independent code, and
> leave the backend-specific parts unimplemented for targets that don't (yet)
> support it? That way there would be no need for someone to write the
> backend code for targets where "naked" is not important.
Yes.
Ian
More information about the Gcc-help
mailing list