>> *(.rodata) >> *(.rodata*) > > > Not all the readonly data ends up in .rodata. Some of it ends up in other > sections (the * is just a wildcard match). This is an area of the compiler Don't quote me on this, but I _believe_ C++ code may generate stuff in segments named .rodata-something. I vigorously avoid C++ in embedded projects, so I don't see it a lot. Note, the syntax above is _not_ redundant. It places ".rodata" without suffix first in the image, followed by any ".rodatasomething" data. -- -- Lewin A.R.W. Edwards (http://www.zws.com/) Learn how to develop high-end embedded systems on a tight budget! http://www.amazon.com/exec/obidos/ASIN/0750676094/zws-20
Message
Re: [lpc2100] More ld script questions..
2004-01-22 by Lewin A.R.W. Edwards