public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113601] New: avr: Wrong SRAM start for ATmega3208 and ATmega3209
@ 2024-01-25 17:45 gjl at gcc dot gnu.org
  2024-01-25 17:45 ` [Bug target/113601] " gjl at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gjl at gcc dot gnu.org @ 2024-01-25 17:45 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-25 18:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-25 17:45 [Bug target/113601] New: avr: Wrong SRAM start for ATmega3208 and ATmega3209 gjl at gcc dot gnu.org
2024-01-25 17:45 ` [Bug target/113601] " gjl at gcc dot gnu.org
2024-01-25 17:54 ` cvs-commit at gcc dot gnu.org
2024-01-25 17:59 ` cvs-commit at gcc dot gnu.org
2024-01-25 18:02 ` cvs-commit at gcc dot gnu.org
2024-01-25 18:10 ` gjl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).