[llvm-readelf] - Allow dumping of the .dynamic section even if there is no PT_DYNAMIC...
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 24 May 2019 11:12:50 +0000 (11:12 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 24 May 2019 11:12:50 +0000 (11:12 +0000)
commitf835fcf412c92eac20bf2110e13c49fc86d0c55c
tree8d7807c5fee4950b50ec16d22b233cb51d0b4716
parentb7f2a2b4c0ec40e17371c5b15d4e92b39b196c5c
[llvm-readelf] - Allow dumping of the .dynamic section even if there is no PT_DYNAMIC header.

It is now possible after D61937 was landed and was discussed
in it's review comments. It is not consistent with GNU, which
does not output .dynamic section content in this case for
no visible reason.

Differential revision: https://reviews.llvm.org/D62179

llvm-svn: 361630
llvm/test/tools/llvm-readobj/elf-dynamic-no-pt-dynamic.test
llvm/tools/llvm-readobj/ELFDumper.cpp