This is the mail archive of the
mailing list for the binutils project.
Re: Mixing 32-bit and 64-bit DWARF2/3 sections
- From: Daniel Jacobowitz <drow at false dot org>
- To: James E Wilson <wilson at specifixinc dot com>
- Cc: Mark Kettenis <kettenis at gnu dot org>, echristo at redhat dot com,seufer at csv dot ica dot uni-stuttgart dot de, gdb at sources dot redhat dot com,gcc at gcc dot gnu dot org, binutils at sources dot redhat dot com
- Date: Mon, 8 Nov 2004 18:45:29 -0500
- Subject: Re: Mixing 32-bit and 64-bit DWARF2/3 sections
- References: <200411071428.iA7ES7Fx003013@elgar.sibelius.xs4all.nl> <418FDD06.firstname.lastname@example.org>
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.