Does gold support deadcode elimination on relocatable files

Cary Coutant ccoutant@google.com
Wed Dec 17 22:13:00 GMT 2008
> 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



More information about the Binutils mailing list