From 8a3a1deed8e7b18b18dea73cb4245a8ef7c46a4f Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Wed, 20 Feb 2013 20:18:10 +0000 Subject: [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 --- tools/llvm-objdump/ELFDump.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools') 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 "; } -- cgit v1.2.3-18-g5258