Re: Device specific linker scripts

"Weddington, Eric" <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <F4ADC872C7AFBE49A9CEDE5C75191C274D876CC3@dvrmbx01>

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On
> Behalf Of Erik Christiansen
> Sent: Sunday, October 20, 2013 12:09 AM
> To: [email protected]
> Subject: Re: [avr-gcc-list] Device specific linker scripts
> 
> On 19.10.13 19:48, Georg-Johann Lay wrote:
> > Dhakshinamoorthy, Soundararajan schrieb:
> > >I am trying to update the linker scripts, with the start address of
> > >boot section, which is different for each device (or atleast i don't
> > >seem to find a way to compute it based on the information available
> > >in binutils )
> >
> > If such linker scripts shall become the default linker scripts then
> you need
> > 200+ emulations to support the 200+ devices.
> 
> One way to follow Johann's good advice might be to just use:
> 
>   .boot :
>   {
>     *(.boot_vectors)
>     *(.boot)
>   } > text
> 
> and have gcc set --section-start=.boot=0x12345
> That should suffice for now.

Avr-libc FAQ #17:
http://www.nongnu.org/avr-libc/user-manual/FAQ.html#faq_reloc_code

Eric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.