I am getting error messages for ep register ( __attribute__
((interrupt_handler)) when I compile following sample program:
void swnmi() __attribute__ ((interrupt_handler));
void swnmi()
{
...
..
}
main()
{
..
..
}
main.o (.text+0xea): In function 'swnmi': undefined reference to '__ep'
main.o (.text+0xee): In function 'swnmi': undefined reference to '__ep'
collect2: Id returned 1 exit status
I added CPPFLAGS += -mprolog-function -mno-long-calls in makefile but
error remains the same. I think I need to add some patches? If I have
to, could anybody tell which one?
Thanks,
-Vijay