This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: Re: Fw: Does ld removes uncalled functions from final exe ?


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.



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