[objdump] Print the PT_INTERP and PT_DYNAMIC correcctly.

llvm-svn: 175659
This commit is contained in:
Michael J. Spencer 2013-02-20 20:18:10 +00:00
parent 4d87d45a05
commit 1366a61242
1 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,12 @@ void printProgramHeaders(
case ELF::PT_GNU_EH_FRAME: case ELF::PT_GNU_EH_FRAME:
outs() << "EH_FRAME "; outs() << "EH_FRAME ";
break; break;
case ELF::PT_INTERP:
outs() << " INTERP ";
break;
case ELF::PT_DYNAMIC:
outs() << " DYNAMIC ";
break;
default: default:
outs() << " UNKNOWN "; outs() << " UNKNOWN ";
} }