[llvm-bugs] [Bug 31564] New: llvm-readobj -r doesn't print symbol versions

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 6 07:55:58 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=31564

            Bug ID: 31564
           Summary: llvm-readobj -r doesn't print symbol versions
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

It will print

Relocations [
  Section (7) .rela.dyn {
    0x2000 R_X86_64_64 basename 0x0
    0x2008 R_X86_64_64 basename 0x0
    0x2010 R_X86_64_64 basename 0x0
  }
]


readelf prints

Relocation section '.rela.dyn' at offset 0x378 contains 3 entries:
    Offset             Info             Type               Symbol's Value 
Symbol's Name + Addend
0000000000002000  0000000100000001 R_X86_64_64            0000000000000000
basename at FBSD_1.1 + 0
0000000000002008  0000000200000001 R_X86_64_64            0000000000000000
basename at FBSD_1.0 + 0
0000000000002010  0000000300000001 R_X86_64_64            0000000000000000
basename at FBSD_1.1 + 0

Having the @ver would make it easier to write some tests.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170106/fe993dd4/attachment.html>


More information about the llvm-bugs mailing list