This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Separate debug info in gold, ld and objcopy


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]