bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/10957] New: Missing option to really print section+offset


From: rth at gcc dot gnu dot org
Subject: [Bug ld/10957] New: Missing option to really print section+offset
Date: 14 Nov 2009 02:31:10 -0000

While printing 

msmpeg4.c:1072: relocation truncated to fit: blah against '.bss'

is normally helpful to users, it occasionally gets in the way when you're
trying to work out exactly what relocation went awry.  Especially since at
this point local symbols have been resolved, so all you see is .bss, not
the original source symbol foo which lives in the .bss section.

At this point, it may be more helpful to see

msmpeg4.c:(.text+0xbe2): relocation truncated to fit: blah against '.bss'

than it is the original line number.  With this an experienced programmer
can at least use objdump/readelf and match up the offsets to see what's
gone wrong.

-- 
           Summary: Missing option to really print section+offset
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: rth at gcc dot gnu dot org
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10957

------- 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]