[gcc r12-10114] AVR: target/113601 - Fix wrong data start for ATmega3208 and ATmega3209.
Georg-Johann Lay
gjl@gcc.gnu.org
Thu Jan 25 18:02:06 GMT 2024
https://gcc.gnu.org/g:f4015b8434a506a70f941a26d563d2de1dcbcf2f
commit r12-10114-gf4015b8434a506a70f941a26d563d2de1dcbcf2f
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Thu Jan 25 18:51:04 2024 +0100
AVR: target/113601 - Fix wrong data start for ATmega3208 and ATmega3209.
gcc/
PR target/113601
* config/avr/avr-mcus.def (atmega3208, atmega3209): Fix data_section_start.
(cherry picked from commit 6b678d8f96ad5ffb8de9e3f1f1694cb21d7a2c33)
Diff:
---
gcc/config/avr/avr-mcus.def | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/avr/avr-mcus.def b/gcc/config/avr/avr-mcus.def
index 1e12ab301704..d1d457c712fe 100644
--- a/gcc/config/avr/avr-mcus.def
+++ b/gcc/config/avr/avr-mcus.def
@@ -338,8 +338,8 @@ AVR_MCU ("atmega808", ARCH_AVRXMEGA3, AVR_ISA_RCALL, "__AVR_ATmega808__",
AVR_MCU ("atmega809", ARCH_AVRXMEGA3, AVR_ISA_RCALL, "__AVR_ATmega809__", 0x3c00, 0x0, 0x2000, 0x4000)
AVR_MCU ("atmega1608", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATmega1608__", 0x3800, 0x0, 0x4000, 0x4000)
AVR_MCU ("atmega1609", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATmega1609__", 0x3800, 0x0, 0x4000, 0x4000)
-AVR_MCU ("atmega3208", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATmega3208__", 0x3800, 0x0, 0x8000, 0x4000)
-AVR_MCU ("atmega3209", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATmega3209__", 0x3800, 0x0, 0x8000, 0x4000)
+AVR_MCU ("atmega3208", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATmega3208__", 0x3000, 0x0, 0x8000, 0x4000)
+AVR_MCU ("atmega3209", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATmega3209__", 0x3000, 0x0, 0x8000, 0x4000)
AVR_MCU ("atmega4808", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATmega4808__", 0x2800, 0x0, 0xc000, 0x4000)
AVR_MCU ("atmega4809", ARCH_AVRXMEGA3, AVR_ISA_NONE, "__AVR_ATmega4809__", 0x2800, 0x0, 0xc000, 0x4000)
/* Xmega, 64K < Flash <= 128K, RAM <= 64K */
More information about the Gcc-cvs
mailing list