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 ?


----- Original Message -----
From: "Valery Pykhtin" <pykhtin@prosoft.ural.ru>
To: "Nick Clifton" <nickc@redhat.com>
Cc: <binutils-help@sources.redhat.com>
Sent: Tuesday, September 07, 2004 11:08 AM
Subject: Re: Fw: Does ld removes uncalled functions from final exe ?


> Hi Nick,
>
> :) of course I tried it. Now I have downloaded 2.15 release. The situation
> is still the same except for the ld currently displays message:
>
> option -gc-sections ingnored.
>
> My ld command line: gcc -Wl,-gc-sections test.o testfx.o
>
> I did a little investigation of this. eldlink.c at 8430 line:
> || elf_hash_table (info)->dynamic_sections_created)
>
> is true. Info says that -Bdynamic option is enabled by default but
actually
> I don't know to what dynamic_sections_created relate.
>
> What can I try now ?
>
>
> > Did you try it ?
> > The Pentium 4 is one of the supported platforms.  If you are having
> > difficulties I would suggest that you try upgradign to the latest
> > binutils release (2.15).
>



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