
19 Nov
2010
19 Nov
'10
2:40 p.m.
Dear Reinhard Meyer,
In message 4CE676A6.10205@emk-elektronik.de you wrote:
Have you tried something in the line of:
/* Memory Definitions */
MEMORY { CODE (rx) : ORIGIN 0x00000000, LENGTH 0x0007E000 DATA (rw) : ORIGIN 0x40000000, LENGTH 0x00007A00 ENET (rw) : ORIGIN 0x7FE00000, LENGTH 0x00004000 }
I've looked into that, but didn't find a way to make it do what needs to be done,
*maybe* one can define several areas for CODE in the MEMORY section?
I don't think so. The "ld" documentation says: "Each memory region must have a distinct name within the `MEMORY' command."
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Cigarette, n.: A fire at one end, a fool at the other, and a bit of
tobacco in between.