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

>     I can see a rodata.str1.4 section in one of the
> programs compiled with gcc for my Atmel AT91M40800
> (ARM7TDMI core) board. It's NOT a c++ project and it

I wonder what the difference is, then. If I build a C project (at least, 
the projects I have around here - several of which are _very_ 
complicated), I only get .rodata.

> which is what I did the first time I compiled my
> program and used only *(.rodata) in my linker command
> file).

Hmm. When I encountered this, the linker warned me that it was omitting 
sections. It did not silently discard them.

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