As Bill Westfield wrote: > In the case where a size-limited program is only using one interrupt > (this is "usbtiny" on an ATtiny2313, and avr-gcc 4.3.2), is there a > good way to get an "abbreviated" vector table instead of having > vectors for everything?
I think the best way is to clone gcrt1.S into your project, and modify it to your needs. Make sure to spell the gcrt1.o file as the very first object file in your (-nostartfiles) linker commandline. The way Jan Waclawek described might work as well. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev