While trying to read the DWARF2 info in a partially linked object file I encountered a bug in the compilation unit headers: The abbrev_offset member is always zero. This causes the .debug_info parser to interpret the attributes incorrectly and I encounter symptoms, e.g. "Could not find abbrev number 9690". Somehow the linker does not adjust the abbrev_offset in the compilation unit header when it concatenates the .debug_abbrev sections of object files. Unfortunatly I don't have the knowledge to point to where this should happen.
-- Summary: abbrev_offset in DWARF2 info is set incorrectly (zero) by ld Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: bjarne dot jensen at se dot transport dot bombardier dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=6761 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils