This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Separate debug info in gold, ld and objcopy
- From: Ian Lance Taylor <iant at google dot com>
- To: Vladimir Simonov <sv at sw dot ru>
- Cc: binutils at sourceware dot org
- Date: Mon, 13 Apr 2009 12:24:07 -0700
- Subject: Re: Separate debug info in gold, ld and objcopy
- References: <49E33C23.6060205@sw.ru>
Vladimir Simonov <sv@sw.ru> writes:
> The main goal of gold is linking speedup. In real life
> it is necessary(and suitable) to keep debug info separated
> from executable. As I see, neither gold nor ld
> do not provide possibility to write debug info into
> separate file (and attach appropriate gnu_debulink
> section to executable) during linking. Of course, this
> may be implemented via objcopy but it slow downs linking.
> Especially debug version of large C++ applications.
>
> I see several solutions:
> 1. Implement possibility to write debug info into separate
> file both in gold and in ld.
> 2. Implement possibility to write debug info into separate
> file as some extension in gold.
> 3. Implement objcopy in gold sources tree (hope its
> performance will also be much better with respect to
> "classical" objcopy).
>
> Do you have any plans in this direction?
I don't personally have any plans in this direction at present, but I
completely agree that these would be useful features to have.
Ian