avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] startup file


From: Bernd Trog
Subject: Re: [avr-gcc-list] startup file
Date: Sun, 6 Nov 2005 02:48:15 -0800 (PST)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]