Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2100] More ld script questions..

2004-01-22 by Lewin A.R.W. Edwards

>>        *(.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

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.