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: unassig...@sourceware.org
        ReportedBy: g...@gcc.gnu.org
                CC: eric.wedding...@atmel.com
    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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to