This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Re: Fw: Does ld removes uncalled functions from final exe ?
- From: "Valery Pykhtin" <pykhtin at prosoft dot ural dot ru>
- To: "Nick Clifton" <nickc at redhat dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: Tue, 7 Sep 2004 14:49:39 +0600
- Subject: Re: Re: Fw: Does ld removes uncalled functions from final exe ?
- References: <016001c493fe$ccb53360$9926a8c0@prosoft.ural.ru> <413C68A2.3000206@redhat.com> <004801c49498$c6549bb0$9926a8c0@prosoft.ural.ru> <413D7210.5070604@redhat.com>
Hi Nick,
My platform is Pentium 4,
Red Hat Linux 9.0
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
GNU ld version 2.15
Linux run in VMWare under WinXP (I suppose there must be no difference).
As I understand to make -gc-sections option work I must turn on -Bstatic
option.
This works ! :)
Thank you for your patience,
Valery
> Hmm - what OS and execution environment are you using ? (I had assumed
> that you were using Linux).
> It is means that the sections needed for dynamic linking have been
> created. Dynmaic linking is linking that is performed when the
> executable is running, rather than at link time.