diff mbox

[AVR] Fix PR50652

Message ID 4E8EF965.4020205@gjlay.de
State New
Headers show

Commit Message

Georg-Johann Lay Oct. 7, 2011, 1:06 p.m. UTC
Fix of wrong data_section_start for ATmega164A.

Ok?

Johann

	PR target/50652
	* config/avr/avr-mcus.def (AVR_MCU): Set .data_section_start of
	atmega164a to 0x100.

Comments

Denis Chertykov Oct. 7, 2011, 5:59 p.m. UTC | #1
2011/10/7 Georg-Johann Lay <avr@gjlay.de>:
> Fix of wrong data_section_start for ATmega164A.
>
> Ok?
>
> Johann
>
>        PR target/50652
>        * config/avr/avr-mcus.def (AVR_MCU): Set .data_section_start of
>        atmega164a to 0x100.
>

Approved.

Denis.
Georg-Johann Lay Oct. 10, 2011, 8:41 a.m. UTC | #2
Backported to 4.6 branch:

http://gcc.gnu.org/viewcvs?view=revision&revision=179738

Johann

	PR target/50652
	Backport from Mainline r179737.
	* config/avr/avr-devices.c (avr_mcu_types): Set
	.data_section_start of atmega164a to 0x100.
diff mbox

Patch

Index: config/avr/avr-mcus.def
===================================================================
--- config/avr/avr-mcus.def	(revision 179594)
+++ config/avr/avr-mcus.def	(working copy)
@@ -117,7 +117,7 @@  AVR_MCU ("atmega16a",            ARCH_AV
 AVR_MCU ("atmega161",            ARCH_AVR5, "__AVR_ATmega161__",         0, 0, 0x0060, "m161")
 AVR_MCU ("atmega162",            ARCH_AVR5, "__AVR_ATmega162__",         0, 0, 0x0100, "m162")
 AVR_MCU ("atmega163",            ARCH_AVR5, "__AVR_ATmega163__",         0, 0, 0x0060, "m163")
-AVR_MCU ("atmega164a",           ARCH_AVR5, "__AVR_ATmega164A__",        0, 0, 0x0060, "m164a")
+AVR_MCU ("atmega164a",           ARCH_AVR5, "__AVR_ATmega164A__",        0, 0, 0x0100, "m164a")
 AVR_MCU ("atmega164p",           ARCH_AVR5, "__AVR_ATmega164P__",        0, 0, 0x0100, "m164p")
 AVR_MCU ("atmega165",            ARCH_AVR5, "__AVR_ATmega165__",         0, 0, 0x0100, "m165")
 AVR_MCU ("atmega165a",           ARCH_AVR5, "__AVR_ATmega165A__",        0, 0, 0x0100, "m165a")