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


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

GCC 2.8.1 for PowerPC/EABI: interrupt handler


Hello,

Is "interrupt" pragma supported for PowerPC/EABI target in GCC 2.8.1?

It seems like I can not force the compiler to generate prologue/epilogue
code (gcc doe not generate anything):

#pagma interrupt
void myHandler( void )
{
 ...
}

GCC command line:
$ gcc -c -ansi -g -gdwarf -O0 -fno-omit-frame-pointer -mcpu=505
-mno-relocatable -meabi -o file.o file.c

If "interrupt" pragma is not supported, then is it possible to use other
GCC possibilities instead (like command line options, fnction modifiers,
...)?

Thanks in advance,
Yaroslav