This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Difference between object file and archive
- From: Andrew Lunn <andrew at lunn dot ch>
- To: "Meulendijks, J." <Meulendijks at WT dot TNO dot NL>
- Cc: 'Andrew Lunn' <andrew at lunn dot ch>,"'ecos-discuss at ecos dot sourceware dot org'" <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 15 Oct 2004 10:08:25 +0200
- Subject: Re: [ECOS] Difference between object file and archive
- References: <6B80E71673E6D611AC1D0008C7F37BC203F8E5F5@wt15.wt.tno.nl>
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