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

            Bug ID: 41987
           Summary: Support more dynamic types
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: beginner
          Severity: enhancement
          Priority: P
         Component: llvm-readobj
          Assignee: unassignedb...@nondot.org
          Reporter: ruppre...@google.com
                CC: jh7370.2...@my.bristol.ac.uk, llvm-bugs@lists.llvm.org

llvm-readobj/llvm-readelf does not print names for all dynamic field types,
e.g.

$ readelf -d bin/clang | head

Dynamic section at offset 0x21078 contains 128 entries:
  Tag        Type                         Name/Value
 0x000000000000001d (RUNPATH)            Library runpath: [$ORIGIN/../lib]
 0x0000000000000001 (NEEDED)             Shared library:
[libLLVMAArch64CodeGen.so.9svn]
...

$ llvm-readelf -d bin/clang | head
Dynamic section at offset 0x21078 contains 128 entries:
  Tag                Type                 Name/Value
  0x000000000000001d (RUNPATH)            $ORIGIN/../lib
  0x0000000000000001 (NEEDED)             Shared library:
[libLLVMAArch64CodeGen.so.9svn]
...

Note the missing "Library runpath:" for DT_RUNPATH.

Of course, that's just one example. The full list from GNU is here:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=binutils/readelf.c;h=c31a5c1266b7bb62a485895b01b49e1f832ade35;hb=HEAD#l9944

(Note: the above is using D62256 patched in to get GNU output)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to