This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Does gold support deadcode elimination on relocatable files
On Wed, Dec 17, 2008 at 2:12 PM, Cary Coutant <ccoutant@google.com> wrote:
>> Just wondering if the current gold support deadcode elimination with
>> -r option. If not, any plan on that?
>
> There is work underway to do deadcode elimination, but not during a
> relocatable link.
Cary,
Could you show the reason why you don't have this for a relocatable file?
Thanks,
Neo
>
>> BTW, I got a missing header file when build the gold from CVS.
>>
>> options.cc:33:27: error: ../bfd/bfdver.h: No such file or directory
>
> This is a generated file; try building binutils before building gold.
>
> -cary
>
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!