This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Fw: Does ld removes uncalled functions from final exe ?
- From: Ben Elliston <bje at au dot ibm dot com>
- To: binutils at sources dot redhat dot com
- Date: 23 Sep 2004 16:35:09 +1000
- Subject: Re: Fw: Does ld removes uncalled functions from final exe ?
- References: <004e01c49499$01f46ec0$9926a8c0@prosoft.ural.ru>
"Valery Pykhtin" <pykhtin@prosoft.ural.ru> writes:
> > option -gc-sections ingnored.
I think you need --gc-sections (note two leading dashes).
Ben