Bill Westfield schrieb:
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?
Jörg, would it help to make ./crt1/gcrt1.S:__vectors weak so that
user can provide his own vector table?
With 1.7.1 an error will occur if one tries to:
main.o: In function `__vectors':
main.c:(.vectors+0x0): multiple definition of `__vectors'
./bin/../lib/gcc/avr/4.7.0/../../../../avr/lib/avr5/crtm168.o:../../../../../../source/avr-libc-1.7.1/crt1/gcrt1.S:52:
first defined here
./bin/../lib/gcc/avr/4.7.0/../../../../avr/bin/ld.exe: Disabling
relaxation: it will not work with multiple definitions
collect2.exe: error: ld returned 1 exit status
Johann
_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev