This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Difference between object file and archive


On Fri, Oct 15, 2004 at 09:23:43AM +0200, Meulendijks, J. wrote:

> OK. That's clear but for example I have a section reset and I use this section
> in the linkerscript like:
> .reset : { *(.reset) }
 
> So then I using it (I thought) but when I look in the .map file it's
> not there!  Why??

Do you referecnce anything inside the section? My guess is that you
don't so the linker has thrown away the whole section. Its not used ==
its not needed.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]