https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113601
Bug ID: 113601 Summary: avr: Wrong SRAM start for ATmega3208 and ATmega3209 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- ATmega3208/9 have SRAM from 0x3000 to 0x3fff, which is 4KiB. The hardware description in avr-mcus.def uses a start at 0x3800, which is not correct. This leads to a wrong -Tdata option when linking. As a work-around, pass -Tdata 0x803000 when linking, or fix the respective option in device-specs/specs-atmega3208/9.