bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/4643] linker scripts do not accept symbols in MEMORY section


From: axelheider at gmx dot de
Subject: [Bug ld/4643] linker scripts do not accept symbols in MEMORY section
Date: 23 Jun 2007 12:05:43 -0000

------- Additional Comments From axelheider at gmx dot de  2007-06-23 12:05 
-------
I've installed BinUtils 2.19 and now there is some kind of work around available
that does the job quite well. Define things once in the MEMORY section and then
refer to it everywhere else using ORIGIN() and LENGTH()

-----------------------------------------------------------
MEMORY {
    FLASH : ORIGIN = 0x10000, LENGTH = 0x10000
    RAM   : ORIGIN = 0x80000, LENGTH = 0x10000
}
FLASH_START = ORIGIN(FLASH);
FLASH_END   = LENGTH(FLASH);
RAM_START   = ORIGIN(RAM);
RAM_END     = LENGTH(RAM);
-----------------------------------------------------------

Setting this issue to FIXED.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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