2014-05-16 14:02 GMT+04:00 Georg-Johann Lay <a...@gjlay.de>:
> Am 05/15/2014 09:55 AM, schrieb Senthil Kumar Selvaraj:
>
>> On Wed, May 14, 2014 at 12:56:54PM +0200, Rainer Orth wrote:
>>>
>>> Georg-Johann Lay <a...@gjlay.de> writes:
>>>
>>>> Or what about simply that, which works for me:
>>>>
>>>>
>>>> Index: config/avr/avr.h
>>>> ===================================================================
>>>> --- config/avr/avr.h    (revision 210276)
>>>> +++ config/avr/avr.h    (working copy)
>>>> @@ -512,7 +512,11 @@ extern const char *avr_device_to_sp8 (in
>>>>       %{!fenforce-eh-specs:-fno-enforce-eh-specs} \
>>>>       %{!fexceptions:-fno-exceptions}"
>>>>
>>>> +#ifdef HAVE_AS_AVR_LINK_RELAX_OPTION
>>>> +#define ASM_SPEC "%:device_to_as(%{mmcu=*:%*}) %{mrelax:-mlink-relax} "
>>>> +#else
>>>>   #define ASM_SPEC "%:device_to_as(%{mmcu=*:%*}) "
>>>> +#endif
>>>>
>>>>   #define LINK_SPEC "\
>>>>   %{mrelax:--relax\
>>>
>>>
>>> Better yet something like
>>>
>>> #ifdef HAVE_AS_AVR_LINK_RELAX_OPTION
>>> #define LINK_RELAX_SPEC "%{mrelax:-mlink-relax} "
>>> #else
>>> #define LINK_RELAX_SPEC ""
>>> #endif
>>>
>>> #define ASM_SPEC "%:device_to_as(%{mmcu=*:%*}) " LINK_RELAX_SPEC
>>>
>>
>> Does this look ok? I don't have commit access, so could someone commit
>> this please?
>
>
> Hi, looks fine to me.  Thanks


I'm on vacation until the 24-may.

Denis.

Reply via email to