This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gas emits incorrect .debug_line prologue header length for 64-bit DWARF
- From: Ed Maste <emaste at freebsd dot org>
- To: binutils at sourceware dot org
- Date: Thu, 27 Feb 2014 13:03:23 -0500
- Subject: gas emits incorrect .debug_line prologue header length for 64-bit DWARF
- Authentication-results: sourceware.org; auth=none
The header_length field is supposed to be the number of bytes
following the field to the first byte of the line number program, but
dwarf2dbg.c:out_debug_line has hard-coded constants that are correct
only for 32-bit DWARF.
I've fixed it in FreeBSD here in SVN r256692:
http://svnweb.freebsd.org/base?view=revision&revision=256692
-Ed