[PATCH] inconsistent DWARF2 sections generated by --gdwarf2
Alan Modra
amodra@bigpond.net.au
Thu Nov 18 03:31:00 GMT 2004
On Mon, Nov 15, 2004 at 11:27:13AM -0800, Bob Wilson wrote:
> probably harmless for GDB, but it breaks readelf, which expects a
> one-to-one correspondence between .debug_info and .debug_line sections.
I would say that this is a readelf bug. The only reason that readelf
needs .debug_info when dumping .debug_line is to find the size of
addresses. readelf could guess that some other way.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list