This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ARM interrupts
- From: Nick Clifton <nickc at redhat dot com>
- To: Richard dot Earnshaw at arm dot com
- Cc: eric2work at yahoo dot com, gcc at gnu dot org, ericdejong at gmx dot net
- Date: Thu, 23 Jan 2003 14:02:43 +0000 (GMT)
- Subject: Re: ARM interrupts
- References: <200301231111.h0NBB7h28534@pc960.cambridge.arm.com>
Hi Richard,
: Sorry, but this is just gross. Interrupt functions shouldn't even
: be trying to produce APCS-style framed entry sequences.
Agreed - although you can always use the -fomit-frame-pointer switch.
But then I also agree with your earlier comment about the fact that
you should not be using the compiler to create interrupt handlers in
the first place - they should be hand coded.
The point about the patch is that with it applied the compiler should
now produce working code for an interrupt handler, even if it is not
optimal.
Of course I have only inspected the code generated by eye - I have not
run it on real ARM hardware, hence I was asking Eric to test/verify
the patch before I applied it.
Cheers
Nick