> -----Original Message----- > From: avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org > [mailto:avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org] On > Behalf Of Erik Christiansen > Sent: Sunday, October 20, 2013 12:09 AM > To: avr-gcc-list@nongnu.org > 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 mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list