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.
Do we have any plan for that? If not, I would like to take a look.
>
>> 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.
The problem is fixed.
Thanks,
Neo
>
> -cary
>
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!