bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/636] New: readelf doesn't handle base address right for lo


From: hjl at lucon dot org
Subject: [Bug binutils/636] New: readelf doesn't handle base address right for location list
Date: 4 Jan 2005 22:20:58 -0000

address@hidden tmp]$ /usr/gcc-4.0/bin/gcc -O2 -g leb.c
leb.c: In function \uffff\uffff\uffffmain\uffff\uffff\uffff:
leb.c:72: warning: pointer targets in passing argument 1 of
\uffff\uffff\uffffoutput_sleb128\uffff\uffff\uffff differ in signedness
leb.c:81: warning: pointer targets in passing argument 1 of
\uffff\uffff\uffffoutput_sleb128\uffff\uffff\uffff differ in signedness
address@hidden tmp]$ readelf -wo a.out Contents of the .debug_loc section:

    Offset   Begin    End      Expression
    00000000 00000000 00000003 (DW_OP_reg5)
    00000000 00000003 0000003f (DW_OP_reg0)
    00000000 00000040 00000057 (DW_OP_reg0)
  <End of list>
...

With this patch:

http://sources.redhat.com/ml/binutils/2005-01/msg00024.html

I got
address@hidden tmp]$
/export/build/linux/binutils-debug/build-x86_64-linux/binutils/readelf -wo a.out
Contents of the .debug_loc section:

    Offset   Begin    End      Expression
    00000000 00400500 00400503 (DW_OP_reg5)
    00000000 00400503 0040053f (DW_OP_reg0)
    00000000 00400540 00400557 (DW_OP_reg0)
  <End of list>
...

-- 
           Summary: readelf doesn't handle base address right for location
                    list
           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=636

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