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] |
Other format: | [Raw text] |
David: Check the machine code coming out for MyIRQHandler, I bet you find that it isn't coded as an interrupt handler because that attribute isn't supported for a lot of versions/targets of gcc. That's what the warning means. You're better off coding an irq "stub" around MyIRQHandler, written in assembly language. I can post examples if you want to go that route. It isn't hard, and it eliminates dependence on the interrupt attribute. b.g. On Fri, Feb 14, 2003 at 11:59:30AM -0700, David Jea wrote: > I am using arm-elf-gcc to compile sample code, > and got following message. > warning: 'interrupt' attribute directive ignored. > > in code, > void MyIRQHandler(void) __attribute__ ((interrupt("IRQ"))); > > Why there is a warning message, > I built arm-elf-gcc from gcc-2.95.3 and newlib-1.9.0 according to the > billgatiff.com. > > > Thank you. > > > David Jea > > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com > -- Bill Gatliff Professional embedded GNU training. http://billgatliff.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |