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]

Separate debug info in gold, ld and objcopy


Hello Ian and others,

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?


Best regards Vladimir Simonov


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