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
- From: Cary Coutant <ccoutant at google dot com>
- To: Neo Jia <neojia at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 17 Dec 2008 14:12:34 -0800
- Subject: Re: Does gold support deadcode elimination on relocatable files
- References: <5d649bdb0812171323m7ceb7a5wf8080326d664ef5f@mail.gmail.com>
> 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.
> 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