This is the mail archive of the binutils@sources.redhat.com 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: excessive stab information


> 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



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