bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/14406] New: Support .progmem<N>.data sections to work with GCC's


From: gjl at gcc dot gnu.org
Subject: [Bug ld/14406] New: Support .progmem<N>.data sections to work with GCC's PR49868
Date: Thu, 26 Jul 2012 10:58:26 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14406

             Bug #: 14406
           Summary: Support .progmem<N>.data sections to work with GCC's
                    PR49868
           Product: binutils
           Version: 2.23 (HEAD)
               URL: http://gcc.gnu.org/PR49868
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden
    Classification: Unclassified
            Target: avr


GCC's named address spaces like __flash1 will locate data to input section
.progmem.data1, see section "Limitations and Caveats" in

http://gcc.gnu.org/onlinedocs/gcc/Named-Address-Spaces.html 

The default linker script should support these sections so
that programmers can use the new address spaces and their
default sections without writing their own linker script files
that define .progmem<N>.data

Moreover, the default linker script should change
      *(.progmem*)
to
      *(.progmem)
      *(.progmem.*)

If .text overlaps with .progmem1 and .progmem1 in non-empty,
the linker should stop with an error.

If .progmem1 is empty, everything is fine.

Similar for all the other .progmem<N> sections and combinations.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]