bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20849] New: [avr][avr_tiny] Don't put .rodata in RAM.


From: gjl at gcc dot gnu.org
Subject: [Bug ld/20849] New: [avr][avr_tiny] Don't put .rodata in RAM.
Date: Mon, 21 Nov 2016 13:47:50 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20849

            Bug ID: 20849
           Summary: [avr][avr_tiny] Don't put .rodata in RAM.
           Product: binutils
           Version: 2.27
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: gjl at gcc dot gnu.org
  Target Milestone: ---

The current linker description files for AVR_TINY like avrtiny.x et al are
locating .rodata into SRAM which is quite a waste for devices with up to 128
Bytes of SRAM.

As flash is accessible by LD instructions which read from RAM (provided an
offset of 0x4000 is added), a better approach is just to add 0x4000 to the VMA
of .rodata objects.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]