This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: excessive stab information
- From: James Cownie <jcownie at etnus dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Nick Clifton <nickc at redhat dot com>, Ian Lance Taylor <ian at airs dot com>,Andy Chittenden <AChittenden at bluearc dot com>, binutils at sourceware dot org,Martin Dorey <mdorey at bluearc dot com>
- Date: Tue, 19 Apr 2005 17:27:28 +0100
- Subject: Re: excessive stab information
- Reply-to: James Cownie <jcownie at etnus dot com>
> That's not quite the same thing; this links debug information into the
> executable, then copies it elsewhere. Ian's describing an approach of
> leaving the debug info in unlinked object files and then referencing it
> from the executable - never including it at all.
>
> I believe Sun's compiler does this.
Sun do it with Stabs (see the .stabs.index section and related
documentation).
HP do it on HPUX with DWARF (which requires some additional linker magic
and sections to allow you to work out which object file any chunk of any
output section came from).
--
-- Jim
--
James Cownie <jcownie@etnus.com>
Etnus, LLC. +44 117 9071438
http://www.etnus.com