This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: M68K C Interrupt Handler


"Holland, Alexander MHX" wrote:
> 
> Thanks to everyone who responded to this issue. I tried every function
> attribute to generate an m68k C interrupt function or a function with no
> prologue - "interrupt", "interrupt_handler", "naked", "get naked", etc. -
> but none worked.

 Sorry to say it only now, but none of these should work... Not any of them
is implemented for m68k in the plain vanilla GCC sources. The ISR-patches Ken
De Smet attached, must be added to the sources and the GCC built again with
them. Only after that the '__attribute__((interrupt))' will be recognized...

 The list in the clipped doc was taken from my own fixed manual, AFAIK no one
has added the ISR-support for FR30 and MN10300 into the official GCC sources.
I only have my own additions for them which nicely work 'on paper'...

 The 'wrapper'-method you used and Peter Barada suggested is the only way
with the 'official' GCC for 'm68k'. Implementing the attributes could however
be needed.

Cheers, Kai



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]