]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/avr/gen-avr-mmcu-specs.c
Commit files forgotten in r242966.
authorPitchumani Sivanupandi <pitchumani.sivanupandi@microchip.com>
Wed, 30 Nov 2016 15:07:37 +0000 (15:07 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 30 Nov 2016 15:07:37 +0000 (15:07 +0000)
commitbdc5f9370cf1ee5b83cacc29fc737e458d173f70
treec34e502d697bb73c2a4ea76c52e0ff1ee11fb863
parent82c7aae6edb583e85bb944080e66fea784f2d105
Commit files forgotten in r242966.

2016-11-30  Pitchumani Sivanupandi  <pitchumani.sivanupandi@microchip.com>

Commit files forgotten in r242966.

* config/avr/avr-arch.h (avr_mcu_t) [flash_size]: New member.
* config/avr/avr-devices.c (avr_mcu_types): Add flash size info.
* 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 (LINK_RELAX_SPEC): Move link_pmem_wrap from
here...
(LINK_SPEC): ...to here.

From-SVN: r243033
gcc/ChangeLog
gcc/config/avr/avr-arch.h
gcc/config/avr/avr-devices.c
gcc/config/avr/gen-avr-mmcu-specs.c
gcc/config/avr/specs.h