How to add a new target in binutils ?
Cary Coutant
ccoutant@google.com
Thu Sep 20 18:42:00 GMT 2012
>> I tried the Gold first, but found it has been bounded to the binutils,
>> and can't be compiled separately. so I tried to port the bintuils as a
>> whole.
>
> Although gold is part of the binutils, it does not use BFD. So to
> port gold it would suffice to just change the top level configure and
> make files.
There are some dependencies on binutils and gas in the test suite:
TEST_READELF = $(top_builddir)/../binutils/readelf
TEST_OBJDUMP = $(top_builddir)/../binutils/objdump
TEST_CXXFILT = $(top_builddir)/../binutils/cxxfilt
TEST_STRIP = $(top_builddir)/../binutils/strip-new
TEST_AR = $(top_builddir)/../binutils/ar
TEST_NM = $(top_builddir)/../binutils/nm-new
TEST_AS = $(top_builddir)/../gas/as-new
But those are only for a few specific tests and can probably be worked
around fairly easily. There's nothing in gold itself that depends on
binutils or BFD.
-cary
More information about the Binutils
mailing list