[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Device specific linker scripts
From: |
Weddington, Eric |
Subject: |
Re: [avr-gcc-list] Device specific linker scripts |
Date: |
Sun, 20 Oct 2013 16:14:54 +0000 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Erik Christiansen
> Sent: Sunday, October 20, 2013 12:09 AM
> To: address@hidden
> 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
- [avr-gcc-list] Device specific linker scripts, Dhakshinamoorthy, Soundararajan, 2013/10/18
- Re: [avr-gcc-list] Device specific linker scripts, Georg-Johann Lay, 2013/10/19
- Re: [avr-gcc-list] Device specific linker scripts, Erik Christiansen, 2013/10/20
- Re: [avr-gcc-list] Device specific linker scripts,
Weddington, Eric <=
- Re: [avr-gcc-list] Device specific linker scripts, Georg-Johann Lay, 2013/10/20
- Re: [avr-gcc-list] Device specific linker scripts, Erik Christiansen, 2013/10/22
- Re: [avr-gcc-list] Device specific linker scripts, Dhakshinamoorthy, Soundararajan, 2013/10/23
- Re: [avr-gcc-list] Device specific linker scripts, Erik Christiansen, 2013/10/23