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: Mixing 32-bit and 64-bit DWARF2/3 sections


On Mon, Nov 08, 2004 at 12:54:30PM -0800, James E Wilson wrote:
> Unfortunately, the way that SGI extended DWARF2 caused problems, as it 
> resulted in ambiguous DWARF info, so the DWARF3 committee defined a 
> different way that is self descriptive.  But since this happened after 
> Irix6 had already been released, and SGI could not break backwards 
> compatibility with Irix6, N64 still uses the non-standard 64-bit DWARF 
> format that SGI invented.  And gcc uses this non-standard 64-bit DWARF 
> format for all mips64 targets, for consistency, and to conform with the ABI.

This is not correct.

% grep DWARF_INITIAL_LENGTH_SIZE *
iris.h:#define DWARF_INITIAL_LENGTH_SIZE DWARF_OFFSET_SIZE
%

Only Irix 5 and Irix 6 use the SGI DWARF format.  mips64-linux has been
using the standard DWARF3 format for a long while.

-- 
Daniel Jacobowitz


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