On Fri, 4 Nov 2005, Parthasaradhi Nayani wrote:

> > Have you tried to remove "*(.vectors)" from the
> > linker script?
>
> Thanks for the reply. I was not sure if one could
> remove vector table from being linked.

Take a look into avr-libc's gcrt1.S. It has its own section.

> I am under the impression that vector table is a part and parcel of the
> startup file! Can you please post the exact linker script to eliminate
> vector table? Thank you very much.

No. It's just one line. I don't even know which avr architecture you use.

Example:
MCU: ATmega8 => avr4

cp /usr/local/avr/lib/ldscripts/avr4.x avr4-no-interrupts.x

delete the *(.vectors) line in avr4-no-interrupts.x

avr-gcc -Wl,--script=avr4-no-interrupts.x ..






                
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to