2016-06-20 16:36 GMT+03:00 Georg-Johann Lay <a...@gjlay.de>:
> This patch allows to specify -Tdata and -Ttext on the command line for MCUs
> where the specs file sets these options.  For -mmcu=atmega88 for example,
> the respective specs reads:
>
> *link_data_start:
>         -Tdata 0x800100
>
> and the patch changes this to
>
> *link_data_start:
>         %{!Tdata:-Tdata 0x800100}
>
> Same for *link_text_start and -Ttext.
>
> Ok for trunk and backport?
>
> Johann
>
>
>         PR target/30417
>         * config/avr/gen-avr-mmcu-specs.c (print_mcu):
>         [*link_data_start]: Wrap -Tdata into %{!Tdata:...}.
>         [*link_text_start]: Wrap -Ttext into %{!Ttext:...}.
>

Ok. Please apply.

Reply via email to