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: Fw: Does ld removes uncalled functions from final exe ?


"Valery Pykhtin" <pykhtin@prosoft.ural.ru> writes:

> > option -gc-sections ingnored.

I think you need --gc-sections (note two leading dashes).

Ben


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