This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping: Re: [patch, avr] Add flash size to device info and make wrap around default


2016-11-28 10:17 GMT+03:00 Pitchumani Sivanupandi
<pitchumani.sivanupandi@microchip.com>:
> On Saturday 26 November 2016 12:11 AM, Denis Chertykov wrote:
>>
>> I'm sorry for delay.
>>
>> I have a problem with the patch:
>> (Stripping trailing CRs from patch; use --binary to disable.)
>> patching file avr-arch.h
>> (Stripping trailing CRs from patch; use --binary to disable.)
>> patching file avr-devices.c
>> (Stripping trailing CRs from patch; use --binary to disable.)
>> patching file avr-mcus.def
>> Hunk #1 FAILED at 62.
>> 1 out of 1 hunk FAILED -- saving rejects to file avr-mcus.def.rej
>> (Stripping trailing CRs from patch; use --binary to disable.)
>> patching file gen-avr-mmcu-specs.c
>> Hunk #1 succeeded at 215 (offset 5 lines).
>> (Stripping trailing CRs from patch; use --binary to disable.)
>> patching file specs.h
>> Hunk #1 succeeded at 58 (offset 1 line).
>> Hunk #2 succeeded at 66 (offset 1 line).
>
>
> There are changes in avr-mcus.def after this patch is submitted.
> Now, I have incorporated the changes and attached the resolved patch.
>
> Regards,
> Pitchumani
>
> gcc/ChangeLog
>
> 2016-11-09  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
>
>     * config/avr/avr-arch.h (avr_mcu_t): Add flash_size member.
>     * config/avr/avr-devices.c(avr_mcu_types): Add flash size info.
>     * config/avr/avr-mcu.def: Likewise.
>     * config/avr/gen-avr-mmcu-specs.c (print_mcu): Remove hard-coded prefix
>     check to find wrap-around value, instead use MCU flash size. For 8k
> flash
>     devices, update link_pmem_wrap spec string to add --pmem-wrap-around=8k.
>     * config/avr/specs.h: Remove link_pmem_wrap from LINK_RELAX_SPEC and
>     add to linker specs (LINK_SPEC) directly.

Committed.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]