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?


2008/11/27 Eric Botcazou <ebotcazou@adacore.com>:
>> No, that information is generated by the --print-gc-sections linker
>> command line switch.
>
> Look into the "Discarded input sections" section of the map file...
>
> --
> Eric Botcazou
>


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?

Best Regards
PRC
Dec 26, 2008


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