[PATCH] D35351: [llvm-readobj] - Teach readobj to print DT_FILTER dynamic tag in human readable form.

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 06:43:15 PDT 2017


emaste added a comment.

Should we instead switch DT_NEEDED to be like DT_AUXILIARY? This would be similar to the format used by binutils readelf and ELF Tool Chain readelf.

ELF Tool Chain:

  Dynamic section at offset 0xd30 contains 25 entries:
    Tag                Type                  Name/Value
   0x0000000000000001 NEEDED               Shared library: [libc.so.7]
   0x000000000000000e SONAME               Library soname: [libdl.so.1]

Binutils:

  Dynamic section at offset 0xd30 contains 25 entries:
    Tag        Type                         Name/Value
   0x0000000000000001 (NEEDED)             Shared library: [libc.so.7]
   0x000000000000000e (SONAME)             Library soname: [libdl.so.1]


https://reviews.llvm.org/D35351





More information about the llvm-commits mailing list