Re: [Patch, avr] Add atmel ata5782 and ata5831 devices

2014-07-16 Thread Denis Chertykov
2014-07-14 15:44 GMT+04:00 S, Pitchumani pitchuman...@atmel.com:
 -Original Message-
 From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-ow...@gcc.gnu.org]
 On Behalf Of Denis Chertykov
 Sent: Friday, July 11, 2014 9:53 PM
 To: S, Pitchumani
 Cc: gcc-patches@gcc.gnu.org; Georg-Johann Lay
 Subject: Re: [Patch, avr] Add atmel ata5782 and ata5831 devices

 2014-07-11 12:50 GMT+04:00 S, Pitchumani pitchuman...@atmel.com:
  This patch adds supports for Atmel's ata5782 and ata5831 devices.
 
  These devices ISA matches with AVR5 architecture except that text
 section
  start for these two devices is 0x8000. By default 0x0 is used as the
 text
  start address. This patch adds a device attribute for text start and
 that
  is passed to Linker via -Ttext option.
 
  If OK, could someone commit please?
 
  Regards,
  Pitchumani
 
  2014-07-11  Pitchumani Sivanupandi  pitchuman...@atmel.com
 
  * config/avr/avr-arch.h (avr_mcu_t): Add text section start
 attribute.
  * config/avr/avr-devices.c (AVR_MCU): Same.
  (avr_mcu_types): add text start value to end of device list.
  * config/avr/avr-mcus.def: Add text section start for all devices.
  (ata5782): Add new avr5 device.
  (ata5831): Same.
  * config/avr/avr-tables.opt: Regenerate.
  * config/avr/avr.h: Add declaration for text section start handler.
  (EXTRA_SPEC_FUNCTIONS): Add text section start handler to SPEC
 functions.
  (LINK_SPEC): Include text section start handler to linker spec.
  * config/avr/driver-avr.c (avr_device_to_text_start): New function
 to
  pass -Ttext option to linker if the text section start for the
 device is
  not zero.
  * config/avr/t-multilib: Regenerate.
  * doc/avr-mmcu.texi: Regenerate.
 

 Committed.

 Hi Denis,

 Thanks.

 It seems you missed to include gcc/doc/avr-mmcu.texi file changes.

Thank you for checking.

Committed.


Denis.


RE: [Patch, avr] Add atmel ata5782 and ata5831 devices

2014-07-14 Thread S, Pitchumani
 -Original Message-
 From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-ow...@gcc.gnu.org]
 On Behalf Of Denis Chertykov
 Sent: Friday, July 11, 2014 9:53 PM
 To: S, Pitchumani
 Cc: gcc-patches@gcc.gnu.org; Georg-Johann Lay
 Subject: Re: [Patch, avr] Add atmel ata5782 and ata5831 devices
 
 2014-07-11 12:50 GMT+04:00 S, Pitchumani pitchuman...@atmel.com:
  This patch adds supports for Atmel's ata5782 and ata5831 devices.
 
  These devices ISA matches with AVR5 architecture except that text
 section
  start for these two devices is 0x8000. By default 0x0 is used as the
 text
  start address. This patch adds a device attribute for text start and
 that
  is passed to Linker via -Ttext option.
 
  If OK, could someone commit please?
 
  Regards,
  Pitchumani
 
  2014-07-11  Pitchumani Sivanupandi  pitchuman...@atmel.com
 
  * config/avr/avr-arch.h (avr_mcu_t): Add text section start
 attribute.
  * config/avr/avr-devices.c (AVR_MCU): Same.
  (avr_mcu_types): add text start value to end of device list.
  * config/avr/avr-mcus.def: Add text section start for all devices.
  (ata5782): Add new avr5 device.
  (ata5831): Same.
  * config/avr/avr-tables.opt: Regenerate.
  * config/avr/avr.h: Add declaration for text section start handler.
  (EXTRA_SPEC_FUNCTIONS): Add text section start handler to SPEC
 functions.
  (LINK_SPEC): Include text section start handler to linker spec.
  * config/avr/driver-avr.c (avr_device_to_text_start): New function
 to
  pass -Ttext option to linker if the text section start for the
 device is
  not zero.
  * config/avr/t-multilib: Regenerate.
  * doc/avr-mmcu.texi: Regenerate.
 
 
 Committed.

Hi Denis,

Thanks.

It seems you missed to include gcc/doc/avr-mmcu.texi file changes.

Regards,
Pitchumani


Re: [Patch, avr] Add atmel ata5782 and ata5831 devices

2014-07-11 Thread Denis Chertykov
2014-07-11 12:50 GMT+04:00 S, Pitchumani pitchuman...@atmel.com:
 This patch adds supports for Atmel's ata5782 and ata5831 devices.

 These devices ISA matches with AVR5 architecture except that text section
 start for these two devices is 0x8000. By default 0x0 is used as the text
 start address. This patch adds a device attribute for text start and that
 is passed to Linker via -Ttext option.

 If OK, could someone commit please?

 Regards,
 Pitchumani

 2014-07-11  Pitchumani Sivanupandi  pitchuman...@atmel.com

 * config/avr/avr-arch.h (avr_mcu_t): Add text section start attribute.
 * config/avr/avr-devices.c (AVR_MCU): Same.
 (avr_mcu_types): add text start value to end of device list.
 * config/avr/avr-mcus.def: Add text section start for all devices.
 (ata5782): Add new avr5 device.
 (ata5831): Same.
 * config/avr/avr-tables.opt: Regenerate.
 * config/avr/avr.h: Add declaration for text section start handler.
 (EXTRA_SPEC_FUNCTIONS): Add text section start handler to SPEC functions.
 (LINK_SPEC): Include text section start handler to linker spec.
 * config/avr/driver-avr.c (avr_device_to_text_start): New function to
 pass -Ttext option to linker if the text section start for the device is
 not zero.
 * config/avr/t-multilib: Regenerate.
 * doc/avr-mmcu.texi: Regenerate.


Committed.

Denis.