Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2100] More ld script questions..

2004-01-22 by Robert Adsett

At 07:51 AM 1/22/04 -0500, you wrote:
>In the file <lpc2106-rom.ld>, from the file <lpc2106_gcc.zip> on the
>yahoo site..
>
>in the prog output section, there are these entries:
>
>         *(.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 
that is vary sparsely documented, at least I couldn't find much 
information.  Lewin?  anyone else?

>For reference, I've appended the linker script in its entirety.

I've got an updated version of that script at 
http://www.aeolusdevelopment.com/Articles/download.html.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

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.