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

           Summary: gold doesn't recognise modifiers on memory LENGTHs
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: i...@airs.com
        ReportedBy: patr...@motec.com.au


gold doesn't recognise modifiers on memory LENGTH attributes e.g.

MEMORY {
    flash (rx) :    ORIGIN = 0x00000000, LENGTH = 2M
    ram (wiax) :    ORIGIN = 0x20000000, LENGTH = 512k
}

error: syntax error, unexpected STRING, expecting ':'

I'm pretty sure bfd ld also supports mathematical expressions here such as 2 *
1024 * 1024.

Patrick

-- 
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
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to