bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/615] New: readelf gives warnings when dumping .debug_loc g


From: hjl at lucon dot org
Subject: [Bug binutils/615] New: readelf gives warnings when dumping .debug_loc generated by gcc 4.0
Date: 22 Dec 2004 18:22:43 -0000

address@hidden gcc]$ ./xgcc -B./ -g -O  -c foo.c
address@hidden gcc]$
/export/build/gnu/binutils-debug/build-i686-linux/binutils/readelf -w foo.o >
/dev/null
readelf: Warning: .debug_loc section has more comp units than .debug_info 
section
readelf: Warning: assuming that the pointer size is 4, from the last comp unit
in .debug_info

I don't think readelf should dump .debug_loc section directly. It should
use DW_AT_location in .debug_info to dump .debug_loc. One way to do it is to
get a list of DW_AT_location in .debug_info first.

-- 
           Summary: readelf gives warnings when dumping .debug_loc generated
                    by gcc 4.0
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl at lucon dot org
                CC: bug-binutils at gnu dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=615

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]