Mixing 32-bit and 64-bit DWARF2/3 sections
Daniel Jacobowitz
drow@false.org
Mon Nov 8 23:50:00 GMT 2004
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
More information about the Gcc
mailing list