[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
This commit is contained in:
Michael J. Spencer 2013-02-20 20:18:10 +00:00
parent 6aecad1074
commit 8a3a1deed8

View File

@ -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 ";
}