This is the mail archive of the binutils@sourceware.org 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: Can LD give warnings about the non-static functions defined but never used explicitly?


"Pan ruochen" <panruochen@gmail.com> writes:

> Well, my linker does not recognize the option --print-gc-sections, and
> the map file created by the option -Map does not list the "Discarded
> input sections"
>
> $mips-elf-ld -v
> GNU ld version 2.15
>
> Is it too old?

--print-gc-sections was added in binutils 2.18.

Ian


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