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

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

Re: [avr-gcc-list] Device specific linker scripts


From: Georg-Johann Lay
Subject: Re: [avr-gcc-list] Device specific linker scripts
Date: Sat, 19 Oct 2013 19:48:16 +0200
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

Dhakshinamoorthy, Soundararajan schrieb:
Hi all,

Can someone advise a way to support device specific linker scripts in
binutils for our AVR port. Currently bintuils is based on device
architecture and not device as i understand.

This is a reasonable approach. Just imagine what a device-specific approach would men in the ARM world, not taking into account different RAM and flash configurations...

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.

Maybe you can have a look at how the tools handle different RAM start: The compiler just calls the linker with Tdata to provide the information. This you could add a new column to ./gcc/config/avr/avr-mcus.def and use that information appropriately.

Johann




:)

Thanks, Soundararajan



------------------------------------------------------------------------


_______________________________________________ AVR-GCC-list mailing
list address@hidden https://lists.nongnu.org/mailman/listinfo/avr-gcc-list




reply via email to

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