diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2013-02-20 20:18:10 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2013-02-20 20:18:10 +0000 |
commit | 8a3a1deed8e7b18b18dea73cb4245a8ef7c46a4f (patch) | |
tree | 520b0a62d05b6308b9c436062dd238f10c69f3b4 /tools | |
parent | 6aecad1074817fae6453bb78ac0d917954dfe9bf (diff) |
[objdump] Print the PT_INTERP and PT_DYNAMIC correcctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-objdump/ELFDump.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/llvm-objdump/ELFDump.cpp b/tools/llvm-objdump/ELFDump.cpp index 13f8f6f492..c1d35f195f 100644 --- a/tools/llvm-objdump/ELFDump.cpp +++ b/tools/llvm-objdump/ELFDump.cpp @@ -39,6 +39,12 @@ void printProgramHeaders( case ELF::PT_GNU_EH_FRAME: outs() << "EH_FRAME "; break; + case ELF::PT_INTERP: + outs() << " INTERP "; + break; + case ELF::PT_DYNAMIC: + outs() << " DYNAMIC "; + break; default: outs() << " UNKNOWN "; } |